前2天看到一个量比指标:
分钟:=if(currenttime<=93000,0,
if(currenttime<=113000,(INTPART((TIMETOT0(currenttime)-34200)/60)),
if(currenttime>113000 and
currenttime<=130000,120,
if(currenttime>1300000 and
currenttime<=150000,(INTPART((TIMETOT0(currenttime)-34200)/60))-90,
if(currenttime>150000,240,(INTPART((TIMETOT0(currenttime)-34200)/60))-90)))));
量比:VOL/分钟/(SUM(REF(VOL,1),5)/1200);
弯弯绕。
{取得量比最新动态行情}
量比:DYNAINFO(17);
{这句只显示当天。}
{分时量比,系统指标,大家都有}
量比:sum(vol,0)*240/dynainfo(38)/barscount(c);
而历史量比
使用5日成交量的平均值
就这么简单。
{大智慧}{飞狐源码就不要最后一行}
量比:V/MA(VOL,5),VOLSTICK;
历史量比:V/MA(VOL,5);
STICKLINE(量比>ref(量比,1)*2,ref(量比,1),量比,6.5,0 ),color00DDFF;
STICKLINE(量比*2
DRAWTEXTREL(600,10,【理想论坛】★【猎狼老头】),colorFF00FF;
{通达信}
量比:V/MA(VOL,5),VOLSTICK;
历史量比:V/MA(VOL,5);
STICKLINE(量比>REF(量比,1)*2,REF(量比,1),量比,3,0 ),COLOR00DDFF;
STICKLINE(量比*2
http://www.88gs.com/soft/UploadPic/2010-1/201013020275248276.png
用法
黄柱为前一天增2倍以上标记。
绿柱为前一天减2倍以上标记。
|