limit orders control
Info
The limit orders control is a Expert Advisor for MetaTrader 4 that this is a not big assistant for trading with limit orders. its meaning is that if you want to place two limit orders on both sides of the price, you will have to wait until one of them is activated to remove the second.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use limit orders control
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
this is a not big assistant for trading with limit orders.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.
Description & Settings
Related: bad orders expert advisor for metatrader - another powerful expert for MetaTrader 4 traders.
this is a not big assistant for trading with limit orders.
Also recommended: automatic take-profit and stop-loss limit tool - similar expert with strong performance on MetaTrader 4.
its meaning is that if you want to place two limit orders on both sides of the price, you will have to wait until one of them is activated to remove the second. so as to avoid wasting time waiting near the computer this assistant had been made.at first you place two limit orders, and then place this advisor on the chart. as soon as one of them is activated the second one will be deleted automatically and a notification will appear, as well as the adviser's work will be stopped. to resume work, you need to place limit orders again and restart the advisor (for example, open its settings and, without changing anything, click ok).
there is the option to switch on comments in the settings so you will be known that advisor is activated (not activated). also you can set the magic number, and then the advisor will manage orders only with a certain magic number without touching the rest.
this assistant had been made at the request of the user mishelbb within the framework of the proposal to create a free indicator in this thread.
settings
magicnumber — the magic number so that this advisor doesn’t rule orders of others. set it to “0” that the orders placed manually are tracked.
writecomments — to allow advisor’s comments.
You may also like: Wipeout - Close All Orders on Profit Target - excellent alternative for expert users on MetaTrader 4.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property version "1.00"
#property strict
input int magicnumber=0;
input bool writecomments=true;
#include <stderror.mqh>
#include <stdlib.mqh>
static bool work=true;
int oninit()
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.