I want to modify my strategy so that I can add to an existing trade if a set of conditions are achieved. I'd also like to retain the same profit target and stop loss targets (tick based, not currency).
So in effect, I go long 1x contract and set a profit target of 100 ticks and a stop loss of 100 ticks. When the conditions are right, I go long an additional contract and the trade is closed (2x contracts) when the original 100 tick profit target or stop loss is hit.
I've tried to implement this in NinjaScript and I can tie the trades to the same PT & SL if I use a currency based SetStopLoss() and SetProfitTarget() but they don't seem to work if I use ticks.
Do you have any examples or any guidance you can share?
Thanks,
Neil

Comment