通达信主导动能级别副图指标 源码 附图
动级级别值越大,走势越强
TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;
主导动能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主导动能;
获利回吐:STICKLINE(FF REF(FF,1)AND FF 0,0,FF,2,0),COLOR33DFDD;
做空卖出:STICKLINE(FF REF(FF,1)AND FF 0,0,FF,2,0),COLOR00DD00;
空头回补:STICKLINE(FF REF(FF,1)AND FF 0,0,FF,2,0),COLORFFAA00;
做多买进:STICKLINE(FF REF(FF,1)AND FF 0,0,FF,2,0),COLOR0000DD;
0;
HH10:=IF(BARSCOUNT(C) 60 AND DYNAINFO(4) 0,FF=HHV(ABS(FF),10),0);
HH20:=IF(BARSCOUNT(C) 60 AND DYNAINFO(4) 0,FF=HHV(ABS(FF),20),0);
HH30:=IF(BARSCOUNT(C) 60 AND DYNAINFO(4) 0,FF=HHV(ABS(FF),30),0);
HH50:=IF(BARSCOUNT(C) 60 AND DYNAINFO(4) 0,FF=HHV(ABS(FF),50),0);
HH100:=IF(BARSCOUNT(C) 60 AND DYNAINFO(4) 0,FF=HHV(ABS(FF),80),0);
动能级别:(HH10+HH20+HH30+HH50+HH100)/50,LINETHICK3;
DRAWTEXT(HH100 ,ABS(FF)*1.1,'超强'),COLORWHITE;