量3D-(副图、 源码 、帖图)

2011-02-20 11:22:00来源:本站整理浏览:141

VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLOR0055FF,LINETHICK0;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORF0F000,LINETHICK0;
买卖差:主买+主卖,COLORWHITE,LINETHICK0;
{红色3D}
STICKLINE(买卖差>0 ,0,买卖差,8,0),COLOR070084;
STICKLINE(买卖差>0 ,0,买卖差,5,0),COLOR0000CD;
STICKLINE(买卖差>0 ,0,买卖差,3,0),COLOR0000E9;
STICKLINE(买卖差>0 ,0,买卖差,1,0),{COLOR077BF3}COLORWHITE;
{绿色3D}
STICKLINE(买卖差<0 ,0,买卖差,8,0),COLOR008800;
STICKLINE(买卖差<0 ,0,买卖差,5,0),COLOR00AA00;
STICKLINE(买卖差<0 ,0,买卖差,3,0),COLOR00CC00;
STICKLINE(买卖差<0 ,0,买卖差,1,0),{COLOR00EE00}COLORWHITE;
0,COLORGRAY,COLORGRAY;
{虚拟成交量}
预测量:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0),COLORYELLOW;
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7.5,-21),COLORYELLOW;
A16:= VOL = (HHV(VOL,10));
IF(A16,VOL,(REF(VOL,BARSLAST(A16)))),COLORYELLOW;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式