Algo 01 references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-based position sizing, fixed pip-based stop loss and take profit levels, and a specific reward-to-risk ratio. It also features trade frequency filters to prevent opening new positions within a certain number of candles or hours from the last trade. The repository does not include a README.
Read from Algo_01.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Main1
string
---General settings---
MACrossSignalTimeFrame
ENUM_TIMEFRAMES
PERIOD_H1
MACrossIndiPath
string
CustomIndi\\Trend and stochastics\\MACrossIndi
IsTradingAllowed
bool
false
IsTradingAllowed
FixProfitPips
int
500
FixStopPips
int
600
EATimeframe
int
PERIOD_H1
Seting the Timeframe which the the EA MA will be drawn on
Main2
string
---Risk Management Placing Order---
UsePercentStop
bool
True
UsePercentTakeProfit
bool
True
RiskPcnt
int
2
Reward_ratio
double
2
Show all 19 inputs
Name
Type
Default
Description
Main3
string
Positions management 1: No new order after a newly opened po
UseLimitOrder
bool
true
LastOrderLimit
int
18
number of candles from the last opened order
FastMA
int
5; extern int FastMAShift=0; extern int FastMAMethod=1; exte
SlowMA
int
21; extern int SlowMAShift=0; extern int SlowMAMethod=1; ext
BarsToCheckRecentMACross
int
10
number of bars to lookback for recent MA cross
HourFromLastPosition
int
2
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone expdal3/mql4-ea-algo01 from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a
SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en
This MetaTrader 4 expert advisor is an automated trading system designed for technical analysis using trend and momentum indicators. It incorporates multiple exponential and simple moving averages, RSI with integrated smoothing periods, and MACD. The EA manages risk through dynamic lot sizing based on account percentag
MT4Trading robotIndicator crossoverTrend following
This expert advisor for MetaTrader 4 automates trading using five Exponential Moving Average periods to determine market direction. The developer notes an integration between C# and MQL4 for its operation. It manages trades with fixed stop loss and take profit parameters, ensuring each position has defined risk boundar
MT4Trading robotIndicator crossoverTrend following
Max Profit is a trend-following expert advisor for MetaTrader 4, specifically optimized for the M1 timeframe. It utilizes a combination of technical indicators, including Parabolic SAR and MACD, to identify market trends and execute trades. The software includes dedicated modules for lot management, symbol analysis, an
This MetaTrader 4 expert advisor implements a classic moving average crossover strategy to automate trade entries. The robot monitors two user-defined simple moving averages of different periods. It enters a trade when the faster moving average crosses above or below the slower moving average on a new bar. Risk managem
MT4Trading robotIndicator crossoverTrend following