贫苦老师指教,资助下面指标改成选股,把出现②跟④时选出来,谢谢老师了!
& V; k: p+ C9 v& h# Y) u: p, J
& P, _% |* i1 K! ?8 s' E5 w6 j5 C% i
V1:=MA(HIGH,30)*1.15;
9 n& e% {& z3 |6 q" OV2:=MA(HIGH,3)*1.03;
# Q- R W/ z" i" u( F/ wV3:=MA(LOW,3)*0.97; 6 C* L, P6 Z; _6 A1 E+ Y
V4:=MA(LOW,30)*0.85;
0 h3 d% g- R+ ~{}
_% v4 ]8 v. e/ dGET:ZIG(3,N),COLORYELLOW;# c" K& A* C; J7 x9 g7 S4 ~6 k2 p {
PL5:=ZIG(3,5);6 d+ K" q0 m: g5 \, o) |5 g
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)REF(PL10,1),COUNT(EN1,走强2),0);
, Z+ O. t2 F: jZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);5 r9 B- {+ |* a+ @1 D: {' m4 n
DTJZ5:=IF(PL10REF(PL20,1),COUNT(EX2,走强3),0);
! g/ g* @- P" b! w9 B/ ~DTJZ10:=IF(PL20REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;
5 {7 F3 p8 E, F* S2 F) vDRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;
4 I' y5 B/ I5 q" {6 e4 YDRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
: i! r! x0 B, N* x6 jDRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;$ l2 L% ~8 I$ A; |9 a: ~
DRAWTEXT(EN2 AND DTJZ10=1,L*0.94,'Ⅰ'),COLORFF6000;
3 O3 c# [9 M# ?DRAWTEXT(EX2 AND DTJD10=2,H*1.06,'Ⅱ'),COLORFF6000;; S% r. N6 Z7 m: c9 P+ ~& z6 K! P
DRAWTEXT(EN3 AND ZTJZ10=1,L*0.94,'Ⅲ'),COLORFF6000;1 ?8 H; @7 V# F" @
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLOR00FFFF;
5 n) r; l9 b+ {& x; MDRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),LINETHICK3,COLOR00FFFF;+ ^( V/ a: Q2 ?" ^
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,'③'),LINETHICK3,COLOR00FFFF;; Q; |: d0 d7 [) K; M0 _* H, H
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),L |