|
X1: 0;( @8 t) Z" S, L; e4 ?
Var1:=MA(CLOSE,5);
( o- @0 ?/ j; Q' H% NVar2:=MA(CLOSE,10);; }+ E& w" o: N. ]$ }2 \7 r
Var3:=MA(CLOSE,20);2 S$ c, R$ r. `$ B/ e7 o
Var4:=MA(CLOSE,30);8 E: R( D5 ?) W
Var5:=(Var1+Var2+Var3+Var4)/4;, x/ x1 j! x7 H3 ^9 g7 H
Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;8 D" ^: H% K: I( I% o
Var7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;( C; I! z# b& M. N; k
Var8:=EMA(Var6,8);
( \- D9 e% n6 c! C9 m# c) |$ TVAR9:=TROUGHBARS(3,15,1)<10;" u# o! Z4 {1 p( Z' ]+ L
VAR10:=PEAKBARS(3,15,1)<10;+ Q4 R1 J4 w$ F @/ s5 D
VAR11:=IF(VAR9=1,50,0);, r# c" m' U N+ ^6 `
VAR12:=IF(VAR10=1,50,0);
; d( n- s& j' p' g5 {2 e底部:= IF(VAR11=50,50,0);3 Y4 ~6 x! g- s, }7 h
头部:= IF(VAR12=50,100,0);, E( b3 p3 O/ w! j. S
a:IF( 底部>REF(底部,1),50,0);
! l# m, M2 q' G; {9 g- }7 ?aa:IF(头部>REF(头部,1),50,0);
$ r A" a) s- f' dDRAWTEXT(a=50,100,'买' ),colorred,linethick2;; l$ z/ n7 J0 O: Q( T6 J+ s/ ~
DRAWTEXT(aa=50,100,'卖'),COLORffffff,linethick2; |
|