一、主图 ( u z1 Q/ k b5 t# e/ X1 b1 L, d2 Z
MA1:MA(C,1);
$ J, d, J: y' _3 H+ l2 s6 t2 TMA5:MA(C,5); r: e6 E" ^' U3 c- `2 ?& F! i
MA7:MA(C,7); : d' V- _0 |" d: @0 {
MA10:MA(C,10);
- O1 \# f5 q! J( d+ D/ I QDRAWICON(CROSS(MA(C,1),MA(C,5)),L,1);
$ V2 m8 D0 T1 [5 [, a* P' O二、副图 & x( Z; [. b i% H
; f3 P; _9 T% c( u{AWRSI-BOOLI}
: L" }: e% U1 ?4 n' G; \- R8 f1 ^N1:=7;N2:=14;N3:=21; 1 W" O: `# T6 J
界:=38,COLORFF3311;
+ ^: }) @- [1 g. x; y9 bSTICKLINE(C>0,38,38,1,1),COLORFF9911;
: T7 o) ]! x, D/ x) Y/ c# }加仓线:=51,COLORFF1155;
. [$ v: e$ v m1 Y! YSTICKLINE(C>0,51,51,1,1),COLORFF1199;
- ~, }7 o6 G# o9 ]. M; ~; _9 D8 aLC:=REF(CLOSE,1); % P9 `, T# t1 Z3 r* h
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
0 }+ s- n( r0 n& q7 H( X4 [0 y' |RSI2:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
+ {+ f& r a( u! ?5 KRSI3:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF; 6 C6 r+ i& X1 m9 ^ l" T
RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
+ L4 _/ k/ C" l3 R* o+ Q& C趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
7 a, p8 C6 d5 p7 R( V; ^' X趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD; 0 a; C1 v; e6 w9 w9 T! Z
趋势:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK2; 9 L2 O' R+ Y5 e; M1 C D, ~
WR1:XMA(趋势F,7)*1.372,COLORRED,LINETHICK2; $ @: }& u" O' B6 \
WR2:=WR1*1.0887; 3 s) z9 X7 ]( ~
WRF1.5*(趋势8+RSI4)-(WR2+WR1))+12,COLOR3377FF,COLORRED,LINETHICK2,COLORFF0000;
- l3 e7 h& H0 W" `) |5 EBUY:IF((CROSS(WR1,趋势) OR CROSS(WR1,WRF) AND WRF |