TA的每日心情 | 开心 2024-9-12 13:18 |
---|
签到天数: 901 天 [LV.10]签到十级
六段
- 积分
- 31676
|
推荐
楼主 |
发表于 2019-5-22 22:52:31
|
只看该作者
公式如下:
+ a o Q3 l2 @, Q; M4 BMA5:MA(CLOSE,5);
( g, w; z- J |. ^MA10:MA(CLOSE,10);% G# Q% v6 m+ r2 z$ A
MA20:MA(CLOSE,20);8 m3 J# {" n3 r* j' {
MA55:MA(CLOSE,55);
8 i9 @( N, E# T) G( FMA89:MA(CLOSE,89); d5 X8 u4 n% w3 f
MA144:MA(CLOSE,144);4 r8 v! W$ O' | P
MA233:MA(CLOSE,233);
4 o6 }4 ~3 R T( m: A0 w8 J9 YMA377:MA(CLOSE,377);
! z& c1 k3 U! g" x" YMA450:MA(CLOSE,450);
) F( z/ K7 h* IMA610:MA(CLOSE,610);
; ^3 F6 |! Y" s- z7 O) z5 i
2 s. |/ i' m+ }8 ^2 i G- u4 r收阴成交量:=SUM(IF(CLOSE<OPEN,AMOUNT,0),时长);- x) x: n8 q1 f& a+ s. T
收阳成交量:=SUM(IF(CLOSE>=OPEN,AMOUNT,0),时长);
( Z5 ^1 x7 W! B$ m/ T3 p$ t# A# Y: r) h: E# E d7 ?. M( R
成交量差额:=(收阳成交量-收阴成交量)/10000;
1 F5 V% P2 ]/ b/ I8 `$ b& A差额流通盘占比:=成交量差额*1000000/FINANCE(40);
9 @+ K1 j+ ^$ @+ `9 ]' v3 h
6 H* n9 Q* b- s: \2 u2 M计算周期:=STRCAT(STRCAT('计算周期 :',CON2STR(时长,0)),'日');
. x4 a8 C6 X7 g! n成交量差:=STRCAT(STRCAT('成交量差 :',CON2STR(成交量差额,1)),'万元');# x& O8 G* J( d1 X7 C5 D
流通股市值:=STRCAT(STRCAT('流通股市值 :',CON2STR(FINANCE(40)/10000,1)),'万元');$ r; S" w$ q. U2 ~# {& s( |
量差流通盘占例:=STRCAT(STRCAT('量差流通盘占例:',CON2STR(差额流通盘占比,1)),'%');
! n: ?: i0 ?0 f! L) z: p" ?( B5 N( Z) p8 g1 t8 X
阳量占优:=IF(成交量差额>=0,1,0);
- `2 E: x( C& I; Q" l1 {# ?+ I阴量占优:=IF(成交量差额<0,1,0);3 e5 W/ l- z& `: O q, I9 J
9 d* T% x* p! V- J: c; VDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.05,0,计算周期),COLORRED;- H. i' M- o" M5 u
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.1,0,成交量差),COLORRED;5 b) r5 w% b {
DRAWTEXT_FIX(CONST(阳量占优)=1,0,0.15,0,流通股市值),COLORRED;
: ^4 F) `4 |' ^$ ^( t" `" ZDRAWTEXT_FIX(CONST(阳量占优)=1,0,0.2,0,量差流通盘占例),COLORRED;
7 x! ]9 O- b/ n% k; `, i4 M# { _
DRAWTEXT_FIX(CONST(阴量占优)=1,0,0.05,0,计算周期),COLORGREEN;
( J5 M7 _. x. E; h( _. G0 QDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.1,0,成交量差),COLORGREEN;
' p, K" b( N9 m1 c) WDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.15,0,流通股市值),COLORGREEN;
/ v" A9 u) V+ @; R1 W8 `! h rDRAWTEXT_FIX(CONST(阴量占优)=1,0,0.2,0,量差流通盘占例),COLORGREEN; |
|