TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:3 c! [3 @* H& t- D8 q
MA5:MA(CLOSE,5);
; c8 ?6 T; R* \9 u4 V! }% [) _3 j2 jMA10:MA(CLOSE,10);# ?; i1 F" k" g- ]
MA20:MA(CLOSE,20);
4 r2 d2 {! T# n0 OMA55:MA(CLOSE,55);
' s" z' [, r8 t$ A, {3 k% QMA89:MA(CLOSE,89);4 u/ x7 x% h3 W9 M; f
MA144:MA(CLOSE,144);
7 ]8 \2 p; b" X' r9 wMA233:MA(CLOSE,233);, I: c5 i l$ N( `
MA377:MA(CLOSE,377);2 C9 b: o* e" Q) m+ l) B% v
MA450:MA(CLOSE,450);: z; f' F- O- `% V& l" L
MA610:MA(CLOSE,610);
& n# k, H8 `0 a, Z! F9 d$ K V# i1 j2 E% j' r" M; f
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);* x# z- B) C" k5 l' P1 L
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);9 \; A" i. d8 S# ? u
1 u$ A( F& R8 w' s
成交量差额:=(收阳成交量-收阴成交量)/10000;
6 i. `5 @# n/ J& d0 D% j5 r差额流通盘占比:=成交量差额*1000000/FINANCE(40);
# m8 q9 S1 D' N. O/ v/ ~( m. c" r$ Q% A: n& l# l
计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');$ X5 t3 \+ |( T0 {
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元'); p7 Y9 M/ R6 a. M$ R
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
+ J. \: |. {; w! {) h* ?9 d6 B量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
9 r% V/ i0 D: H7 f( i* n$ q6 u9 L3 b. O) Z' A5 O
阳量占优:=IF(成交量差额>=0,1,0);
. j) T1 |5 t; g$ n6 f阴量占优:=IF(成交量差额<0,1,0);
: x' A9 I8 b3 X3 q3 ?2 |$ O7 R/ J) C* w7 q, V( C0 Z6 R
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
. d# Y3 n1 d7 i( iDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;
6 c& O. l8 P4 e; u7 l# l& kDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;" Q; a7 V; B$ `) V0 m) i4 R
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;5 |7 n7 P- [8 _$ X; W* g
% Q- b& y3 |. v5 _# C; r: ^4 wDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
! N: {4 }5 N7 k( ?DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;. H( q, J q0 Q6 O w) N* A$ b; C
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
w ]) Y7 n$ r9 U* s! gDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|