TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:/ y7 [, \- X) F0 t3 x |" y0 Q
MA5:MA(CLOSE,5);
+ n+ G3 u1 R7 P0 a* s; _MA10:MA(CLOSE,10);2 N+ t9 w3 Q! V% B. R# i) g( t
MA20:MA(CLOSE,20);
4 [- ]8 c2 \& DMA55:MA(CLOSE,55);0 d4 B: V& U) K L
MA89:MA(CLOSE,89);1 [- w) b5 S' B6 e$ p+ W4 F) P
MA144:MA(CLOSE,144);
( x; U( @) b2 _6 K, J. W1 [MA233:MA(CLOSE,233);
4 G9 r: g5 f$ o$ r: |! `MA377:MA(CLOSE,377);: k# u+ C2 N) Q t) {+ {& N) }
MA450:MA(CLOSE,450); l$ A. j- F5 \2 t3 j; I
MA610:MA(CLOSE,610);
5 g& A4 k3 t( f+ u) r* u8 B: F4 B( [- I! H4 p4 p: n# ?/ j
收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);* M) _: }3 G1 r2 z7 O! O1 ~
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);6 o; o& k, G; p( S
* W4 r# O8 o: M! `% F D5 }. ?成交量差额:=(收阳成交量-收阴成交量)/10000;$ @3 q' f8 f$ V$ o2 ^
差额流通盘占比:=成交量差额*1000000/FINANCE(40);
& V0 w3 U* x4 }4 L
9 }3 c- y! L n计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');( P. [: z( B) E9 |7 ], V
成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
! ^/ @/ b0 a4 ]* c; t4 k+ D流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');# `* U0 r- c: w$ }! F( W0 [% i* [; j0 E
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
+ V0 B4 w' o) n5 V! ^* k% Y( F
/ ?5 v0 M' O' H8 B0 z阳量占优:=IF(成交量差额>=0,1,0);# z! j$ O, n4 t# `9 @
阴量占优:=IF(成交量差额<0,1,0);
6 d' M" a; {' \& ^8 [- d" h
2 T0 l: r: x% }# Q& X1 \DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;
+ n+ W! _* g: \# h3 d) g3 |DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;
- X- ]- a' o$ T! e3 F3 \# hDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;- n- C; \4 O; b# m b
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
7 D1 ?3 d; R. H% T+ ?% W1 r5 y; u, K. \3 k% [+ \
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN; L5 o7 I( ?# A3 [ f& }
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
' k; c$ t. S: i, k" cDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;' W( b% Q- d8 ? o8 i- F
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|