mq l5 wizard - trade signals based on three moving averages
Info
The mq l5 wizard - trade signals based on three moving averages is a Expert Advisor for MetaTrader 5 that the mq l5 wizard allows users to create the code of expert advisors automatically. this strategy is based on three moving averages, known as signals based on three ema.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use mq l5 wizard - trade signals based on three moving averages
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
the mq l5 wizard allows users to create the code of expert advisors automatically.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Trade Adjustment Panel for MT5 - another powerful expert for MetaTrader 5 traders.
the mq l5 wizard allows users to create the code of expert advisors automatically. this strategy is based on three moving averages, known as signals based on three ema. to determine the trend, it uses three exponentially smoothed moving averages: fastema, mediumema, and slowema.Also recommended: Quantora Trade Manager MT5: Advanced Position Management - similar expert with strong performance on MetaTrader 5.
trade signals are generated as follows: buy signal when fastema is greater than mediumema and mediumema is greater than slowema, indicating an upward trend. sell signal when fastema is less than mediumema and mediumema is less than slowema, indicating a downward trend.
the strategy is implemented in the csignal3ema class, which has protected methods to simplify access to the values of the three moving averages. the indicator values of the 0th bar may change, so it is necessary to perform the checking of trade conditions using the completed bars data.
to open a long position, the upward trend is determined by the condition: fastema is greater than mediumema and mediumema is greater than slowema. to close a long position, the downward trend is determined by the condition: fastema is less than mediumema and mediumema is less than slowema. however, it is not necessary to wait for the downward trend to close a long position, as it can be closed when the trend is flat, determined by the condition: fastema is less than mediumema and mediumema is greater than slowema.
similarly, to open a short position, and to close a short position, the conditions are reversed. the closing of a short position can also be improved by closing when the trend is flat, determined by the condition: fastema is greater than mediumema and mediumema is less than slowema.
to create an expert advisor using the mql5 wizard, users need to choose the signal properties as signals based on three ema, specify the needed algorithm and system, and the code of the expert advisor will be created automatically. the expert advisor can then be compiled and tested in the metatrader 5 client terminal.
backtesting results of the expert advisor on historical data show the performance of the strategy. the signal3ema.mqh file with the csignal3ema class must be placed in the terminal_data_folder\mql5\include\expert\signal directory. the threeema.mq5 file contains the code of the expert advisor created using the mql5 wizard.
You may also like: Professional Automatic Trailing Stop Utility for MetaTrader 5 - excellent alternative for expert users on MetaTrader 5.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property version "1.00"
#include <expert\expert.mqh>
#include <expert\signal\signal3ema.mqh>
#include <expert\trailing\trailingnone.mqh>
#include <expert\money\moneyfixedlot.mqh>
input string inp_expert_title ="threeema";
int expert_magicnumber =31286;
bool expert_everytick =false;
.......
⚠ 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.