TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
' A+ u* B3 _9 PMA5:MA(CLOSE,5);) T' ?( U$ c+ Z7 f7 m1 ]
MA10:MA(CLOSE,10);
& I% m* L( ~$ ~. u0 |MA20:MA(CLOSE,20);
( B6 \) E; B+ n; n0 Z) Q! p9 }* YMA55:MA(CLOSE,55);
+ e* i( D2 i0 ?& ?. b4 cMA89:MA(CLOSE,89);
& ] B9 S! m3 m, o }$ M! ~MA144:MA(CLOSE,144);6 Z5 U% R+ Y& T( V) S
MA233:MA(CLOSE,233);
% }' X$ Q' t6 I+ F9 S b! TMA377:MA(CLOSE,377);
1 n0 `: E% y5 s0 Z; _3 e$ P7 a9 NMA450:MA(CLOSE,450);
: x, c u! z# v6 n( @ WMA610:MA(CLOSE,610);
) G: [( a- F2 ~" M
/ u; I4 i0 I, ~/ [收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);) S! y. L! {) |0 o! M! v$ t
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);/ W% a F2 {# E/ K/ r/ r* O* [
5 @. }7 b' ?8 V& j( H* H/ x成交量差额:=(收阳成交量-收阴成交量)/10000;
0 |5 K7 |3 V* |8 x- Q& U& _/ p- C差额流通盘占比:=成交量差额*1000000/FINANCE(40);
. _8 t# O' X$ [" P
) g# @( M4 K. u2 X- o0 o8 ^ x3 ~计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');
6 @7 h9 `# W$ y4 H成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');( p+ X" k; X- h1 ^. A$ |2 i- k
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
( W; ?- U9 s) f* b" h量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');8 ?4 ~! z$ m! a. U/ y0 H; h8 J
) S7 J1 b/ C" l1 F* T$ g6 V阳量占优:=IF(成交量差额>=0,1,0);0 _% E3 P. Z, q0 H
阴量占优:=IF(成交量差额<0,1,0);
1 A# T/ i: {, ^# s6 T
* i v! K7 k. ?5 w: e! r1 }DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;- \' |2 q- w- W+ z9 _' z1 A
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;, j0 d3 i9 D2 R% }: k J
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
% F) X6 r% D1 a" T2 q2 P. a% JDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;7 {2 u+ J- U9 | ]9 Q
" K0 ~) p4 x j
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;0 U( U. V( I* ]. v# a; u# A* }
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;4 U m6 ?4 m- D% k8 `& r
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
& {9 e7 D+ w' M8 l- {DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|