{名字自已取--- 参数: N 10 300 55}
{黄色倍量,蓝色缩倍,灰色并肩平量,洋红N日地量,白色为标准黄金柱的第三日确认,即白色标记三天前为标准黄金柱}
VOLUME:VOL,VOLSTICK;{量柱}
AA:=VOL>REF(V,1)*1.9;{倍量}
BB:=REF(VOL,1)/VOL>1.9;{倍缩}
PL5:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<0.05;{并肩平量}
AA2:=VOL<REF(LLV(VOL,N),1);{55日地量,N为可调参数}
STICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(BB,0,V,1,0),COLORBLUE;
STICKLINE(AA2,0,V,1,0),COLORMAGENTA;
STICKLINE(PL5,0,V,1,0),COLORGRAY;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(VMIN(L,4) AND L>REF(L,1),3)=3 ;
TJ3:=TJ1 AND TJ2;{标准黄金柱}
STICKLINE(TJ3,0,V,1,0),COLORWHITE;
MV5:MA(V,5);
MV10:MA(V,10);
每笔均量YNAINFO(8)/DYNAINFO(50),NODRAW;
换手%:V*100/CAPITAL,NODRAW;
量比:V/REF(MA(V,5),1),NODRAW;
{即时量比YNAINFO(17),NODRAW;}
{量比公式:VOL/REF(MA(VOL,5),1)/(FROMOPEN/240),NODRAW;} |