使用说明:
1.红柱:主动性买盘;
2.绿柱:主动性卖盘;
3.“★”5天均量金叉12天均量;
4.开盘后根据每分钟量推测全天量。
STICKLINE(HOUR>=9 AND HOUR<10 ,0, V/((TIME-93000)/100)*240,4.5,1),COLORWHITE;
STICKLINE(HOUR>=10 AND HOUR<11 ,0, V/((TIME-100000)/100+30)*240,4.5,1),COLORWHITE;
STICKLINE(HOUR>=11 AND HOUR<12 ,0, V/((TIME-110000)/100+90)*240,4.5,1),COLORWHITE;
STICKLINE(HOUR>=13 AND HOUR<=14,0, V/((TIME-130000)/100+120)*240,4.5,1),COLORWHITE;
STICKLINE(HOUR>=14 AND HOUR<=15,0, V/((TIME-140000)/100+180)*240,4.5,1),COLORWHITE;
VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
stickline(c>o,0,vol,4.5,1),COLORRED;
STICKLINE(c<o ,0,vol,4.5,1),colorffff00;
{-股票公式网站 }
stickline(c=o and c<ref(c,1),0,vol,4.5,1),colorffff00;
stickline(c=o and c>ref(c,1),0,vol,4.5,1),colorred;
Stickline(主动买盘>0,0,主动买盘,4.5,0),colorred;
stickline(主动卖盘<0,0,主动卖盘,4.5,0),color00ff00;
换手: VOL/CAPITAL*100;
STICKLINE(换手>=3 and 换手<8,0, 主动买盘,2,0),coloryellow;
STICKLINE(换手>=8,0, 主动买盘, 2,0) ,colorgreen;
MA5:MA(VOL,5),COLORYELLOW;
MA13:MA(VOL,13),COLORWHITE;
DRAWTEXT(crOSS(MA5,MA13),CROSS(MA5,MA13),'*'),COLORYELLOW;