in the attached screenshot you can see when a trade is closed with white background coloring. The next blue upbar (with blue blackground) there should be a new trade referring conditions but there is no entry. The reason is the marketpositionflat condition. Only the next bar would be the entry (as I know from testing).
Can I change the "Position.MarketPosition == MarketPosition.Flat" (with COBC=true) so that entry is done already next bar after exit if conditions are filled? Do I have to change maybe somehow from onBarUpdate to OnExecution?
Thanks
![Smile](https://forum.ninjatrader.com/core/images/smilies/smile.png)
Tony
Comment