Is it possible to attach a stop loss "SetStopLoss()" to a SMA using Ninjascript? As an example, I'd like the stop loss to follow the SMA by above or below it depending on the position.
I found this post but it does not look like that function is available any longer; (https://ninjatrader.com/support/foru...p-to-indicator).
Thank you,
Travis Sloneker
EDIT: I think I found the solution.
Comment