TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王者之卖在每一天要求写的地量公式:
; _5 h- U) |$ k% P' z9 ]
, y% d& A/ f5 R9 A& J% S! X公式代码:
4 l6 X( b6 U: d. f0 KTOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
8 [# z# @! g& DMTIME:=MOD(FROMOPEN,TOTAL);0 l& X) G. {% o% u/ m8 g
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);8 K: ~9 |. j$ |9 r' w
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;" Y4 t/ i' m6 n% ]/ j' q
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;5 H" p2 U7 @4 g' M( R& k
VOLUME:VOL,VOLSTICK;0 P) V2 r. o# V$ S/ i" G
MAVOL1:MA(VOLUME,M1);
% W, v2 t% d- l( C' nMAVOL2:MA(VOLUME,M2);
0 s: C% q; v; D) ^* S6 x7 ]/ Y& b- ~# x& R4 A- s$ ?! k: U" @8 I8 h) l9 j
MAXVOL:= REF(HHV(V, N), 1);
. |+ e" V4 \8 T6 y/ S地量1:= VOL<= MAXVOL*0.15;" i0 s; ^9 y; Q/ ~+ a% a
地量2:= VOL<= MAXVOL*0.2 AND VOL> MAXVOL*0.15;
" _" i+ ]% I; c1 T2 }
8 q$ I- }( d- @2 N0 \+ I7 s" D3 ^STICKLINE(地量1,VOL,0,3,0),COLORGREEN;
, l/ U5 ~9 a! G5 P0 u- w1 [STICKLINE(地量2,VOL,0,3,0),COLORYELLOW; L+ x8 O2 B7 l( q) u
0 |3 N0 x: H/ {1 c" i) z* q
9 k y4 N! V c参数:' w: R' _' D+ D$ u2 a
M1、M2:成交量均线天数
# `; a! K0 h+ J3 X7 H% g* oN: N日内Z~大成交量1 Y Q! r1 }) b4 k1 ^0 h+ o8 v
6 c- |, h; r5 ]. |, i6 ~- ]
7 p. z4 r3 w2 i9 I- r( b, H0 s6 Y
8 B* D7 {# K; \6 N
" @! |; b- K+ t+ T. [& _* n5 p$ g
, R7 m+ L; `% D, u- B
|
|