TA的每日心情 | 开心 2019-5-15 08:50 |
---|
签到天数: 134 天 [LV.7]签到七级
四段
- 积分
- 9950
|
王者之卖在每一天要求写的地量公式:
- ]6 O. v, l7 p. S+ q0 \; F
) R" X6 p( |7 i4 |& p0 O, s公式代码:
4 K4 r1 c' s: B& e& \7 C8 {. d& z* gTOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));* m1 y$ A% [- E) r, U
MTIME:=MOD(FROMOPEN,TOTAL);$ ?, J- _0 b. L) u/ L' C) O% Z
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);. l, D& ^- P2 y5 v3 X
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;8 n* b$ ^* Z& m7 Z# X5 |' C
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;9 h9 V1 m+ f0 F0 l) Q
VOLUME:VOL,VOLSTICK;
# c: e( b: t3 UMAVOL1:MA(VOLUME,M1);
& i; h+ j7 P% D1 YMAVOL2:MA(VOLUME,M2);
% X, [$ `% a' z, R, t( `5 `( S$ _# E' J3 [
MAXVOL:= REF(HHV(V, N), 1);: Q9 Z1 d$ L Q5 {
地量1:= VOL<= MAXVOL*0.15;3 ^1 Q& n- q; H. u; d) |5 W
地量2:= VOL<= MAXVOL*0.2 AND VOL> MAXVOL*0.15;; q8 M M7 ]; }1 p2 N% E* f* ~4 C
) X# ^# _0 F, F, x' c5 }STICKLINE(地量1,VOL,0,3,0),COLORGREEN;
Z* a2 `. Q* x0 }/ t! }1 t) {STICKLINE(地量2,VOL,0,3,0),COLORYELLOW;
3 \( X; ]. b4 X3 K3 f1 g6 U- L2 }; s
4 P R5 x9 @3 H% V P参数:
5 I1 ?( w: X. d& o' ]. lM1、M2:成交量均线天数3 C4 |" P; Z! U/ p
N: N日内Z~大成交量6 C1 X0 F9 ?# ]# ~3 l/ {
: F' c' \. }) N- A$ t4 }: p
1 K1 B1 F; v; W
5 j3 r: }) C# X& i+ U" R/ a$ }% U8 B) x" f/ U$ U2 c2 d& u2 D
G8 ]! d- Z4 \4 w! K. O5 {
|
|