Code it to prevent that.
Always set a safety fuse for ORDERS_MAX to prevent runaway situations.
Sakkull:
Sorry to say that but I am a noob,
Sorry to say that but I am a noob,
In that case please go here: https://www.mql5.com/en/job
You have to create the ORDERS_MAX function yourself, so that it checks the number of open orders and if it is allowed to open more.
Trading applications for MetaTrader 5 to order
- www.mql5.com
Hello developers, need your help. Object: MT4 EA Automated Forex Trading with trading signals Strategy: indicators for triggering a buy or sell signal. Closed position by reverse signal or Stop Loss. Code of indicators available. General attitude: Work in all Symbols ( Pairs, index, commod) Money management Trailing Stop (not visible for...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, can somebody explain what do I do wrong that during backtesting, at some point (GBPUSD - 2017.03.06), my EA opens hundreds of sell orders?