动能二号最新红趋势好蓝绿色快跑
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;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
TT赋值:(2*收盘价+开盘价+最高价+最低价)*100
输出主导动能:TT/TT的4日指数移动平均-1,COLORSTICK
FF赋值:主导动能
输出获利回吐:STICKLINE(FF<1日前的FFAND FF>0,0,FF,2,0),COLOR33DFDD
输出做空卖出:STICKLINE(FF<1日前的FFAND FF<0,0,FF,2,0),COLOR00DD00
输出空头回补:STICKLINE(FF>1日前的FFAND FF<0,0,FF,2,0),COLORFFAA00
输出做多买进:STICKLINE(FF>1日前的FFAND FF>0,0,FF,2,0),COLOR0000DD
0
HH10赋值:IF(C的有效数据周期数>60 AND 开盘价>0,FF=HHV(FF的绝对值,10),0)
HH20赋值:IF(C的有效数据周期数>60 AND 开盘价>0,FF=HHV(FF的绝对值,20),0)
HH30赋值:IF(C的有效数据周期数>60 AND 开盘价>0,FF=HHV(FF的绝对值,30),0)
HH50赋值:IF(C的有效数据周期数>60 AND 开盘价>0,FF=HHV(FF的绝对值,50),0)
HH100:=IF(C的有效数据周期数>60 AND 开盘价>0,FF=HHV(FF的绝对值,80),0)
动能级别赋值:(HH10+HH20+HH30+HH50+HH100)/50, 线宽为3
DRAWTEXT(HH100 ,FF的绝对值*1.1,'超强'),画白色