在线检测未来函数

通达信黄金VIP量比指标公式

来源:Internet,编辑:股旁网,2022-11-30

T1:=20;T2:=60;T3:=120;
LONG1:IF(C>EMA(C,T1),1,0),COLORWHITE;
LONG2:IF(C>EMA(C,T2),1,0),COLORWHITE;
LONG3:IF(C>EMA(C,T3),1,0),COLORWHITE;
VAR0 := (WINNER(C * 0.9)) * 100;
STICKLINE(1,0,VAR0,3,0),COLOR000077;
STICKLINE(1,0,VAR0,2.5,0),COLOR000099;
STICKLINE(1,0,VAR0,2,0),COLOR0000AA;
STICKLINE(1,0,VAR0,1.5,0),COLOR0000BB;
STICKLINE(1,0,VAR0,1,0),COLOR0000DD;
STICKLINE(1,0,VAR0,0.5,0),COLOR0000EE;
STICKLINE(1,0,VAR0,0,0),COLORRED;
{量比-副图}
AA:=vol;
BB:=REF(MA(VOL,5),1);
CC:=AA/BB;
A1:=CC>=0.001 AND CC<0.5;
A2:=CC>=0.5 AND CC<0.8;
A3:=CC>=0.8 AND CC<1.5;
A4:=CC>=1.5 AND CC<2.5;
A5:=CC>=2.5 AND CC<5.0;
A6:=CC>=5.0 AND CC<10.0;
A7:=CC>=10.0 AND CC<20.0;
严重缩量:A7,STICK,COLORWHITE;
缩量:A7,STICK,COLORWHITE;
正常量比:A7,STICK,COLORWHITE;
温和放量:A4,STICK,COLORWHITE;
明显放量:A5,STICK,COLORWHITE;
剧烈放量:A6,STICK,COLORWHITE;
反向操作:A7,STICK,COLORWHITE;
今日量比:VOL/REF(MA(VOL,5),1),COLORFFFFFF,NODRAW;
STICKLINE(A1,10,CC,2.5,0),COLOREAEAEA;
STICKLINE(A1,10,CC,1.5,0),COLOREBEBEB;
STICKLINE(A1,10,CC,0.8,0),COLOREDEDED;
STICKLINE(A1,10,CC,0.1,0),COLORE8E8E8;
STICKLINE(A2,20,CC,2.5,0),COLOR009900;
STICKLINE(A2,20,CC,1.5,0),COLOR00BB00;
STICKLINE(A2,20,CC,0.8,0),COLOR00DD00;
STICKLINE(A2,20,CC,0.1,0),COLOR00FF00;
STICKLINE(A3,30,CC,2.5,0),COLOR009900;
STICKLINE(A3,30,CC,1.5,0),COLORBBBB00;
STICKLINE(A3,30,CC,0.8,0),COLORDDDD00;
STICKLINE(A3,30,CC,0.1,0),COLORFFFF00;
STICKLINE(A4,40,CC,2.5,0),COLOR00AAFF;
STICKLINE(A4,40,CC,1.5,0),COLOR00BBFF;
STICKLINE(A4,40,CC,0.8,0),COLOR00CCFF;
STICKLINE(A4,40,CC,0.1,0),COLOR00DDFF;
STICKLINE(A5,60,CC,2.5,0),COLORFF00FF;
STICKLINE(A5,60,CC,1.5,0),COLORFF33FF;
STICKLINE(A5,60,CC,0.8,0),COLORFF66FF;
STICKLINE(A5,60,CC,0.1,0),COLORFF99FF;
STICKLINE(A6,80,CC,2.8,0),COLOR000088;
STICKLINE(A6,80,CC,1.5,0),COLOR0000AA;
STICKLINE(A6,80,CC,0.8,0),COLOR0000CC;
STICKLINE(A6,80,CC,0.1,0),COLOR0000EE;
STICKLINE(A7,100,CC,2.8,0),COLORCYAN;
STICKLINE(A7,100,CC,1.5,0),COLORCYAN;
STICKLINE(A7,100,CC,0.8,0),COLOR0055FF;
STICKLINE(A7,100,CC,0.1,0),COLORFF8800;
换手率:HSL,COLORRED,NODRAW;
累计10日换手:SUM(换手率,10),NODRAW;

通达信黄金VIP量比指标公式

相关文章