通达信薛斯指标+选股公式
源码如下:
VAR2X:=CLOSE*VOL;
VAR3X:=EMA((EMA(VAR2X,3)/EMA(VOL,3)+EMA(VAR2X,6)/EMA(VOL,6)
+EMA(VAR2X,12)/EMA(VOL,12)+EMA(VAR2X,24)/EMA(VOL,24))/4,13);
VAR4X:=EMA(CLOSE,9);
SUP:1.06*VAR3X COLORWHITE ;
SDN:VAR3X*0.94 COLORYELLOW;
LUP:EMA(VAR4X*1.14,5) COLORMAGENTA;
LDN:EMA(VAR4X*0.86,5) COLORGREEN;SHU:=LDN-REF(LDN,1);
XG:=IF(SHU>=0,1,2);
DRAWTEXT(XG=1,LDN-0.2,'+') COLORRED;
DRAWTEXT(XG=2,LDN-0.2,'-') COLORGREEN;
年线:MA(C,250);
支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORCYAN,LINETHICK2;
======================
最低价等于或者大于lup(紫颜色线)的选股预警公式 选股公式
VAR4X:=EMA(CLOSE,9);
LUP:=EMA(VAR4X*1.14,5);
XG:L>=LUP;
828566471.jpg
|