EA Money Management Strategy
Info
The EA Money Management Strategy is a Expert Advisor for MetaTrader 5 that this expert advisor is designed to test a specific trading idea using the foster-stewart criterion to determine the direction and strength of a trend. The idea is based on the concept that when a trend reaches a certain value, it will reverse direction.
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 EA Money Management Strategy
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 expert advisor is designed to test a specific trading idea using the Foster-Stewart criterion to determine the direction and strength of a trend.
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: Quantora Trade Manager MT5: Advanced Position Management - another powerful expert for MetaTrader 5 traders.
This expert advisor is designed to test a specific trading idea using the Foster-Stewart criterion to determine the direction and strength of a trend. The idea is based on the concept that when a trend reaches a certain value, it will reverse direction. The expert advisor uses different parameters for opening buy and sell positions to account for the asymmetry of price movements. Three trends of varying durations are used for each type of position: intraday, intra-week, and intra-month. Stop-loss and take-profit levels are calculated automatically based on price levels. A best-price filter is applied to reduce the burden on the deposit, allowing buy/sell positions to be opened only when the current opening price is below/above the opening prices of already open positions.Also recommended: Interactive Chart Trading Panel with Risk Management for MT5 - similar expert with strong performance on MetaTrader 5.
Optimisation was carried out on the EURUSD currency pair, using the H1 timeframe, from 1 January 2026 to 31 May 2026.
Parameter selection was carried out separately for each signal, with the following results obtained for buy positions. Sell positions yielded different results. The results for all strategies combined are also available.
Please note that the goal of this expert advisor was not to create a consistently performing strategy, but rather to conduct a thorough analysis of the trend criterion and its potential for generating trading signals. The use of automatic calculation based on this criterion appears to be justified.
The expert advisor parameters include:
- Slippage: permissible price slippage.
- PeriodBuy: the trend period for opening buy positions, with a minimum value of 3.
- LevelBuy: the level at which a position is opened, with a maximum permissible value of PeriodBuy-1.
The same parameters apply to sell positions.
You may also like: Trading Panel EA - Enhanced Trade Management - excellent alternative for expert users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version "1.00"
#include <FosterStewartCriterion.mqh>
sinput ulong Magic=20260620;
input uchar Slippage=5;
input ushort NumStrategies=2;
sinput group "Buy Strategy"
input ushort PeriodBuy1=20,
LevelBuy1=2;
.......
⚠ 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.