RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
0 b: y3 f9 l2 wK:=SMA(RSV,3,1);* j. h9 V3 E7 ~5 a1 e% X4 U! F
D:=SMA(K,3,1);
3 Q4 W0 j- k& C0 M. IQR1:=(((K + D) / 2)*0.1 );
- H, D4 p1 z5 l1 AQR0.7*QR1*HHVALL(VOL))/HHVALL(QR1),LINETHICK1,ColorFFF810;2 B" ]$ M% _8 W( i' K9 I
动能高点周期:=HHVBARS(QR,10);
5 t6 u8 x: X5 h$ p3 v& z动能低点周期:=LLVBARS(QR,动能高点周期);
. o* \, C, N/ D, N动能QR:=(动能高点周期-动能低点周期)>=3 AND 动能低点周期=1;9 T1 Q' ~6 _# s& k! Q8 {4 d
DRAWTEXT(动能QR=1,QR*1.02,' B'),colorRED;: u m; w" Y+ U
DRAWICON(动能QR=1,QR*1.02,7),ALIGN1,VALIGN0;& m* L; p: w; G
NUM:=LAST((C>REF(C,动能低点周期) AND C0,QR*1.1,NUMTOSTR(NUM)),colorYELLOW;. Y7 v5 j% c: C0 r% s0 A" L7 I9 ~
DRAWTEXT(NUM=0,QR*1.1,NUMTOSTR(0)),colorBLUE;* G) K, c* A3 e8 h# S6 K
NOLL50:HHV(VOL,120)/2,DOTLINE,ColorGRAY;
- U3 t) m% C! j1 m4 z, B+ gNOLL20:HHV(VOL,120)/5,DOTLINE,ColorGRAY;3 [" ~* o7 b' l+ O, _9 z1 e# {
NOLL80:HHV(VOL,120)/1.25,DOTLINE,ColorGRAY;( z1 o' ?9 J, C: T# L. p
{--------------------------------}# B! s! D- }4 q3 Y1 r2 L& f
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
( F# b. I3 } d成交:=VOL;$ \4 R- M) h6 i, r( R$ a
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE主动卖盘 ,0,主卖+主买 ,7,1),ColorRED;
2 O# ~# A# x0 mSTICKLINE(主动买盘1 ,0,主买 ,3,300),colorMAGENTA;
5 F/ a% [0 o( F5 HSTICKLINE(2>1 ,0,主卖,3,-300),colorFFF810;
" A) h9 c/ `3 m: o% n. v- m五日生意业务差:if(MA(主动买盘-主动卖盘,3)>0,MA(主动买盘-主动卖盘,3)/5,0),LINETHICK0,ColorYELLOW; |