I’m working on building a strategy in NinjaTrader and I’m looking for some guidance on how to structure it properly.
What I’d like to achieve is this:
- When a certain condition is met the strategy should open a new position. (I assume with EnterLongLimit() / EnterShortLimit() )
- Once the trade is open, I want it to trigger an ATM strategy.
- The ATM parameters (like profit target and stop loss will be set upfront) but the user will be able to adjust it directly from the chart, just like a normal ATM trade.
I’m aware of the difference between NinjaScript strategies and ATM strategies, and I know that mixing them can be tricky. But I’m hoping there’s a way to initiate an ATM strategy from NinjaScript that still allows flexibility for the user to tweak the settings via the UI.
Any examples, tips, or direction would be hugely appreciated. I’ve looked into AtmStrategyCreate() but I’m not sure how to keep the setup dynamic and interactive.
Thanks in advance!

Comment