小心满仓(指标/源码 通达信 副图 贴图)
源码
M10:=EXPMA(C,10);
TJ:=IF(MAX(C,O)<=M10,RANGE(MAX(C,O)/M10,0.99,1.005),IF(MIN(C,O)>=M10,RANGE(MIN(C,O)/M10,0.999,1.01),DRAWNULL));
TJ1:=C=HHV(MAX(C,O),10) AND V=HHV(V,10);
STICKLINE(COUNT(CROSS(C,M10),BARSLAST(REF(EVERY(TJ,10),1) AND TJ1)+1)=1 AND CROSS(C,M10),0,65,0.5,0),COLOR0000CC;
DRAWTEXT(COUNT(CROSS(C,M10),BARSLAST(REF(EVERY(TJ,10),1) AND TJ1)+1)=1 AND CROSS(C,M10),62,'小心满仓'),COLOR0000CC;
2146577225.jpg
|