TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
% u7 t- x) R- C1 c) \- tMA5:MA(CLOSE,5);# p) d! N1 v3 P" G, P
MA10:MA(CLOSE,10);
: r F/ Q! c( H* \& i/ _MA20:MA(CLOSE,20);
' _9 u- e* T9 G: o& @MA55:MA(CLOSE,55);( Q. M8 O# q# x6 ]# b/ k
MA89:MA(CLOSE,89);
3 l: ?& D( b5 f- MMA144:MA(CLOSE,144);
- \! S6 v& H( m) G- Q4 N8 k7 UMA233:MA(CLOSE,233);
, j; b! d' J" v5 Q5 @5 @* M$ ?+ b( `. {MA377:MA(CLOSE,377);
1 w' F0 ~* F. A$ B* {/ ]MA450:MA(CLOSE,450);
3 t2 u3 l; z3 l6 \MA610:MA(CLOSE,610);
4 j7 b) @ q$ x* _- h, H" C+ }/ M3 x$ i8 }: c1 \1 w4 _7 S# \8 P
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);- a- Q0 i5 u4 M) J
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
8 e8 U- o; z0 k# @
# b$ D* v# A- z; X成交量差额:=(收阳成交量-收阴成交量)/10000;
# x# E1 F; n# e2 V- x差额流通盘占比:=成交量差额*1000000/FINANCE(40);7 r+ g+ n1 s' ]/ c2 B% y- F2 {
! _2 p1 g6 V2 f5 {0 j+ w: ?0 d, L
计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');
( g( Y/ @# R3 k: Q) D成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
! U3 y) b( s& ~" w- t流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');* A; U3 ?% j/ u& U
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
- [% ^5 |. q2 @9 t1 q
]: P1 I/ ^; N. d8 m6 I阳量占优:=IF(成交量差额>=0,1,0);$ J/ Y! W2 P+ c" h: p5 k7 k
阴量占优:=IF(成交量差额<0,1,0);
9 S* z8 I0 r. |; Z% d& p
+ w4 g$ m0 t' Y+ iDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
/ O$ T2 K m: w. L5 oDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;7 {5 o3 O/ E" E: |. \3 i* ~
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
2 W5 k' b" C& tDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
0 l8 E% G( U8 `1 w, w3 F- ?* u/ x& O4 B+ `: d9 Y* a0 I) }$ o
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
9 _1 F0 l8 m; \! A; PDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
" ]0 }, `2 o4 k9 [6 q% X* `DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;, s/ _9 B( R4 n9 O" ?7 J/ |2 S* G
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|