I was hoping to get some direction with respect to the AtmStrategyClose()
It says in the online manual that if it returns TRUE in "NO WAY" indicates that the strategy in fact has been closed.
I believe may automated strategy is suffering from this problem.
99% of the time if price closes through the volatility stop the ATM order is cancelled and a new order is issued.
However, very seldomly the order does not close and a new order is triggered.
So I end up with 2 orders.... the problem is that since both orders have stops and targets and it is difficult to tell which one belongs to the other so the only way to get around the close the ATMs so the strategy needs to be restarted
Is there a proper way to confirm an order is truly closed or should i preserve the ATMStrategyID and check it on the next bar to see if it is truly closed.
Any thoughts or direction would be greatly appreciated
Thank you
Sammy

Comment