I am reversing with limit order as well.
so far I have used 2 entry orders (naming entry1 and entry2) and got my exit via the SetProfitTarget( using entry name).
now as far as I understand it, I can't reverse a position with a limit order unless I cancel the limit profit target. therefore I understand now that I can't use the setprofittarget at all.
so if I want to use the exitlonglimit could I use the same functionality of setprofittarget xx ticks from entry, or do I need to start and maintain a set of vars that will keep entry price, etc'.
I have also seen a sample on your refrance site to monitor the IOrder token of setstop and setprofit target, could i use this methood to cancel the orders?
as stated in the begging I am evaluating your platform, I am a TS user, this reversal should be very simple to achive but so far I am getting problems achiving it. could you point me to some refrance code that simply reversing a position with a limit order?
any indication to the best way to approach this "simple" logic would be highly appriciated.
thx again for all your support.
Nir

) is very simple to do.
Comment