_基金家数:FINVALUE(254);
___基均100___:MA(_基金家数,100);
___基均200___:MA(_基金家数,200);
VOLUME:VOL,VOLSTICK;
MA5:MA(VOLUME,5);
MA10:MA(VOLUME,10);
MA20:MA(VOLUME,20);
{均线}
MA5:MA(C,5);
MA20:MA(C,10);
MA60:MA(C,60);
{标注涨停}
TT:=(C/REF(C,1)-1)*100>=9.8 AND C=H;
STICKLINE(TT,O,C,3,0),COLOR0000FF;
{标注跌停}
TT2:=C/REF(C,1)<=0.91 AND C=L;
STICKLINE(TT2,O,C,3,0),COLOR00FF00;
{标注炸板}
TTT:=(H/REF(C,1)-1)*100>=9.8 AND C<H;
STICKLINE(TTT,O,C,0.2,0),COLOR00FFFF;
{在屏幕左上角显示所属板块}
DRAWTEXT_FIX(ISLASTBAR,0.02,0.05,0,GNBLOCK);
{显示当前K线周期数} 此指标有bug :放大变化 缩小不变
DRAWNUMBER_FIX(1,0.01,0.01,0,TOTALBARSCOUNT);