TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:; c- u- @8 J' b
MA5:MA(CLOSE,5);
8 ?& @7 r; F# e1 @( q! vMA10:MA(CLOSE,10);( j4 J; ]8 N% u* g
MA20:MA(CLOSE,20);, ]3 h4 v$ c' x- @
MA55:MA(CLOSE,55);
; o7 Y) g- K% O& n. C) e( FMA89:MA(CLOSE,89);
0 c/ }0 Y7 h- W# q0 ~MA144:MA(CLOSE,144);4 Z/ E6 O* Z1 ~
MA233:MA(CLOSE,233);
9 _0 a% p, ]% x2 g0 T% UMA377:MA(CLOSE,377);
4 j& M1 a6 p6 M5 p) ?" k/ h) \% HMA450:MA(CLOSE,450);
& u Q8 [5 a+ g1 B* zMA610:MA(CLOSE,610);
: l7 a4 K( B6 K; r7 v& }
5 _ g. Y0 T) X收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长); \* T. M' M& n% o% \
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
& z* H7 r) W i9 |5 a7 _) E3 u
* P1 N" Y+ q# K m$ N成交量差额:=(收阳成交量-收阴成交量)/10000;, t) y$ l8 J p* e
差额流通盘占比:=成交量差额*1000000/FINANCE(40);
1 n; @5 I: w0 E7 y
4 I4 i' I6 n$ d) e( z! P7 E计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');# B6 y1 ]4 w- |) V% ^" r8 P: t. }' S
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
6 R* u& v( x( B) H& v# }7 J流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
5 i( C; @. ~8 X) l2 W; @' _量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
# ]; ]9 u5 s2 a& ?: H( B
0 K' ]9 }& {0 K& }! i8 R阳量占优:=IF(成交量差额>=0,1,0);0 v6 W+ M: ?: [2 x
阴量占优:=IF(成交量差额<0,1,0);
: `7 ?& }; i; E
8 m' G2 K) E' M" C" jDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
" c) N3 u: |$ ^- \- ODRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;; z9 v6 i' e3 ^! Y, \2 p' K Z
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;2 V& q6 y+ c F) J* u
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
. i$ I6 j& Y9 Z, A0 y0 u
" I' z( `+ `; i' t: C5 S, u$ NDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;4 d7 ?6 A( v5 e! u8 E% h! Y
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
: Z* q9 {+ d, s' Z+ T( z" u( z/ fDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
3 P: c9 D/ E; L9 N8 l& I0 FDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|