分时看盘 通达信主图/副图指标 源码 贴图
突破:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X =0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X 0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X =0,多方,突破,10,0),COLOR000099;
STICKLINE(A1X 0,空方,突破,10,0),COLOR00CC66;
牛熊线:EMA(C,120),COLORFF0080,LINETHICK1;
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB:=BETWEEN(C/AA,C+H,C-H);{www.9m8.cn 九毛八公式指标网}
DRAWTEXT(ISLASTBAR AND C REF(C,1),C,STRCAT('涨 ',CON2STR(C,2))),COLOR0000FF;
DRAWTEXT(ISLASTBAR AND C REF(C,1),C,STRCAT('跌 ',CON2STR(C,2))),COLOR00FF00;
分时顶:HHV(H,480),COLORRED,LINETHICK2;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2 0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
压力:MA(REF(HHV(C,30),1),2),COLORMAGENTA;
支撑:MA(REF(LLV(C,30),1),2),COLORBLUE;
DRAWICON(W4 AND COUNT(W4,5)=1,压力,9);
STICKLINE(FILTER(CROSS(C,REF(分时顶,1)),10) AND C REF(分时顶,1),C*0.99,C,1,0),COLORMAGENTA;