I have been working on a strategy using the strategy builder that I want to use a breakeven stop loss. I have used the model for a strategy builder breakeven provided in a different ninja trader forum post (I'll share the link below). When the strategy is working, it should place an entry and then place a stop loss. After that, if the price rises, it should set the stop loss to the breakeven price, and then exit the trade either when the exit conditions become true, or the stop loss is hit. I have had a very confusing issue with this because sometimes it will follow that order, or it just won't place the stop loss entirely. I have tried many things like mostly removing the conditions for placing the stop losses or making a trigger state variable for long positions and shorts but those have all been unsuccessful. I am suspicious that the issue is caused by my last condition which is meant to disable the stop loss in order to place the exit trade, but I really don't know. I attached a lot of pictures with more information and examples of the issue. Since there is a max on how many I can attach, I'll just add the rest on in a message responding to this. I would really appreciate any help with this issue and any other suggestions would be great.
Thanks
Link for Breakeven Example: Request Breakeven Functions in Strategy Builder - NinjaTrader Support Forum

Comment