TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王者之卖在每一天要求写的地量公式:
" l% U0 K$ S+ ^/ s4 P* _# _- z; x* D7 f0 `
公式代码:. r; D9 J: s+ M, B9 r
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));+ ?7 M, ]) R8 _9 Y, m
MTIME:=MOD(FROMOPEN,TOTAL);5 M! w4 F" \6 L9 R# x8 D a x+ d
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);7 H$ K# g4 u4 x% ]2 a' u
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;' Z, L% B8 J% z. l& W5 U+ r
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;9 o, _7 Q) J% h8 ?8 G
VOLUME:VOL,VOLSTICK;
0 ? h% z0 G9 b0 Q" uMAVOL1:MA(VOLUME,M1);" j# j# ~1 z1 v
MAVOL2:MA(VOLUME,M2);2 t# }" \ G) b8 J/ f/ x* g$ Q
) N6 X# I4 \% x6 w% {MAXVOL:= REF(HHV(V, N), 1);7 ?- r8 B& C; \ p/ B7 ^ l
地量1:= VOL<= MAXVOL*0.15;
: B: v& Q9 Q2 w地量2:= VOL<= MAXVOL*0.2 AND VOL> MAXVOL*0.15;
' F; [- Q1 ~0 ~ {2 k; b% t( E% p* M) o
STICKLINE(地量1,VOL,0,3,0),COLORGREEN;
" J7 b# v8 B% |/ t3 Z: _7 B8 xSTICKLINE(地量2,VOL,0,3,0),COLORYELLOW;4 L, q4 w2 g3 H' }/ C4 W
5 \+ \) {7 I7 P* r8 z! a/ S
" S; o( l }& ^7 z9 Z! E参数:
- w/ r7 H9 }' z2 C; r& GM1、M2:成交量均线天数: a+ M Z2 Y6 t
N: N日内Z~大成交量, G; U6 C( _7 S& b1 D, e" e3 s
. s. b" S2 D' o) N
0 O2 S- o7 Q8 ^) K; [1 S- T2 I* q
8 q H2 n8 i7 i5 o& G* U S% P B, g( S$ I1 F
" B- T* l# `# b" E- y" m
|
|