Trading robot · MT4

Dynamic Risk Adjusted Expert Advisor

by gdepalma93

This MetaTrader 4 expert advisor implements a trend-following strategy using exponential moving average crossovers.

High risk

GitHub stars2
Forks1
Last update6 years ago26 May 2020
LicenceNone stated

Overview

Dynamic Risk Adjusted Expert Advisor automates trade entries when momentum shifts and manages exits based on a user-defined reward-to-risk ratio. The system features a dynamic position sizing algorithm to adjust lot sizes relative to account equity and includes a smartingale lot scaling mechanism. Risk controls include a maximum trade limit and optional hedging capabilities. A built-in dashboard tracks real-time performance metrics, though the documentation regarding the specific smartingale logic is limited.

Details

Author

gdepalma93 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Martingale, Hedging

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Holds opposite positions at once

Input parameters

Read from risk_adjusted_expert_advisor.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
riskdouble0.02
RRint3
minaccountriskint0.4
fastMAPeriodint10
slowMAPeriodint21
MaxAmountOfTradesint3
HedgingAllowedboolTrue
Slippageint30
MagicSeedint1000
PasswordstringHolyGrailPlease Enter Your Password.

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone gdepalma93/dynamic_risk_adjusted_expert_advisor from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 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.

Similar expert advisors

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Price Less EA

by exalkas
2 stars

Price Less EA is an automated trading robot for the MetaTrader 4 platform that implements a grid-based recovery strategy. It combines moving average crossovers for entry timing with a multi-level position layering system. The robot initiates trades and scales lot sizes using step-based increments at fixed distances. It

MT4 Trading robot GridIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Price Less EA
1 stars

Integra 777 Buy Sell is a MetaTrader 4 expert advisor that utilizes a grid-based approach combined with the Commodity Channel Index (CCI) for trade entries and management. The robot opens positions and adds supplementary orders at dynamic distances, governed by a minimum step parameter. It features a unique trailing pr

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Integra 777 Buy Sell

NLF Trading Bot

by NorVirae
1 stars

This automated expert advisor for MetaTrader 4 and MetaTrader 5 utilizes a strategy inspired by the Never Losing Formula. It employs technical indicators including the Stochastic Oscillator, Relative Vigor Index, and Envelopes to identify market entries. To manage trades, the EA incorporates a secondary entry mechanism

MT4MT5 Trading robot HedgingMartingaleIndicator crossover High risk
Updated 4 years ago None stated GitHub repository of NLF Trading Bot

Grid Martingale TA Signals

by SrisittikumChanintorn
1 stars

This MetaTrader 4 expert advisor executes a dual-direction grid trading strategy driven by technical analysis. It enters trades based on an Exponential Moving Average crossover logic using three distinct periods. The system employs a customizable martingale sequence where lot sizes increase after a user-defined number

MT4 Trading robot Indicator crossoverGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Grid Martingale TA Signals

Blessing Three

by duanwujie
1 stars

This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Blessing Three

More trading robots

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers