BUY(开多条件 AND HOLDING=0,2,MARKET,MAX(OPEN,UPPERBAND));
BUYSHORT(开空条件 AND HOLDING=0,2,MARKET,MIN(OPEN,LOWERBAND));
SELL(平多条件 AND HOLDING,1,MARKET,MAX(OPEN,MA1));
SELLSHORT(平空条件 AND HOLDING,1,MARKET,MAX(OPEN,MA1));
SELL(平多条件1 AND HOLDING>0,0,MARKET,MIN(OPEN,MA1));
SELLSHORT(平空条件1 AND HOLDING<0,0,MARKET,MIN(OPEN,MA1));
MIN(OPEN,MA1)不需要这个是吗