A1:=AMOUNT/VOL/100;
! t; j2 ]5 e; H" }: F' ] cA2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;9 {5 t/ ~+ r4 |# q* R
A3:=SUM(AMOUNT,40)/A1/100;
7 s: K% \/ J B/ A+ q; T; L$ NA4:=SUM(AMOUNT,80)/A1/100;, I# T+ [2 {6 U7 ?
B1:=DMA(A2,VOL/A3);; D* G: Q8 T6 z6 O9 K& M7 @
B2:=DMA(A2,VOL/A4);' g# c/ C, m+ Q: l# Y0 x
B3:=(CLOSE-B1)/B1*100;
. Z' T k( z8 s# f+ X, M& }B4:=(CLOSE-B2)/B2*100;
2 o0 o8 L2 k" u: k2 S3 ]* \7 C9 H控盘:1,COLORYELLOW,LINETHICK1;2 o+ X3 o f9 I2 ?! B0 P$ B
高点:5,,COLORFF6600;
' h% a& }% j/ Y7 a; l3 k1 b* C风险:-1,COLORGREEN,LINETHICK2;
& \% T2 }2 `, u3 B; o低点:-4,COLORCCFF33;
4 S* F* O A5 X1 @' T! I现价:C,NODRAW;6 q; w1 s& v b# ^
分时确认:MA(REF(HHV(C,60),1),2),NODRAW;( E* V4 d _# @( e
均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,NODRAW;* r) ]% A" S( g7 R/ Z2 C- z9 K" v
回调认同:EMA(EXPMA(C,20),13),NODRAW;
1 C2 a0 i4 M% t( p分时压力:MA(REF(HHV(C,30),1),2),NODRAW;
9 v; z9 K/ F% l S# p3 _8 \分时支持:MA(REF(LLV(C,30),1),2),NODRAW;! N' ~6 h) t& G8 Q2 }
STICKLINE(FILTER(C,60)>0,高点,低点,0.5,0),COLORRED;
8 L+ [9 u8 V7 b8 a: Q$ R6 MSTICKLINE(B4>0,0,B4,1,0),COLORYELLOW;! m0 s) f5 t! G" y, Z1 L
STICKLINE(B3>0,0,B3,1,0),COLORRED;
- h1 R/ w9 ^' H+ }5 ~" T$ j+ v& ASTICKLINE(B3=均价;" {. \% |! |0 [( A) H6 D. C* d
SIGNAL2:=(CROSS(VAR5,VAR2) AND B3>0.6 AND C>=均价);$ x' K0 n9 j* w
SIGNAL3:=(CROSS(VAR6,VAR7) AND B3>0.6 AND C>=均价);& @1 v& s# p- n. Y u+ F O9 ?
DRAWTEXT(SIGNAL1,-1,'卖'),COLOR0000BB;
3 N& G) j( B% i0 }, |1 _4 a4 qDRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2,'入'),COLORFF00FF;7 \3 D4 M4 l$ M Q
DRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2.8,'袋'),COLORFF00FF;& i5 z& I, A _: s8 S
DRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2,'入'),COLORRED;9 c3 \( N$ j' f& \% y: N( ?
DRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2.8,'袋'),COLORRED;
3 R; r y% ]5 C, V+ f) iQ:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
; q% ^1 a6 j8 J& ?! `* g* `8 k天:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
5 `# M1 c4 Z+ {7 X2 ODRAWICON(CROSS((C/天),1.03),5,9); |