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?

Manage alerts

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

Checking account access…