通达信就要涨停指标(源码)
LC := REF(CLOSE,1);
强度:SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100,LINETHICK1,COLORWHITE;
VAR1:=IF(DATE<1301231 AND DATE>900101,1,0);
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=SMA(VAR2,3,1);
乾A:SMA(VAR3,3,1)*VAR1/2+40,LINETHICK1,COLORMAGENTA;
乾B:SMA(VAR3,5,1)*VAR1/2+39,LINETHICK1, COLORYELLOW;
VAR4:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
坤A:SMA(VAR4,3,1)*VAR1/2,LINETHICK1;
坤B:SMA(VAR4,5,1)*VAR1/2,LINETHICK1,COLORCYAN;
VAR5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
做空能量线: SMA(VAR5,2,1),COLOR66FF00,LINETHICK2;
VAR6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
做多能量线:SMA(VAR6,5,1)-8,LINETHICK2,COLORRED;
DRAWTEXT((WINNER(CLOSE)-WINNER(OPEN))*100>=30 AND VOL/CAPITAL*100<=3,强度*1,'穿山甲'),LINETHICK1,COLORRED;
LB:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , 强度*1,'逃顶'),LINETHICK1,COLOR66FF00;
生命指数: EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4, STICK,COLORRED;
生命量能: IF(DATE<1301231,IF(生命指数>23.16,生命指数,0),0), CIRCLEDOT;
强势: 21;
生命分水岭: 10;
- 上一篇公式:通达信楼猪抄底选股指标(源码)
- 下一篇公式:通达信吸拉派落指标(源码)