TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王者之卖在每一天要求写的地量公式:. U+ x) A3 D& ]5 A0 D4 C2 k
, r0 V6 v9 `: J5 G: ^) Z
公式代码:( k7 d6 }- L- Q9 m5 @+ f# ?- S
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
) ?1 L, l/ @ u6 Z$ CMTIME:=MOD(FROMOPEN,TOTAL);
0 F# s( g; s2 ?CTIME:=IF(MTIME<0.5,TOTAL,MTIME);. B$ [" o3 k/ d0 O1 J! z( e" h; h
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;) w8 f9 l/ A1 G6 z+ c
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
: K. @. r' |3 e" e+ b2 n' dVOLUME:VOL,VOLSTICK;! J- W8 y/ v0 j- F
MAVOL1:MA(VOLUME,M1);
+ Z0 F* L$ L: m7 ?: ^) X. M1 bMAVOL2:MA(VOLUME,M2);
/ l3 l4 f: S J) c: h p$ O
9 [) ^+ N. ^6 Y6 m+ h! sMAXVOL:= REF(HHV(V, N), 1);
+ K) Q, |3 q% S, k地量1:= VOL<= MAXVOL*0.15;
3 c, a E( ]! `" |! Z% m地量2:= VOL<= MAXVOL*0.2 AND VOL> MAXVOL*0.15;
. M; p7 J' ~0 ]6 Q( {* @* b
+ E+ Y. `! f0 USTICKLINE(地量1,VOL,0,3,0),COLORGREEN;2 D; j4 b, t; \8 \ a# E" ~
STICKLINE(地量2,VOL,0,3,0),COLORYELLOW;$ |+ ]9 i* T/ b: H
% x/ T& g' T" s' m$ @( K6 I) L! t4 }' o. j# u7 R1 X w
参数:
. q2 m5 H# J) T$ \M1、M2:成交量均线天数( k* ?6 J- X% Q4 K' H
N: N日内Z~大成交量6 f0 q) b2 P. T6 I! m3 K5 D: L/ J
5 z4 r( a, C7 W; [, z
0 p0 |# @9 I4 W5 X" y
; z) Y* \3 e& _- s$ l
1 }- f2 a4 H0 Q$ s7 r8 O# n" X. g# T& y G) D# T% Z1 ?7 s
|
|