手机端
当前位置:爱约股 > 公式技巧 > 将“五厘主图”主图中的选股大于0 做个预警

将“五厘主图”主图中的选股大于0 做个预警

五厘老师的主图感觉还不错,不过预警我还是不会,请老师帮忙! 源码: AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5; BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5; CC:=EMA(AA,2); DD:=EMA(BB,5); TJ0:=CROSS(CC,DD); 上:=EMA(C,3); 中:=EMA(C,5); 下:=EMA(中,5); TJ1:=CROSS(上,中); TJ2:=上>REF(上,1); X1:=(C+L+H)/3; BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10; EMA3:=EMA(C,3); TJ3:=BB5>1 AND EMA(X1,5)>REF(EMA(X1,3),1); XG:TJ1 AND TJ2 AND TJ0 AND TJ3; 预警条件:XG>0(最好去除ST和停牌股)

爱约股解答:

 

 

AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;

BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;

CC:=EMA(AA,2);

DD:=EMA(BB,5);

TJ0:=CROSS(CC,DD);

上:=EMA(C,3);

中:=EMA(C,5);

下:=EMA(中,5);

TJ1:=CROSS(上,中);

TJ2:=上>REF(上,1);

X1:=(C+L+H)/3;

BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;

EMA3:=EMA(C,3);

TJ3:=BB5>1 AND EMA(X1,5)>REF(EMA(X1,3),1);

XG:=TJ1 AND TJ2  AND TJ0 AND TJ3;

预警条件:XG>0 AND DYNAINFO(17)>0 AND IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);

TAG:
分享至:

相关推荐