Long and Short Signal at same time

Good day,

I'm fairly new to amibroker and I'm busy re-building one of my trading systems onto the platform. It trades both LONG and SHORT side across a couple of Future Indexes. I have noticed that when I backtest the system it will produce both a LONG and SHORT signal for the next bar, but when the trade is opened in backtest mostly/only the LONG side is actioned and the SHORT trade is ignored. Why is this so and what backtest type should I rather use to essentially open a LONG and SHORT trade at the same time?

this is a late reply, but if anyone is seeing this type issue, means your code is wrong, long and short signals must not be set for same bar, But when you do backtesting amibroker will do internal ExRem and removes one of the signal so thats okay.

Similar threads