TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
# Q3 F, `% g2 p- N9 R9 bMA5:MA(CLOSE,5);
1 E$ _1 N1 m0 j/ o3 F$ rMA10:MA(CLOSE,10);6 Z. H' V& ?4 A
MA20:MA(CLOSE,20);4 o6 _/ ~/ w% \0 o
MA55:MA(CLOSE,55);
/ R2 F, q* e/ K" X) A( c( gMA89:MA(CLOSE,89);
8 V. j, ?% Z y) yMA144:MA(CLOSE,144);
$ T5 W" `5 i$ c% \4 s* iMA233:MA(CLOSE,233);
9 t$ b# b; c- N1 `- _2 Q; QMA377:MA(CLOSE,377); j& U7 r( p/ q2 m) z! X
MA450:MA(CLOSE,450);
" o* a' `& U+ t3 XMA610:MA(CLOSE,610);
3 |) C8 j0 V) r( d/ p$ v! \+ }' o4 F. A- Q% L4 M
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);
3 }" g$ H2 `2 x收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);9 h) h2 F. b* }6 W/ Z1 |+ {! o
$ i, L) u# c1 R' {, U成交量差额:=(收阳成交量-收阴成交量)/10000;
7 |9 k% n, D3 @差额流通盘占比:=成交量差额*1000000/FINANCE(40);/ ]% L# P5 h; ?7 p! N
7 U, L( T. N0 O* \+ c计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');% o8 W; j2 _. J. l5 M
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');' l; P8 f5 Z* e5 e$ x$ H
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
1 j; C. E- G( L6 u量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');3 v) C/ R* i$ o' p t
' A8 e# W' F7 Z/ C4 @( Z3 U阳量占优:=IF(成交量差额>=0,1,0);: v: U" ~! p& U4 K+ O
阴量占优:=IF(成交量差额<0,1,0);
5 i, w S d/ e7 s# u0 v
/ M/ `9 [* W Z: @' q) iDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
" m* ]! o4 k0 oDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;
* ] g& Q9 |% Z1 f9 cDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED; v* x. W: C3 q( [$ }% X
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
. c( M, P* P* ?* B" w: g- Y" P
' F# Y3 r: f) w2 H8 W1 ]( TDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
! T& u( |' ~5 K; `8 lDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;( b8 b3 |+ }- x7 ?2 t* D- m
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
/ {" o3 X+ K, x9 j1 n0 cDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|