能否将这一指标做成选股公式和预警公式
2019/12/8 18:47:26
公式编写说明:
VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);VAR12AA:=EMA(VAR11AA,5);九:=TROUGHBARS(3,10,1)<1 AND CROSS(VAR11AA,VAR12AA);DRAWICON(九>0,8,1 );DRAWTEXT(九,99,'九'),COLOR000000;VAR2A:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;VAR3A:=EMA(VAR2A,18);VAR4A:=VAR2A<-1;VAR5A:=VAR4A AND CROSS(VAR2A,VAR3A);追2:=VAR5A;追涨C:=IF(追2>0,0.8,0),STICK,COLORYELLOW,LINETHICK4 ;XX:=EMA(CLOSE,30)-EMA(CLOSE,17);YY:=EMA(XX,13);短针2:=TROUGHBARS(3,5,1)<1 AND XX<YY;阴:=IF(短针2>0,0.4,0),STICK,COLORF0F000,LINETHICK4;DRAWICON(阴>0,8,1 );DRAWTEXT(阴,85,'阴'),COLOR000000;N1:=30;N2:=17;N3:=5;N4:=6;VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);VAR2X:=EMA(VAR1X,N3);剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;DRAWICON(剑>0,8,1 );DRAWTEXT(剑,73,'剑'),COLOR000000;阴剑: 九 OR 剑 OR 阴;
公式源码回答:
VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);
VAR12AA:=EMA(VAR11AA,5);
九:=TROUGHBARS(3,10,1)<1 AND CROSS(VAR11AA,VAR12AA);
XX:=EMA(CLOSE,30)-EMA(CLOSE,17);
YY:=EMA(XX,13);
短针2:=TROUGHBARS(3,5,1)<1 AND XX<YY;
阴:=IF(短针2>0,0.4,0);
N1:=30;N2:=17;N3:=5;N4:=6;
VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
VAR2X:=EMA(VAR1X,N3);
剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;
阴剑: 九 OR 剑 OR 阴;
投股 票网 www.tou18. cn
股市公式下载推荐