For ex: I EnterLong at say 1000 and my selltocover stoploss is at 980. Say I EnterShort at 990 while the long position is still on. It cancels the long position and selltocover stoploss but unfortunately it creates a buytocover stoploss at 980 which is below the current price of 990. Strategy immediately throws a red flag and quits once and for all.
How is this improved in 6.5? Simulator in 6.5 is not showing those positive spikes which 6's simulator did when it should have thrown an error. Instead the simulator in 6 used to show extra profit as it calculated the rogue stop into a trade which wouldnt happen in live.
I do not see that the SetStopLoss() routine return any Order number. How do I get the order number so that I can cancel it using cancel routine of V6.5 before reversing position? Is the cancel necessary in 6.5?
Comment