一、主图
+ D n0 N, C! X& H: g: c% Q- SMA1:MA(C,1); 1 K1 u' N# u7 P4 S! w7 j0 m; H
MA5:MA(C,5);
' c3 k( p% R$ OMA7:MA(C,7); - g) M; z8 X' S1 Z" I: i7 m0 ~
MA10:MA(C,10); 0 e5 P) e* x6 t' D
DRAWICON(CROSS(MA(C,1),MA(C,5)),L,1);
1 o3 ~& D! k9 g& q& Y二、副图
, ~1 Y6 Z" z: ]8 ~) Y8 V# Z) _8 ?; X w& c
{AWRSI-BOOLI}
- X! y+ A/ _7 cN1:=7;N2:=14;N3:=21; 1 D4 x& J5 U+ ]5 ]+ M
界:=38,COLORFF3311; 5 S8 r' ]7 d0 J/ q6 Q; N
STICKLINE(C>0,38,38,1,1),COLORFF9911; # c. C. h' K: C! i
加仓线:=51,COLORFF1155; - Z, Z& t" [' `
STICKLINE(C>0,51,51,1,1),COLORFF1199;
' p+ b, H m$ eLC:=REF(CLOSE,1); 9 V7 [# F7 o+ F0 p, O7 k% s
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF; % K4 H1 f6 v4 Z% C5 G; ~
RSI2:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF; , T6 [5 A6 Z+ i0 c D
RSI3:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF; $ ?* ], M3 e E
RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00; 4 i- @$ M" j6 f% x' J
趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
% Z, P5 A" t# w% r; z$ B' z趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
" y! `. r: H' g. ~& r趋势:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK2;
r' Q& N9 e8 u" B# S8 sWR1:XMA(趋势F,7)*1.372,COLORRED,LINETHICK2;
9 {" J: G* n) ~ O9 nWR2:=WR1*1.0887; 2 k6 m4 c% t. Z
WRF1.5*(趋势8+RSI4)-(WR2+WR1))+12,COLOR3377FF,COLORRED,LINETHICK2,COLORFF0000;
$ {- h- h) {; }0 S+ P7 D; q" F9 sBUY:IF((CROSS(WR1,趋势) OR CROSS(WR1,WRF) AND WRF |