把阴线买入公式改为选股公式
2020/4/20 18:44:07
公式编写说明:
安全线:EMA((CLOSE+HIGH+LOW)/3,55),COLORF4E202,{PRECIS2短线强度};A:=EMA(SLOPE(EMA(CLOSE,55),10)*15+CLOSE,2); SD:EMA(A,13),{COLORFF80FF,PRECIS2}, COLORRED,LINETHICK1;SK:=EMA(SLOPE(EMA(CLOSE,55),10)*15+CLOSE,2),COLOR83FFFF,{PRECIS2};VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);VAR12AA:=EMA(VAR11AA,5);九:=TROUGHBARS(3,10,1)<1 AND CROSS(VAR11AA,VAR12AA);DRAWICON(九>0,安全线,1 );DRAWTEXT(九,安全线,'九'),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,安全线,1 );DRAWTEXT(阴,安全线,'阴'),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,安全线,1);DRAWTEXT(剑,安全线,'剑'),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);
阴:=TROUGHBARS(3,5,1)<1 AND XX<YY;
VAR1X:=EMA(CLOSE,30)-EMA(CLOSE,17);
VAR2X:=EMA(VAR1X,5);
剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;
九 OR 剑 OR 阴;
看股吧公 式 www.kanguba.co m
其它股票公式列表