MQL4 Tutorial EA Collection includes various trading strategies ranging from simple moving average crossovers to complex martingale and grid systems. The provided examples demonstrate order layering with configurable lot multipliers, fixed pip distance for subsequent entries, and equity-based risk management. It also features utility scripts for trade copying and account operations. The documentation is minimal as the code is primarily intended to accompany educational video demonstrations.
Read from 空头马丁.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
UseAdd
bool
true
是否使用加仓策略,true:是
LotExponent
double
1
加仓系数
slip
int
3
滑点
Lots
double
0.05
初始单量
LotsDigits
int
2
单量精确到小数点后2位
TakeProfit
double
200
止盈
PipStep
double
300
加仓间隔,当一根K线的开盘价与上次开仓价之间价格大于这个数值,才加倍开仓
MaxTrades
int
10
最大订单数
UseEquityStop
bool
true
未使用
TotalEquityRisk
double
20
loss as a percentage of equity
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone aijy/MQL4_TUT 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 collection for MetaTrader 4 provides a variety of expert advisors and utilities intended for automated trading and educational use. The primary component is a moving average crossover robot that opens positions based on trend direction. It features risk management tools including percentage-based stop losses, take
This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz
LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take
This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market
This MetaTrader 4 repository hosts a large collection of automated trading systems, including the Aladdin 9 FX expert advisor. This specific tool identifies entries using the Commodity Channel Index and a Moving Average filter. It operates using a grid-based logic combined with martingale lot scaling, controlled by a l
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