Error 150 - FIFO New comment [Deleted] 2011.08.15 08:36 Can someone please help me navigate this issue, I am testing my order placement script. The following trades take place in one script: Sell 10000 units. Sell 15000 units. Net Position is Short 25000 units. Close 5000 of above units. Attempt to close 5000 more units, but get FIFO error. Attempt to close 7000 units, same FIFO error. Attempt to close 8000 units, same error. What is the cause and remedy of these errors? Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes partial close trades Please help me to close order of the ea once there is a certain profit Simon Gniadkowski 2011.08.15 09:28 #1 Have a read of this it may help: https://www.mql5.com/en/forum/123595 [Deleted] 2011.08.15 18:04 #2 Thanks, this looks very promising! New comment
Can someone please help me navigate this issue, I am testing my order placement script. The following trades take place in one script:
Sell 10000 units.
Sell 15000 units.
Net Position is Short 25000 units.
Close 5000 of above units.
Attempt to close 5000 more units, but get FIFO error.
Attempt to close 7000 units, same FIFO error.
Attempt to close 8000 units, same error.
What is the cause and remedy of these errors?