I have an idea of how to do it in my head, but I'm just not sure how to approch it in NinjaScript.
I'd like to use the SetStopLoss function for my trialing stop, so the orders are always at the exchange.
What I'm thinking is, if there was someway to "get" the current value for the stoploss placed by SetStopLoss, then increment it each tick I'm deeper into profit...
What command can I use to pull the current stop loss value each time the bar updates?
Regards,
Brian
Comment