In this EA, at the beginning 20 seconds of every minute, it will first close existing sell order and then open a new sell order. When I run it, the
EA can open the sell order successfully, however "invalid price"
errors happened always when it tries close the opened order. The slippage is set to be 3 (point is 0.0001) or 30 (point is 0.00001).
I am attaching the EA code for your reference. Any suggestions? Thanks.
EA can open the sell order successfully, however "invalid price"
errors happened always when it tries close the opened order. The slippage is set to be 3 (point is 0.0001) or 30 (point is 0.00001).
I am attaching the EA code for your reference. Any suggestions? Thanks.
Attached File(s)