|
X1: 0;# A: S9 K' p4 ^
Var1:=MA(CLOSE,5);
8 E7 z* z3 Y0 z" ^# R0 }% h' PVar2:=MA(CLOSE,10);9 n) {5 G" S9 h9 N$ E/ z+ K
Var3:=MA(CLOSE,20);! d- s7 j& p: W& N2 A: M* T4 K3 |
Var4:=MA(CLOSE,30);
' v K$ N; f6 TVar5:=(Var1+Var2+Var3+Var4)/4;
S+ A, i* A/ L4 U( {1 SVar6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;1 A/ V% |( _) y6 ~
Var7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;( E8 S! ^+ X8 A6 o; C3 q! e
Var8:=EMA(Var6,8);
' @# Z8 c/ Y, H6 |8 i9 Y: k+ M/ JVAR9:=TROUGHBARS(3,15,1)<10;/ ~$ v: I: ~+ X3 k9 \
VAR10:=PEAKBARS(3,15,1)<10;
" O" k' |! C) O( S% D5 W% Z0 _VAR11:=IF(VAR9=1,50,0);6 `' O3 D' K7 Y( M1 ?' R+ c$ T
VAR12:=IF(VAR10=1,50,0);
( W6 L3 i0 F, j$ Y Y4 j: h底部:= IF(VAR11=50,50,0);
- |) M g7 h+ {- z' W6 b头部:= IF(VAR12=50,100,0);0 [3 m% G% E) V) _: h% b
a:IF( 底部>REF(底部,1),50,0);3 J. e8 d: F8 G* K% W
aa:IF(头部>REF(头部,1),50,0);" u5 s0 i/ n, J9 I( S: p# u( L$ d6 J1 z
DRAWTEXT(a=50,100,'买' ),colorred,linethick2;
- J0 a4 @0 @6 d2 WDRAWTEXT(aa=50,100,'卖'),COLORffffff,linethick2; |
|