[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding Help



PureBytes Links

Trading Reference Links

Hello Coding,

To avoid two long positions back to back
MarketPosition=-1 or (MarketPosition=0 and MarketPosition(1)<>1);

To avoid two short positions back to back
MarketPosition=1 or (MarketPosition=0 and MarketPosition(1)<>-1);

best regards
foolsgold