TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31686
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:; }! R; i2 j* T$ d- ^
MA5:MA(CLOSE,5);
. z1 }% u* v \! K/ [) cMA10:MA(CLOSE,10);/ ?5 J: [- T( N1 H
MA20:MA(CLOSE,20);
2 A) m0 `( _; E; {) \* R; pMA55:MA(CLOSE,55); g v% _. K& y% K" p2 `
MA89:MA(CLOSE,89);9 M4 i2 `" M z) W j- Q- h
MA144:MA(CLOSE,144);
/ g' k0 @/ F; \+ Z9 _+ d' JMA233:MA(CLOSE,233);
+ I( z3 r# g% B" |4 gMA377:MA(CLOSE,377);0 g8 Z( I |3 X9 N5 P0 ~# N
MA450:MA(CLOSE,450);
$ t9 v, t1 |# nMA610:MA(CLOSE,610);7 @2 X* i4 D: d
3 }7 r- e+ ?. U' a4 n, i" V9 N" k0 ^收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);0 \( E, U" s9 t/ y: r) \
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
7 D7 i$ [: w+ t& ~
# W5 _1 e# y: _成交量差额:=(收阳成交量-收阴成交量)/10000;4 m: t" w! \' J1 M0 p; L
差额流通盘占比:=成交量差额*1000000/FINANCE(40);
R4 {% n9 i1 ]3 U
: P% _+ ^ i8 \& q8 u( ]- v计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');
. T4 C F3 x) X( h+ I/ y$ s& _. s% K成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');
& a- {8 a8 e- a( N流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');
5 X) L; S& @7 X5 Y' N- ?1 H量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');" g% D5 Z! J3 ~7 V" ]. R* [" A0 P
( g9 g, x. p: N! Y阳量占优:=IF(成交量差额>=0,1,0);
$ Y0 g% d5 @" B阴量占优:=IF(成交量差额<0,1,0);( P$ G, t8 t8 V
b. a, y4 @+ E) Y5 P
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;3 G, x3 [( g4 p+ _! B, ~; y
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;6 G+ N! W) F& Q
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
: v- a/ u& K& JDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
9 h- N& w) W; |9 e& R" P- ?2 E0 n
8 d8 [5 K; D# y( N$ o' w0 r$ I l$ Y" aDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
& C0 Q# b. I+ ADRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
( z$ y0 X$ A, F" h6 dDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
: j& q" f, i: M9 w' z; PDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|