When using the Chart / Chart Trader interface and you place an order, you may then attach the order to an indicator. The order trigger price is automatically adjusted based on the dynamic indicator value for the current bar.
I have reviewed this threads:
Attach to Indicator command for NT8 (which points to the next thread)
Set Stop Loss as an indicator value in Strategy Builder
PriceOs.cs expecting "," which has code examples from NinjaTrader_ChelseaB, in particular ProfitChaseStopTrailIndicatorExample.cs
As far as I can tell, there's no means to programmatically attached a stop loss order to an indicator. Is that correct?
Instead, I will have to code the update of the stop loss order on each OnBarUpdate, if needed, correct?
Thanks!
Matt

Comment