振幅:((H-L)/REF(C,1))*100,COLORRED,COLORSTICK;
DRAWNUMBER(振幅>10,29,振幅),COLORFF00FF;
DRAWNUMBER(振幅<10,29,振幅),COLORGREEN;
STICKLINE(振幅>0,0,振幅*1.1,1,0),COLORGREEN;
STICKLINE(振幅>10,0,振幅*1.1,1,0),COLORRED;
拉升量:=IF(C>REF(C,1),VOL,0);
打压量:=IF(C<REF(C,1),VOL,0);
今打压最高值:=CONST(REF(HHV(打压量,FROMOPEN),0)),NODRAW;
DRAWTEXT(FILTER(CROSS(拉升量,今打压最高值),30),ZSTJJ,'攻'),COLORMAGENTA;
强势:=CROSS(拉升量,今打压最高值),NODRAW;
STICKLINE(强势 AND C>REF(C,1),DYNAINFO(3),C*0.984,0.9,0),COLORFF00FF;{}
{抢筹B}
均价2:=SUM(V*C,0)/SUM(V,0);
地:=EMA(均价2,50)/0.97;
买单次数:=COUNT(V>3000 AND C>REF(C,1),0);
黄次数:=COUNT(V>DYNAINFO(16)*10 AND C>REF(C,1),0);
DRAWICON(买单次数>REF(买单次数,1) AND 黄次数>REF(黄次数,1) AND CROSS(C,地),ZSTJJ,7);
HB:=买单次数>REF(买单次数,1) AND 黄次数>REF(黄次数,1) AND CROSS(C,地);
STICKLINE(HB AND C>REF(C,1),DYNAINFO(3),C*0.984,0.9,0),COLOR8000FF;{}
GONG:=FILTER(CROSS(拉升量,今打压最高值),30);
DRAWICON(HB AND GONG,C,42);