I'm using the following strategy (attached) and it is supposed to open a new order whenever it closes tha last one. The problem is that I get the following error unsystematically (image attached) and the following order in the opposite direction is not opened. As I mentioned, does not happen all the time.
It reads: "Order failed. Trading activity delayed while Net Quantity order XXXXX is pending".
Any help will be appreciated, thanks !