TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
$ b: I7 Y$ u. I, [( mMA5:MA(CLOSE,5);$ B6 z1 ~; Z/ S7 P
MA10:MA(CLOSE,10);/ h; D% ]5 o/ `# S* x1 H4 [
MA20:MA(CLOSE,20);; P4 b, m! s5 v% C( ]
MA55:MA(CLOSE,55);/ J* f' H8 W+ C* w* R- U @
MA89:MA(CLOSE,89);" w5 ]3 v7 w/ {$ a
MA144:MA(CLOSE,144);# X% ?; d! |( v+ f& F
MA233:MA(CLOSE,233);% u3 b4 Q7 h3 m& R) n
MA377:MA(CLOSE,377);
" G0 J3 _' h. F$ ]! s, t7 z/ |MA450:MA(CLOSE,450);
0 M E) L q0 p; m- d4 b% UMA610:MA(CLOSE,610);
4 L8 j4 y0 U) {$ l* c @) K
. J9 A9 X0 U: V# ]- r) h6 {收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);
7 C$ g p, l) X2 V- r7 w9 j收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);! G" l4 z. ~6 S5 T
$ @$ ~: F( ~- \# {- e, e
成交量差额:=(收阳成交量-收阴成交量)/10000;( `3 n" z) G" S9 ~" U6 ~9 ^( d
差额流通盘占比:=成交量差额*1000000/FINANCE(40);: D$ ?. T1 Q0 g" L8 _, x
2 n" I) V1 V9 W* S& v$ M! K/ _
计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');% b$ p9 o8 G1 x! c0 T
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');' `9 w& X) `3 t4 `& M
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
" x% P3 D. [. _. z) \% ]" R: u量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
1 |2 r8 |9 w l; g h9 ~; y" M5 C+ D: f5 K6 ~
阳量占优:=IF(成交量差额>=0,1,0);$ N9 o* \; I4 T3 h9 `
阴量占优:=IF(成交量差额<0,1,0);
( `8 {% a$ X& C0 g4 V0 w* g" d4 d& J/ X- D! V2 F
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
4 g$ q2 U. I h' T$ }DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;
3 V' s( m! j( tDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
) S' x" d; O# h) u; e, O9 R( XDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
9 O* N! X. Q8 }" ? p( V" x
5 T0 E$ B- F" q* F2 VDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
, ] z$ M, M$ c% r9 A+ CDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;% ~/ g" I l# O3 j) Y0 }! v. u
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
0 u& `- e p% O7 JDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|