以下是通达信混元牛股启动点副图/选股预警指标公式源码(无源码的请下载附件导入)
混元牛股启动点副图/选股预警 源码 通达信 贴图
最低:=LLV(LOW,50);
最高:=HHV(HIGH,50);
MTYU:=EMA((CLOSE-最低)/(最高-最低)*100,3);
K:=EMA(MTYU,8);
D:=MA(K,8);
DIF:=EMA(CLOSE,20)-EMA(CLOSE,120);
DEA:=EMA(DIF,13);
量柱:=(DIF-DEA)*2;
TJ1:=量柱>0 AND CROSS(DIF,DEA) AND DIF<0;
KD:=CROSS(K,D) AND K<=20;
TJ2:=EXIST(KD,15) AND K<=50;
TJ3:=K>D;
混元牛股:FILTER(TJ1 AND TJ2 AND TJ3,15);
DRAWTEXT(混元牛股,40,'混元牛股'),COLOR0000FF;
STICKLINE(混元牛股,50,38,3,0),COLORYELLOW ;
STICKLINE(混元牛股,38,12,4,0),COLORRED;
STICKLINE(混元牛股,12,0,5,0),COLORFFFFFF;
132066425.png
132133837.png
|