组合的铁龙长短线副图-精品通达信指标公式源码分享

通达信免费指标 12-26 阅读:14 评论:0

image.png

LC := REF(CLOSE,1);   

VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);   

RC := (CLOSE-LC)*VID;   

LONG := SUM(RC,0);   

DIFF := SMA(LONG,10,1);   

DEA := SMA(LONG,20,1);   

LON := (DIFF-DEA)*10,COLOR00DD00,LINETHICK1;   

LONMA : MA(LON,10),COLORFFFFFF,LINETHICK2;   

LONT : LON,COLORSTICK;   

VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);   

VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;   

MY:=VAR2*(1+VAR1);   

SHT:= MY;   

SHTMA:= MA(SHT,5);   

LONT1:=MA(LONT,3);   

STICKLINE(SHTMA>MY,LONT,LONT1,2,0),COLOR55FF22;   

STICKLINE(SHTMA<MY,LONT,LONT1,2,0),COLOR9900FF;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服