通达信开口绝杀主图指标公式
作者| 金股汇
ID:keystock
{金箍棒} 指标源代码:
MA6:=MA(CLOSE,6);
MA18:=MA(CLOSE,18);
MA3:=3*(MA18)-(2)*(MA6),LINETHICK1;
MA4:=3*(MA6)-(2)*(MA18),LINETHICK2;
M1:SUM((EMA((CLOSE+LOW)/(2),2))/(2.98),3);
M2:EMA(M1,21);
M30:MA(CLOSE,30);
VAR1:=(2)*(MA((LLV((CLOSE+LOW)/(2),8))*(1.1),13))-EMA((CLOSE+LOW)/(2),3)-((CLOSE+LOW)/(2))*(0.1);
VAR2:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1)*(5) >0),(POW((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5),2)))/(10));
VAR3:=IF((VAR2>0),VAR2-0,(-1));
DRAWTEXT(CROSS(VAR3,0) AND ((CLOSE+LOW)/(2)>MA((CLOSE+LOW)/(2),8)),(M30),'妖股'),LINETHICK2,COLORMAGENTA;
STICKLINE(CROSS(VAR3,0) AND ((CLOSE+LOW)/(2)>MA((CLOSE+LOW)/(2),8)),(LOW)*(0.99),(LOW)*(0.95),2,0),COLORYELLOW;
赞赏后加微信可私聊。©主编/微信号 (vipguba)
赞 (0)