ZQ:=SUMBARS(vol,CAPITAL);
A:=(2*C+H+L)/4{AMOUNT/VOL/100};
A1:=A-REF(A,1);
A3:=IF(A>REF(A,1),SUM(A1,0),0);
A4:=IF(A<REF(A,1),SUM(A1,0),0);
看涨:C-A3,COLOR0000FF NODRAW;
看跌:C-A4,COLOR00FF00 NODRAW;
HH:HHV(CLOSE,ZQ),COLOR00FF00;
LL:LLV(CLOSE,ZQ),COLOR00FFFF;
现价:C,COLORFFFF00;
STICKLINE(crOSS(现价,看涨),现价,现价+3,1,0),COLORFF00FF;
STICKLINE(CROSS(现价,看涨),现价,现价+2,1,0),COLOR00FFFF;
STICKLINE(CROSS(现价,看涨),现价,现价+1,1,0),COLOR00FF00;
DRAWICON(CROSS(现价,看涨),现价+3.3,25);
STICKLINE(现价>看涨 AND 现价=HH,现价,LL,1,0),COLOR0000FF;
DRAWICON(现价=HH,HH,42);