关键所在量比放量(过白线)一定要在低位.用趋势买卖指标即可判断,量比放量在高位,往往是短期头部,切记,另外可参考经典机构K线指标更佳.
源码如下:
量比:VOL/MA(REF(VOL,1),5),COLORCCCCCC,LINETHICK0;
地量:IF(量比<0.5,量比,0),COLOR00FFFF,LINETHICK0;
正常:IF(量比>=0.8 AND 量比<1.5,量比,0),COLORFF00FF,LINETHICK0;
温和:IF(量比>=1.5 AND 量比<2.5,量比,0),COLOR00FF00,LINETHICK0;
放量:IF(量比>=2.5 AND 量比<5,量比,0),COLORCCCCCC,LINETHICK0;
剧量:IF(量比>=5 AND 量比<10,量比,0),COLORFF0000,LINETHICK0;
异动:IF(量比>=10,量比,0),COLORFFFFFF,LINETHICK0;
2.4,COLORFF00FF;
4.5,COLOR00FF00;
7.5,COLORCCCCCC;
AA:=量比*3;
STICKLINE(C>=O,0,AA,2.8,0),COLOR6666CC;
STICKLINE(C>=O,0,AA,2,0),COLOR7777DD;
STICKLINE(C>=O,0,AA,1,0),COLOR8888EE;
STICKLINE(C>=O,0,AA,0.5,0),COLOR9999FF;
STICKLINE(C
{STICKLINE(正常,0,AA,0,0),COLORFF00FF;{0.8-1.5}
{STICKLINE(温和,0,AA,0,0),COLOR00FF00;{1.5-2.5}
STICKLINE(放量,0,AA,0,0),COLORCCCCCC;{2.5-5}
STICKLINE(剧量,0,AA,0,0),COLORFF0000;{5-10}
STICKLINE(异动,0,AA,0,0),COLORFFFFFF;{>10};