A1:=AMOUNT/VOL/100;0 k U, k$ L; z
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
0 A8 S* K S; nA3:=SUM(AMOUNT,40)/A1/100;
, l" Z- z w& c/ i" MA4:=SUM(AMOUNT,80)/A1/100;( y; ~) [7 `( M* T' M; u2 N, f. y
B1:=DMA(A2,VOL/A3);' _ Z; c9 m* ^: \* H
B2:=DMA(A2,VOL/A4);" D: e7 l$ H; i5 l7 S2 o* _
B3:=(CLOSE-B1)/B1*100;* @% @9 A+ I( Z" E, `2 O$ c* W( A
B4:=(CLOSE-B2)/B2*100;' U1 u5 z7 \" J
控盘:1,COLORYELLOW,LINETHICK1;+ Y8 ~2 e6 w2 [/ x8 T
高点:5,,COLORFF6600;5 E+ q6 [: h9 h, D, w$ \' i
风险:-1,COLORGREEN,LINETHICK2;# {6 M0 D7 F( O4 \, `
低点:-4,COLORCCFF33;$ L0 X% K. M; o* {: U
现价:C,NODRAW;2 P* s4 V; u: q. ~$ U% _: x
分时确认:MA(REF(HHV(C,60),1),2),NODRAW;$ Z$ l; z4 ]" }- u; X
均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,NODRAW;
- o1 ]3 w# B; s2 Q( B% ?回调认同:EMA(EXPMA(C,20),13),NODRAW;
. ?8 E7 K8 P+ l" [; n8 b分时压力:MA(REF(HHV(C,30),1),2),NODRAW;
$ T8 b, y# p- q0 U分时支持:MA(REF(LLV(C,30),1),2),NODRAW;
0 e' a. @6 g3 o! PSTICKLINE(FILTER(C,60)>0,高点,低点,0.5,0),COLORRED; ! \( N+ J' R! @
STICKLINE(B4>0,0,B4,1,0),COLORYELLOW;5 j2 B6 G# o2 g, u
STICKLINE(B3>0,0,B3,1,0),COLORRED;
7 i, X% O- [2 d& zSTICKLINE(B3=均价;8 e5 M$ N1 N7 U+ w
SIGNAL2:=(CROSS(VAR5,VAR2) AND B3>0.6 AND C>=均价);9 c5 X. R/ r' ? r4 Y: D: ^ l
SIGNAL3:=(CROSS(VAR6,VAR7) AND B3>0.6 AND C>=均价);6 Q( G! w. |0 p
DRAWTEXT(SIGNAL1,-1,'卖'),COLOR0000BB;
" X% B# q3 N9 I0 M& x& C. KDRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2,'入'),COLORFF00FF;
$ p0 J! b% Z# J0 \DRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2.8,'袋'),COLORFF00FF;
, A* q, t4 R3 gDRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2,'入'),COLORRED;
5 E; D0 M; Z& X: z( W0 o" P" cDRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2.8,'袋'),COLORRED;
9 F4 _: c K0 P1 s' |Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
: @' j, o& c" n, C天:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));% c) c. c6 v. ?
DRAWICON(CROSS((C/天),1.03),5,9); |