TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:! X4 _0 j4 s$ ^( j
MA5:MA(CLOSE,5);" N0 z- r- k5 U# y4 K6 x
MA10:MA(CLOSE,10);0 l6 G1 ? e- F& _
MA20:MA(CLOSE,20);
: }& h( @5 B; c3 z" qMA55:MA(CLOSE,55);
1 ~( W! b# d8 \0 Z8 M6 [3 UMA89:MA(CLOSE,89);; j) f0 _5 S$ f
MA144:MA(CLOSE,144);$ b: {- \0 {/ n
MA233:MA(CLOSE,233);% G. e7 h# U3 |
MA377:MA(CLOSE,377);
& K# U5 L7 L( ~+ g! P" @5 e- wMA450:MA(CLOSE,450);" ]% _& N' z5 q' W' H
MA610:MA(CLOSE,610);7 O$ m- y' i6 j( ^! u# B; s4 w# \
( ^) h" y, Z) u3 p) V/ b+ H0 m收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);
8 \7 q, H3 a8 ?7 C6 y% ]" H4 u+ Q4 Q3 v收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
- u+ N0 w& a. h9 B( n O$ i$ m' z8 ~. A9 ?, A
成交量差额:=(收阳成交量-收阴成交量)/10000;
: s, d' X* I) x; W# d% `差额流通盘占比:=成交量差额*1000000/FINANCE(40);
0 k2 R$ [5 E1 ]) V! @/ }7 N
; Y8 R) E" u8 O3 Y6 @/ i计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');
+ o D. y" ?. I; b8 X成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
& [- ~7 ], r$ k* m1 q9 Z流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
: `7 j% p& } s量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
y( ^* v) `+ U1 N$ }4 ]' T* z
( Q, l0 I7 L) T3 n8 |阳量占优:=IF(成交量差额>=0,1,0);
7 w% Y8 C, L' Q) U阴量占优:=IF(成交量差额<0,1,0);
; |8 A; m: w7 Y3 o& `: O; J' w9 w* } K+ l a3 p
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;6 a- I: e& I! l+ o& W7 K- Y0 h
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;
, i, t2 f: E( B- R+ a4 |& M2 nDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
& m a' H! s% e& ZDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
/ ]" ?3 x! l0 b
% j" |, @8 B+ f2 Z( C% vDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;3 q3 g1 P) Z* \# n2 b5 P
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;2 v9 _2 A, S) j3 u! f% l
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
9 q0 z9 ~" t" ]) N* pDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|