TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
5 g4 _- T* h, l3 n" d$ TMA5:MA(CLOSE,5);
) E' m6 Y3 m, R: j( PMA10:MA(CLOSE,10);
; C& t) v0 P# V* `) u; zMA20:MA(CLOSE,20);! ` r( X W# S1 _
MA55:MA(CLOSE,55);+ j! l4 A" t$ {. Z/ v4 o7 f' m# A
MA89:MA(CLOSE,89);
, a" B0 `4 T, a0 w& v5 W4 mMA144:MA(CLOSE,144);& E( W, e9 [' j# A. M1 {1 S ~1 {" _
MA233:MA(CLOSE,233);
& X+ K; _+ i6 g9 V) OMA377:MA(CLOSE,377);
( K( g5 R2 ~; P% j. tMA450:MA(CLOSE,450);4 A. C8 b* B. K9 k) h+ g
MA610:MA(CLOSE,610);8 \8 W* s3 Z% C/ X2 c
# Q0 `) X: _4 v/ H- J+ [% C# V4 I; f- ~
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);' y" Y( l2 \8 _) {2 o: F1 S
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
3 D" g% w- K5 X. S! p
; t7 c8 h# G# A" Z( s& L/ B* f2 f成交量差额:=(收阳成交量-收阴成交量)/10000;
! d9 V6 H, j6 z8 _差额流通盘占比:=成交量差额*1000000/FINANCE(40);& {6 L3 f$ o; d$ A5 f) w
8 s! d" _) B" ^$ u# u计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');0 y* `5 Q9 h6 l/ F' ?: ~; }
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');- q9 J& W" y% h. X
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');; r+ J0 q. N2 q
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');% \' f* V3 A; H3 N, m6 t2 a
% I$ I/ c5 Q w& V' k% N% W阳量占优:=IF(成交量差额>=0,1,0); U- K2 C0 V/ m* ]
阴量占优:=IF(成交量差额<0,1,0);
6 ^+ u- B2 r+ y6 Q
+ P" J) a) Q: RDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;3 ^7 E: \8 `7 P5 D
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;
. a% g( n1 l* ~' |4 l+ S( G9 Z3 j6 [DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
5 u0 A; B8 k$ g9 ~& J! Q7 [DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;) j* R# a) S! [2 u( n
: b: a# `# \& q) }
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;4 [# ]/ _) W" D: o/ {! \
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;0 z1 N# h! c4 M5 |% z' j
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
7 w7 |+ q# @: V8 |) Y- A' c9 q# P7 PDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|