{成交方向----------------------------------------------------------------------------------}T00:=200;AF1:=300;FX:=IF(C>REF(C,1),1,IF(C<REF(C,1),-1,0));TT:=IF(PERIOD=0,BARSLAST(HOUR=9 AND MINUTE=31)+1,T00);最高价:=CONST(HHV(H,TT));最低价:=CONST(LLV(L,TT));单位:=CONST((最高价-最低价)/40);DRAWGBK(1,RGB(0,50,100),RGB(0,50,100),1,0,0);数目:CURRBARSCOUNT,NODRAW;采样数:T00,NODRAW;{分档-----------------------------------------------------------------------------------}M00:=最低价;M01:=最低价+01*单位;M02:=最低价+02*单位;M03:=最低价+03*单位;M04