TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:4 u3 ], g( t. _+ g
MA5:MA(CLOSE,5);& v' h1 W" Y y
MA10:MA(CLOSE,10);; g1 n# |4 e' k- Y: s' ^
MA20:MA(CLOSE,20);
% p3 ^0 E9 X6 [( I" zMA55:MA(CLOSE,55);
/ t. o+ I4 Z+ a% a. P2 Q8 ] LMA89:MA(CLOSE,89);
6 }, r, e$ h' q2 a& FMA144:MA(CLOSE,144); ]: P7 e+ I, A5 n+ i
MA233:MA(CLOSE,233);
. i1 l% y% t/ K ?* J" \MA377:MA(CLOSE,377);+ C' }; S" r8 N# f8 A1 {' @
MA450:MA(CLOSE,450);# h, Y6 D/ w& f& r0 B; r
MA610:MA(CLOSE,610);
- E+ q& o1 |/ h8 B
/ \ k( P' u" e* W收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);
. u; V9 B6 F, A/ g收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);' Z% B! a+ N# K. T& `' F( E
' i6 q& a3 ?% p' P3 V8 ]
成交量差额:=(收阳成交量-收阴成交量)/10000;
6 f1 V: e5 \1 y; k& r; t, B差额流通盘占比:=成交量差额*1000000/FINANCE(40);
. z0 ?+ Z: j5 U J+ r9 S1 M( d. Y. X0 ?0 b2 o, P, d
计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');
* P4 ]3 _+ F3 \! ?/ w成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');1 }( _; w& G: {' h4 ~% A
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');9 F4 Q4 K C4 ]& h
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');' W, ?( C& i( C u0 ~- a$ ?* ~ t" W
" w6 k3 R( V9 t' `4 V) f6 O" h g1 A阳量占优:=IF(成交量差额>=0,1,0);
. @( {' a1 B) y阴量占优:=IF(成交量差额<0,1,0);
: e( t. e; m; {6 \% F6 d- m* _4 o) }# A C t o$ x
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
0 f5 H* U- J& }! }DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;! D. Z- ]( i" U! D( D/ @
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;, a" m4 h. K9 \1 \
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
8 }0 h* V4 Y- P+ x
0 _" Z! I: k8 B5 f8 d, J6 z( _DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
0 C# d* w2 q/ ^' c: hDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
6 k* T$ \, l, Y8 j# xDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;! Y2 ~. E+ B ?' h1 w
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|