请高手帮我编写下通达信指标
指标如下!
MA5:MA(CLOSE,5),COLORF00FF0;
MA13:MA(CLOSE,13),COLORWHITE;
MA60:MA(CLOSE,60),LINETHICK1,COLORRED;
MA90:MA(C,90),LINETHICK2,COLORF0F000;
MA120:MA(CLOSE,120),COLOR00FF00;
AA:=CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),MA(C,60));
BB:=MA(C,60)>MA(C,10) AND CROSS(MA(C,10),MA(C,30)) AND MA(C,30)>MA(C,20) AND ABS(MA(C,60)-MA(C,20))/MA(C,20)<0.05;
CC:=MA(C,30)>MA(C,5) AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,10), COLORYELLOW;
DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);
EE:=MA(C,20)>MA(C,5) AND CROSS(MA(C,5),MA(C,10)) AND MA(C,10)>MA(C,60) AND ABS(MA(C,20)-MA(C,60))/MA(C,60)<0.05;
FF:=AA OR BB OR CC OR DD OR EE ;
天堂星雷达:=FF AND FILTER( FF,8);
DRAWICON(天堂星雷达,L,1);
DRAWTEXT(天堂星雷达,L*0.958,'庄现'),COLORWHITE;
STICKLINE(天堂星雷达,H,L,0.5,0),COLORRED;
STICKLINE(天堂星雷达,O,C,6,0),LINETHICK2,COLORRED;
AA1:=AMOUNT/VOL;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=VOL<MA(V,5)*1.5;
FF1:BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,L*0.99,'庄影'),COLORYELLOW;
STICKLINE(FF1,H,L,0.5,0),COLORYELLOW;
STICKLINE(FF1,O,C,6,0),LINETHICK2,COLORYELLOW;
我知道是要导入,而且是可以用于通达信的指标,问题是它只是一个看的指标,而不是选股指标,我想高手帮我修改成为一个选股的指标!
xypeng888 你好,可以说下选股条件是什么吗? 展开
AA:=CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),MA(C,60));
BB:=MA(C,60)>MA(C,10) AND CROSS(MA(C,10),MA(C,30)) AND MA(C,30)>MA(C,20) AND ABS(MA(C,60)-MA(C,20))/MA(C,20)<0.05;
CC:=MA(C,30)>MA(C,5) AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,10), COLORYELLOW;
DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);
EE:=MA(C,20)>MA(C,5) AND CROSS(MA(C,5),MA(C,10)) AND MA(C,10)>MA(C,60) AND ABS(MA(C,20)-MA(C,60))/MA(C,60)<0.05;
FF:=AA OR BB OR CC OR DD OR EE;
庄现:=FF AND FILTER( FF,8);
AA1:=AMOUNT/VOL;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=VOL<MA(V,5)*1.5;
庄影:=BB1 AND CC1 AND DD1 AND EE1;
庄现 OR 庄影;{当天提示庄现或者庄影的时候,把该股选出来}