大智慧VOL显示副图指标
源码
{公式名称:VOL}
{VOL(成交量)显示}
{ 参数名:M1,2,250,5;M2,2,250,10;M3,2,250,30}
M1:=5;M2:=10;M3:=30;
VOL,VOLSTICK;
五日均量线:MA(VOL,M1),colorwhite;
十日均量线:MA(VOL,M2),coloryellow;
三十日均量线:MA(VOL,M3),colorff00ff;
drawtext(Cross(五日均量线,十日均量线) AND 十日均量线<50,五日均量线,'金叉'),coloryellow,linethick2;
drawtext(Cross(五日均量线,三十日均量线) AND 三十日均量线<70,五日均量线,'金叉'),coloryellow,linethick2;
drawIcon(Cross(五日均量线,三十日均量线),十日均量线,1);
drawIcon(Cross(五日均量线,十日均量线),五日均量线,1);
c>ma(c,55) and cross(ma(c,5),ma(c,10)) and v>ma(v,5 ) and ma(v,5)>ma(v,10);
成交量连涨3天:COUNT(VOL>REF(VOL,1),3)=3 ,colorred;
日成交大于5日:BETWEEN(v,ma(v,5)*0.8,ma(v,5)*6),coloryellow;
五上穿十日金叉:0,colored;