I'm trying to prevent a strategy from generating an entry on the same or very next bar after an exit. I'm using
Code: Select all
BarsSinceExit(1) > 1
But for the very first trade. Since there are no prior exits, I'm assuming 0 is being returned and therefore no trades are taken.
Any ideas on how to solve this?
Thank You,
Tony