The EA initiates trades based on fast and slow moving average crossovers, utilizing a long-period moving average for trend filtering. It manages positions through a grid-based approach and martingale lot scaling, where distances are determined by fixed pips or the Average Daily Range. Risk management includes monetary take profit targets and stop loss settings, though the stop loss defaults to zero. The repository lacks documentation.
Read from Dreamguy-MaCrossMarti-ADR&Trend.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Expert_Name
string
---------- Dreamguy-MaCrossMarti-ADR&Trend v1.0
MagicNumber
int
5678
isUseADR
int
1
是否采用adr计算gridsize
Lots
double
0.06
TPinMoney
double
9.0
Net TP (money)
SLinMoney
double
0.0
Net SL (money)
Mutilplier
double
1.2
Martingale Mutiplier
GridSize
int
50
GridSize (In Pip)
MaxMarti
int
5
Max Marti (0-Unlimited)
Trend_Setting
string
---------- 启用趋势,则顺势单止盈加倍,并且保护性开单策略
isUseTrend
bool
true
顺势加倍
intTrendMulti
int
7
止盈倍数
Show all 18 inputs
Name
Type
Default
Description
Indicator_Setting
string
---------- Indicator Setting
Trend_Setting1
string
---------- Trend MA Setting
Order_Setting
string
---------- Order Setting
Testing_Parameters
string
---------- Back Test Parameter
Separator_2
string
==== Martingale Settings ====
Section
OperatationMode
ENUM_OPERATATIONMODE
0
Operatation Mode
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone sljxiaoxin/oldea 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
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 functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili
Proper Bot is a MetaTrader 4 expert advisor that utilizes a triple moving average crossover for trend detection combined with a manual grid management system. It filters entries based on volume and specific price levels. When a trade moves against the initial position, the EA opens additional orders at predefined point