The system employs a grid-based strategy that places stop orders at specific intervals and manages them using trailing stops. It utilizes martingale lot scaling, where subsequent order sizes are calculated to reach a breakeven point based on current exposure. Risk controls include configurable minimum and maximum lot limits, automated lot sizing relative to account equity, and loss alerts. The repository includes multiple versions of the source code without documentation.
Read from levels_v4_06_03.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
takeprofit
int
8
количество пунктов тейкпрофит
wl_level
int
3
количество пунктов до безубыточности (ис?
distance
int
5
минимальное расстояние через которое может быть установлен следующий ордер
trail
int
4
расстояние на котором будет устанавливаться стоп-ордер от максимумов и минимумов (трейлинг расстояние)
min_lot
double
0.1
самый первый лот
max_lot
double
10000
максимально допустимый лот
Trade
bool
true
торговля разрешена (при запрете торговли старые стоп-ордера удаляются, новые стоп-ордера не устанавливаются)
Trade_to_Close
bool
true
торговля до закрытия последнего ордера
activeBuy
bool
true
остановить торговлю по Buy
activeSell
bool
true
отсановить торговлю по Sell
auto_lot
bool
false
лот расчитывается автоматически
depo_minlot
double
25000
депозит на который расчитан начальный лот (нужен для расчета автолота)
Show all 18 inputs
Name
Type
Default
Description
LotValue
double
10000
размер контракта (размер лота в валюте)
Leverage
int
1000
кредитное плечо
MagicNumber
int
555
Идентификатор советника (у каждоко советника должен быть свой ID, чтобы мог торговать параллельно с другими)
CommentOrder
string
ML_v4.06.03
Martingale Levels Expert v4
LossAlert
int
300
TimeRealert
int
180
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone test-box/MQL4 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.
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 is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m
This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr
This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,
This MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio
This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma
This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani