TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
+ p3 h6 T; s: R9 OMA5:MA(CLOSE,5);9 [; V; X4 t0 U" [
MA10:MA(CLOSE,10);4 z w+ w% Q) @% C5 _
MA20:MA(CLOSE,20);- a0 E J+ k: b6 C$ I0 l6 _, o
MA55:MA(CLOSE,55);
5 L2 l; u7 w4 ^& o9 eMA89:MA(CLOSE,89);
c' B/ k% Z0 s6 { N6 vMA144:MA(CLOSE,144);
4 z" N4 y( N# ~MA233:MA(CLOSE,233);. b- F) G8 ^. A' H+ i5 Y9 p2 o
MA377:MA(CLOSE,377);
+ U6 e& U. x) o* ]; kMA450:MA(CLOSE,450);
t0 h T% W& d" u. RMA610:MA(CLOSE,610);
3 u b6 l7 T7 D. F# g% m' m R% X$ W8 U) R5 T
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);
% O) T' v6 `. S6 A: _. `收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
: _$ _9 d* \# @) X2 Q* z @% l& [7 O4 q
成交量差额:=(收阳成交量-收阴成交量)/10000;5 b) E4 I. l+ I( P, D
差额流通盘占比:=成交量差额*1000000/FINANCE(40);
* u2 Z- Y0 o" B% U) O2 W1 p+ G+ l
. ~: T3 C. M2 Q* m* A计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');0 [) B% f- M% z2 C3 ]5 s
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
Z( D4 p& q4 v- K9 s5 G流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');' V: B: c2 _" y
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
3 c# h( y" K# H* N& f* z- e& t, e, W. N4 e# p; a0 P
阳量占优:=IF(成交量差额>=0,1,0);2 b! T& _+ ~& m0 j
阴量占优:=IF(成交量差额<0,1,0);: J+ h/ L1 ^% P/ r5 ^7 y
: k7 F6 [8 s+ t" p, f
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
; \; d5 P% G4 t1 r- `, @+ ADRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED; ?& U2 C+ k% _( I
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
/ R; y3 @2 X$ n1 CDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
( v6 c* X! f g' c- C: y* u$ l O# b( J7 H* w
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
& G1 w! V, v. C2 eDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
7 |6 M* `8 W" |DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
! k3 m0 H; M- RDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|