|
X1: 0;
! H) P) \- X$ jVar1:=MA(CLOSE,5);
! e9 P0 D! g* r2 u7 g: \9 W* qVar2:=MA(CLOSE,10);
0 ~8 Q) w+ v& C, |* [1 }Var3:=MA(CLOSE,20);
4 F: V/ S! t- J1 @3 q5 ~Var4:=MA(CLOSE,30);
) s2 N+ e+ L8 o* Q0 y2 ?Var5:=(Var1+Var2+Var3+Var4)/4;9 g2 M3 j: H" T( x% D/ A, p$ m+ u& l
Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
$ ~2 O g# b* P0 j6 w. c. P6 lVar7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
& c) u. L& u0 _& VVar8:=EMA(Var6,8);
! J( e; U, @( Y" B! FVAR9:=TROUGHBARS(3,15,1)<10;, X* V" |* i; o! Z3 d+ ~ f3 J
VAR10:=PEAKBARS(3,15,1)<10;& m- F& j+ i- g5 D: F" K: p4 G
VAR11:=IF(VAR9=1,50,0);
& A7 B: N/ R& d0 EVAR12:=IF(VAR10=1,50,0);
( ^1 F1 E/ P6 z F7 m% U, |" B底部:= IF(VAR11=50,50,0);: k3 u( `5 x8 \. i* c" U
头部:= IF(VAR12=50,100,0);( R7 i/ p, k2 k) V
a:IF( 底部>REF(底部,1),50,0);/ m7 M. C1 V3 Q
aa:IF(头部>REF(头部,1),50,0);1 D! B* R0 Z7 ~( k5 l# Q
DRAWTEXT(a=50,100,'买' ),colorred,linethick2;; P- M( \6 T& |7 O d
DRAWTEXT(aa=50,100,'卖'),COLORffffff,linethick2; |
|