|
上线:=sma(c,6.5,1);( z- X: x7 q' |$ m2 Y( V( _- v' g
下线:=sma(c,13.5,1);
o5 q* K7 c! O上线1:=sma(c,3,1);, o5 j }8 ~. c% R- x- x
下线1:=sma(c,8,1); C, ]( a2 _- ?5 V
STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,linethick2;6 G$ o. c; h: G4 d
stickline(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;% H3 b @8 d( a1 W1 M. }
DRAWTEXT( cross(上线,下线),low *0.95,'↑全仓' ),color00ff00;
( [1 Q- ~3 V" J& X( x( E( l; ]drawtext(cross(下线1,上线1),h*1.02,''),coloryellow;
/ h3 [3 l) F; A/ ^% j* f+ o2 a8 g9 {BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;* K" O0 h6 \+ k2 _
UPR:=BBI+3*STD(BBI,13),linethick2;
& D. x" o1 V4 kDWN:=BBI-3*STD(BBI,13);
+ Q) U% i* `' J7 X. s# G0 O安全:=MA(CLOSE,60),linethick2;
! @3 i& F& ?. g, v' R1 c8 ]# I3 ZLC:=REF(CLOSE,1);
`- e/ Y7 N% [- O0 Q: ERSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; + ^$ y; \% T# b& \% a$ X
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,COLORff9966,linethick2;: U: ^) U: n# s3 j9 v* ?- q6 ]
A7:=(2*C+H+L)/4;6 L5 P6 m% }# q; [' ^! y
操纵:MA(a7,5),linethick2;5 K3 v6 w) q2 ]$ N4 g. l
操纵1:=MA(a7,5)*1.03,linethick2;
4 P1 T7 O" O2 ~2 P6 R操纵2:=MA(a7,5)*0.97,linethick2;
6 O% W9 l; ?% C" BVar1 LV(a7,21);$ r4 p6 m: R I8 Z! G. Z) N0 t
Var2:HHV(a7,21);2 Q0 o1 o6 D& ]3 x C
SK:=EMA((A7-Var1)/(Var2-Var1)*100,7); : x3 v/ g/ |% S' t: Y# e
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
4 H# X& G: ~( W7 b6 o3 @6 LDRAWTEXT(IF(count(close6/10 and vol>=1.5*ma(vol,5) and i2 E& I" _9 ?4 d `
count(sk>=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW*0.98,'买进') ,COLOR0099ff;
; q0 c4 b; S" M7 L& Z+ @7 n" w R. CDRAWTEXT(IF(count(close6/10 and
- P ?, B+ U0 D9 y- {6 `: Y5 i& I, lcount(sk>sd,6) and ref(low,5)=LLV(Low,120) and ref(close>=open,4) and
1 k. C5 f ~$ C, b) L# D/ Pref(close>open,3) and REF(CLOSE>OPEN,2) AND ref(open>close,1) and 8 x: `0 I" n9 M& Y( F/ l$ l. W' F% i0 G
open>ref(close,1),1,0),LOW*0.98,'买进') ,COLOryellow; * n/ y* a- Z3 E. H7 T
D:=MA(CLOSE,80)-MA(CLOSE,10)/3; & n7 P; r. R+ g7 A: e& a
DRAWTEXT(if(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
, j9 G$ Z2 u7 `6 d( nAND CLOSE |