I was wondering, is it possible to attach a trailing stop to an indicator (for example, an SMA), not manually, but using Ninjascript code?
If the answer is yes to the 1st question, then is it possible to attach the stop to a secondary inidicator, let's say after the 1st target is hit?

Comment