TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
: C, [7 F6 h0 T0 P+ o" E4 aMA5:MA(CLOSE,5);" C4 `0 C# I2 j) ~) F+ _0 ?
MA10:MA(CLOSE,10);
$ j1 x9 @: a) ZMA20:MA(CLOSE,20);
$ I: s+ u7 h' o2 LMA55:MA(CLOSE,55);" d4 \4 l* A+ D5 L' ]
MA89:MA(CLOSE,89);
+ W) J5 U6 t! d8 k: d0 {MA144:MA(CLOSE,144);
' F8 a8 h$ s2 J4 p5 [6 WMA233:MA(CLOSE,233);
, Y- Y5 E. {8 d8 yMA377:MA(CLOSE,377);" z- D8 z( K h
MA450:MA(CLOSE,450);! ?1 i5 {! S* q$ D2 u
MA610:MA(CLOSE,610);, ^ ^5 I1 P9 G1 i
/ E1 Z+ Z. l; @4 R
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);
' |5 U( H+ ^9 R) A2 j收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);2 T6 t6 q6 H5 `: [: g0 u0 y
# ]" ~8 c0 g$ q成交量差额:=(收阳成交量-收阴成交量)/10000;" q6 D" i2 P: }! [
差额流通盘占比:=成交量差额*1000000/FINANCE(40);+ T. q( h, q# M4 {; \
5 s+ X G& l: _% F4 ^5 B# X6 c7 P! A* }计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');$ J9 S* l2 l# u6 K5 B! t' ^
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
' |5 W* z: G- j流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');2 U) {8 u& P" E
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');: O3 I$ f8 M* m, C: P. Q
+ ^( L: j' T% o1 C阳量占优:=IF(成交量差额>=0,1,0);
7 n4 ?& m+ O" J; a, Y阴量占优:=IF(成交量差额<0,1,0);9 g' B' q, @( N1 w; W) n) [
7 Y3 V/ O% E* A7 ^DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;: g/ J, [8 x- s: e3 p
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;) }2 I- f* L* q! C
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;/ o6 e$ ?8 z- Q5 E, d, z+ _+ H4 P
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
' T9 I2 i: K, D% r* F
6 c7 S0 v! a | [2 n9 UDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;8 y$ G% J3 G& R2 e% d2 j2 F
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
1 R$ U# d. S1 ADRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;8 F. n6 t# ]% \6 j2 e+ R7 C
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|