TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王者之卖在每一天要求写的地量公式:
2 X' U# G5 X8 K+ ^4 c1 Q7 t) R6 w
4 [& R& X& L) \* H公式代码:
; H' U( m7 `4 D ?3 UTOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
# t6 C+ A2 l/ z0 n3 p% `MTIME:=MOD(FROMOPEN,TOTAL);
. p J; ~% X7 } w" ^ nCTIME:=IF(MTIME<0.5,TOTAL,MTIME);
+ ^ _9 S5 Q+ T, U1 O- L. t9 |2 L$ QVVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
, }9 W( R- ]2 [ D* |STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;9 c0 b$ ~/ t v, S& z
VOLUME:VOL,VOLSTICK;4 V. E8 k' E$ B0 \- R1 `: f# i n- f
MAVOL1:MA(VOLUME,M1);
2 \5 o# A* T+ M; A# E+ _MAVOL2:MA(VOLUME,M2);6 d( o/ Q ~9 @+ I0 q) h: p# t
7 W6 a, |6 r& k+ Z7 q; B
MAXVOL:= REF(HHV(V, N), 1);2 p0 [: A9 d1 a' S7 n7 }& P1 }/ p* f
地量1:= VOL<= MAXVOL*0.15;4 ^$ Q( }$ l3 I# }0 X
地量2:= VOL<= MAXVOL*0.2 AND VOL> MAXVOL*0.15;9 d) T* R" J; V- X
! C( e1 D9 \* H6 |9 p' L( ]0 i
STICKLINE(地量1,VOL,0,3,0),COLORGREEN;, l, J' Q9 \) l F! U! g# l
STICKLINE(地量2,VOL,0,3,0),COLORYELLOW;- f# `% M/ r4 l' O5 S( l
0 e* }- e6 t0 b
' T5 F& _. J2 N$ J参数:
9 H8 ~- o+ T. r' e/ k* ^M1、M2:成交量均线天数" p2 g" r; K0 J
N: N日内Z~大成交量& \6 D( W# d( c; N9 }/ A" C$ X
, _5 |, v/ i& `
|3 S5 M' ]: Z( z
7 `* l1 w1 l: s) k
' b; p* N0 P% u5 m6 J/ U7 {& m. L5 g6 l! j1 |
|
|