It has multiple entry criteria for long and multiple entry criteria for short.
I use EnterLong() and EnterShort()
Suppose on a bar close of the same primary series, conditions for long and for short are valid at the same time, how does ninjatrader decide which order to send to the exchange? or does it do nothing at all?
PS: using boolean flags, i filtered for a strategy to only trade when both long and short entries are valid on the same bar close. Weirdly I found that it actually does take the trades randomly long or short... sometimes from flat position or it exits and reverses the position.
Thanks
Comment