把“黑马”出现时改成选股公式,谢谢。 黑马出现 MA5:MA(CLOSE,120); MA20:=MA(C,20); MA90:=MA(C,90); F0:=BARSLAST(CROSS(MA(C,5),MA(C,90))); F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90))); F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90); DRAWICON(F2,L-0.10,1); DRAWTEXT(F2,L-0.40,'←黑马'),COLORFF00FF;
爱约股解答:
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
黑马:F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);