开多平空条件:=mf>ref(mf,1) and l>mf;
开空平多条件:=mf<ref(mf,1) and h<mf ;
平空:SELLSHORT(开多平空条件 and holding<0 ,0,MARKET),orderqueue,COLORWHITE;
多开 :BUY(开多平空条件 and holding=0,1,MARKET),orderqueue,colorYELLOW;
平多:SELL(开空平多条件 and holding>0,0,MARKET),orderqueue,COLORWHITE;
空开:BUYSHORT(开空平多条件 and holding=0,1,MARKET),orderqueue,COLORCYAN;