N:=45;
成交金额:AMOUNT/10000,volSTICK;
成交量: VOL/10000,LINETHICK0 ;
均价:AMOUNT/100/VOL;
流通盘:CAPITAL/1000000,VOLSTICK;
换手率:VOL/CAPITAL*100,LINETHICK2;
每股收益:FINANCE(33),VOLSTICK;
市盈率:DYNAINFO(39),VOLSTICK;
AA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/10000;
卖盘:=-1*(IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2))/-10000);
主买:(买盘),COLORRED;
主卖:(卖盘),COLORGREEN;
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
STICKLINE(C>O,0,VOL,2.5,1),COLORRED;
STICKLINE(C<O ,0,VOL,2.5,1),COLORFFFF00;
STICKLINE(C=O AND C<REF(C,1),0,VOL,2,1),COLORFFFF00;
{- }
STICKLINE(C=O AND C>REF(C,1),0,VOL,2,1),COLORRED;
STICKLINE(主动买盘>0,0,主动买盘,2.5.5,0),COLORRED;
换手:=换手率;
STICKLINE(换手>=2 AND 换手<3,0, 主动买盘,2,0),COLORGRAY,LINETHICK2;
STICKLINE(换手>=4 AND 换手>5,0, 主动买盘,2,0),COLORYELLOW,LINETHICK2;
STICKLINE(换手>=8,0, 主动买盘, 2,0) ,COLORGREEN,LINETHICK0;