通达信 好用的 '柱形量比' 副图指标 ...

通达信 好用的 '柱形量比' 副图指标

通达信版;{柱形量比}指标源码:
量比指标:黑马侦测器

部分源码:
{柱形量比}
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;
关注线:1.5,COLORFFFFFF,LINETHICK1;
放量线:2.5,COLORFF00FF,LINETHICK1;
STICKLINE(A1,0,CC,2.5,0),COLOREAEAEA;
STICKLINE(A1,0,CC,1.5,0),COLOREBEBEB;
STICKLINE(A1,0,CC,0.8,0),COLOREDEDED;
STICKLINE(A1,0,CC,0.1,0),COLORE8E8E8;
严重缩量:A7,STICK,COLORFFFFFF;
STICKLINE(A2,0,CC,2.5,0),COLOR009900;
STICKLINE(A2,0,CC,1.5,0),COLOR00BB00;
STICKLINE(A2,0,CC,0.8,0),COLOR00DD00;
STICKLINE(A2,0,CC,0.1,0),COLOR00FF00;
缩量:A7,STICK,COLOR00FF00;
STICKLINE(A3,0,CC,2.5,0),COLOR009900;
STICKLINE(A3,0,CC,1.5,0),COLORBBBB00;
STICKLINE(A3,0,CC,0.8,0),COLORDDDD00;
STICKLINE(A3,0,CC,0.1,0),COLORFFFF00;
正常量比:A7,STICK,COLORFFFF00;
STICKLINE(A4,0,CC,2.5,0),COLOR00AAFF; 
STICKLINE(A4,0,CC,1.5,0),COLOR00BBFF; 
STICKLINE(A4,0,CC,0.8,0),COLOR00CCFF;
STICKLINE(A4,0,CC,0.1,0),COLOR00DDFF; 
温和放量:A4,STICK,COLOR00CCFF;
STICKLINE(A5,0,CC,2.5,0),COLORFF00FF; 
STICKLINE(A5,0,CC,1.5,0),COLORFF33FF; 
STICKLINE(A5,0,CC,0.8,0),COLORFF66FF;
STICKLINE(A5,0,CC,0.1,0),COLORFF99FF; #微头条日签#

(0)

相关推荐