by Kelly123 » Wed Dec 30, 2020 2:08 am
Hi Apprentice,
yes, it does remove the limit order and the placed randomly but not to the condition as in the request, generally happens if the trade does not go to plan from the start. the cancel of the auto place hedge when reaches TP works fine generally but when the price starts to range that's when strategy tends to delete limit order and auto placed hedge for no reason as there should not have the VPC in this strategy and no condition this should not happpen.
1. To cancel the auto placed hedge ONLY when TP is reached without triggering the auto placed hedge
2. To cancel the limit order on original trade ONLY if auto placed hedge is triggered
hope you can fix to conditions requested
thanks in advance
K