|
X1: 0;% @/ ? K: d W8 [% c
Var1:=MA(CLOSE,5);/ g3 r' a. R* L# T
Var2:=MA(CLOSE,10);" U, z) v9 V& }1 i
Var3:=MA(CLOSE,20);: v+ b& F. ^% T$ }0 k$ }
Var4:=MA(CLOSE,30);# o+ B! N0 q/ j0 r$ Q6 Y1 C+ F& E$ z
Var5:=(Var1+Var2+Var3+Var4)/4;- Y6 }. _/ ]& D6 P( @
Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
8 Q) u4 j# x6 O+ eVar7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
, T( @0 ~# O- D* J& _4 PVar8:=EMA(Var6,8);
- y+ J. |0 k2 ~0 [' c1 X$ ZVAR9:=TROUGHBARS(3,15,1)<10;
0 T( R) ^! D, o \VAR10:=PEAKBARS(3,15,1)<10;
/ _0 W- g* b- F# z m, AVAR11:=IF(VAR9=1,50,0);
3 x0 K! C, k; g2 m& tVAR12:=IF(VAR10=1,50,0);
& a9 M0 C' Y/ G- K; p底部:= IF(VAR11=50,50,0);
& ?/ h0 u7 Y) x( [) @3 \0 L0 r头部:= IF(VAR12=50,100,0);
n* o8 p+ ~$ q0 Z g# Ka:IF( 底部>REF(底部,1),50,0);) X2 @& K- x3 m& v' T( s# A
aa:IF(头部>REF(头部,1),50,0);
0 p% o$ w/ o/ W; r! wDRAWTEXT(a=50,100,'买' ),colorred,linethick2;
1 R- X) W- I% EDRAWTEXT(aa=50,100,'卖'),COLORffffff,linethick2; |
|