|
上线:=sma(c,6.5,1);% C) Y8 p8 F; U4 o8 I
下线:=sma(c,13.5,1);
8 U- c! e/ f3 ]7 m5 f! q* X$ T* a上线1:=sma(c,3,1);0 e) e% i! {% m) b1 z& ~
下线1:=sma(c,8,1);3 L3 a `# a+ A; ^+ o
STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,linethick2;9 q) w. }" p- F" h7 p
stickline(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;
. }( p: s8 u' [, I$ zDRAWTEXT( cross(上线,下线),low *0.95,'↑全仓' ),color00ff00;; c9 D2 [/ a `/ O
drawtext(cross(下线1,上线1),h*1.02,''),coloryellow;
( T0 `) N" Y: f4 U# rBBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;5 ^) y0 [" R/ p
UPR:=BBI+3*STD(BBI,13),linethick2;
) H. S" o$ I( x& m$ V7 _DWN:=BBI-3*STD(BBI,13);
- I4 N# m6 K+ {0 K6 v) v- ^安全:=MA(CLOSE,60),linethick2;* V) m; A5 `; k6 d' h' |
LC:=REF(CLOSE,1);
! f6 w9 M, B* |7 z" QRSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; & U6 |4 F" }) f2 a5 r) H I/ u
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,COLORff9966,linethick2;
+ d( M$ _9 C4 _# g+ FA7:=(2*C+H+L)/4;7 T9 ~; y8 r( o' N5 {$ w
操纵:MA(a7,5),linethick2;6 _; t: o6 M+ c: l) X3 I
操纵1:=MA(a7,5)*1.03,linethick2;* X) [: c8 v3 l; i2 n( W' Y; h6 n2 x' k) |
操纵2:=MA(a7,5)*0.97,linethick2;3 h+ f9 e: N$ `
Var1 LV(a7,21);
# M6 z% B2 V: f5 F7 `4 x# s+ o+ ]$ \3 }Var2:HHV(a7,21);$ ]& k1 J! X6 m& z
SK:=EMA((A7-Var1)/(Var2-Var1)*100,7); 5 p! \, H% c$ c" H4 A# r, |
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
9 l2 G2 e$ \: f) VDRAWTEXT(IF(count(close6/10 and vol>=1.5*ma(vol,5) and - n) M/ Q) M/ P, ~7 Z X
count(sk>=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW*0.98,'买进') ,COLOR0099ff;
3 X/ v2 s: `$ @, Q" ]DRAWTEXT(IF(count(close6/10 and ' }$ z7 n. E* I+ t. q5 K
count(sk>sd,6) and ref(low,5)=LLV(Low,120) and ref(close>=open,4) and * V6 L5 B5 k- {, n; p7 S9 s
ref(close>open,3) and REF(CLOSE>OPEN,2) AND ref(open>close,1) and 0 L x- s6 m/ _. H' j' `9 k$ M( {
open>ref(close,1),1,0),LOW*0.98,'买进') ,COLOryellow; % Z9 k Q' t8 I5 ]0 `9 J, @! \
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
6 A) a: O4 `: e! S O. p4 H& fDRAWTEXT(if(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
( m+ t5 [2 {/ l7 h/ A+ }5 wAND CLOSE |