This repository provides automated trading experts for the MetaTrader 5 platform, featuring a combined grid and martingale strategy along with an Ichimoku-based approach.
The primary expert advisor executes trades based on price movement relative to a fixed grid distance. It incorporates a lot multiplication system that increases position sizes following a stop loss and resets to the base volume after a take profit. The code is configured by default for XAUUSD and allows users to customize grid spacing, lot multipliers, and slippage controls.
Read from Martingle_grid_strategy.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
GridSize
double
3.0
Distance between grid levels
LotSize
double
0.01
Lot size for orders
Slippage
double
0.030
Allowed price slippage
MagicNumber
int
123456
Unique identifier for strategy orders
Symbol
string
XAUUSD
Trading symbol
CheckInterval
int
1
Check price every second (in seconds)
Slippage_for_buy
ulong
20
Adjust based on broker and volatility
multiplier
int
2
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone kabradhruv/MT5-Strategy-in-MQL5 from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
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 repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an
This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management
This repository is a large collection of over 1,000 expert advisors designed for the MetaTrader 5 platform. It serves as an open-source library featuring various algorithmic trading strategies, including moving average crossovers, RSI levels, Parabolic SAR, and range breakouts. The collection provides robots for trend
This repository contains an extensive library of MetaTrader 5 expert advisors covering various algorithmic trading methodologies. The collection includes strategies based on Bollinger Bands, Relative Strength Index, moving average ribbons, and swing failure patterns. A core focus is the Ighodalo series for gold and CFD
This repository is a diverse collection of MetaTrader 4 and 5 expert advisors, including signal-based robots, grid traders, and utility scripts. The featured expert advisor provides a versatile framework for trade management with options for trailing stops, break-even logic, and ECN broker compatibility. It includes co
This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe