OrderSend() opening multiple positions in one go - how to prevent this from happening in MQL4?
OrderSend() opening multiple positions in one go - how to prevent this from happening in MQL4?
Loading saved threads...
Kayima Mutebi · External communityPost link
External question — Stack Overflow Stack Exchange
Author: Kayima Mutebi
Original post: https://stackoverflow.com/questions/76335090
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
When I use an
OrderSend()
function in MQL4, it opens 10 orders in one go in the MetaTrader Terminal 4 Strategy Tester.
How do I ensure that the MQL4-code opens one and only one order?
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: Kayima Mutebi Source score (net votes, not local likes): 0 Original post: https://stackoverflow.com/questions/76335090 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. When I use an OrderSend() function in MQL4, it opens 10 orders in one go in the MetaTrader Terminal 4 Strategy Tester. How do I ensure that the MQL4-code opens one and only one order?
Checking account access…