{
CancelOrder(myStopOrderFESXSHORT);
ChangeOrder(myTargetOrderFESXSHORT,SizeFESX-voladjustFESX,GetCurrentAsk(19) + (fESXEOSTICKS*TickSize),0);
}
The aim above is to cancel the stoporder and move the target order to ensure it gets filled. The problem is that lets say we are short 14 lots from entry... and that was filled with a 4 lot and 10 lot pair of executions - the position of 14 lots is closed by the 4 lot order changing as above, and the 4 lot stop loss of the pair is cancelled... but it leaves a 10 lot stop loss and profit target pair still active. Ideas how to correct this? many thanks and regards.
Comment