Trading robot · MT5

Aggressive Small Account Composite EA

by Miranics

This MetaTrader 5 expert advisor is designed for aggressive trading on small accounts, specifically targeting EURUSD and XAUUSD.

GitHub stars1
Forks0
Last update1 year ago27 Aug 2025
LicenceBSL-1.0

Overview

Aggressive Small Account Composite EA utilizes a multi-timeframe approach, filtering trends with Exponential Moving Averages across H1, M15, and M5 charts. The robot enters trades based on pullback and price compression patterns. It includes complex risk management features such as ATR-based trailing stops, partial take-profits, Kelly Criterion scaling, and dynamic drawdown throttling. It also implements protection mechanisms like daily loss limits, spread filters, and session-based trading restrictions.

Details

Author

Miranics on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Breakout, Mean reversion

Markets

Forex, Gold

Timeframes

M1-M5, M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

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

NameTypeDefaultDescription
InpSymbolsWhiteliststringEURUSD,XAUUSDComma separated symbols
InpChartTFENUM_TIMEFRAMESPERIOD_M15
InpHTFTrendTFENUM_TIMEFRAMESPERIOD_H1
fastEMA_HTFint50; input int slowEMA_HTF=200
fastEMA_LTFint20; input int slowEMA_LTF=50
InpEnableLTFConfirmationbooltrue
InpLTFConfirmTFENUM_TIMEFRAMESPERIOD_M5
InpRequireMicroTFboolfalse
InpMicroTFENUM_TIMEFRAMESPERIOD_M1
InpLTF_FastEMAint9; input int InpLTF_SlowEMA=21
InpMicro_FastEMAint5; input int InpMicro_SlowEMA=13
atrPeriodint14
Show all 40 inputs
NameTypeDefaultDescription
minATRPointsDefaultint120; input int maxATRPointsDefault=2500
minATRPointsGoldint150; input int maxATRPointsGold=6000
pullbackDepthLowerdouble0.985; input double pullbackDepthUpper=1.015
minBodyFractiondouble0.4; input double minWickFraction=0.3
compressionCandlesint4; input double compressionFactor=0.55
breakoutBufferPointsint30; input int pendingExpiryBars=6
InpSLModeSLModeEnumSLMODE_ATR
atrStopMultDefaultdouble1.3; input double atrStopMultGold=1.0
swingLookbackBarsint8
rrPrimarydouble2.0; input double rrSecondary=3.5
partialTPEnabledbooltrue; input double partialTP_R=1.0; input double partialTPPe
trailingModeTrailingModeEnumTRAIL_ATR; input double trailingATRMult=1.0; input double br
baseRiskPercentdouble10.0; input double reducedRiskPercent=3.0
dynamicRiskThrottlebooltrue; input double dynamicDrawdownThresholdPercent=15
growthThresholdMultipledouble1.5; input double maxDollarRiskPerTrade=3.0
allowedRiskTolerancePctdouble20; input bool skipIfOverRisk=true
consecutiveLossHaltint5
adaptiveSizingEnabledbooltrue; input int winRateWindow=20; input int minTradesForAdap
kellyScalingFactordouble0.5; input double minRiskPercent=2.0; input double maxRiskPe
adaptSmoothingdouble0.6; input double negativeKellyFallback=2.5
maxDailyLossPercentdouble15; input double dailyProfitLockPercent=10; input double equ
maxOpenPositionsTotalint2; input int maxOpenPerSymbol=1
tradingSessionStartstring07:00"; input string tradingSessionEnd="17:00
goldSessionStartstring06:00"; input string goldSessionEnd="18:00
maxSpreadPointsint300; input int slippagePoints=80
baseMagicNumberlong20250822
logVerbosityint2; input string logPrefix="SMALL-ADAPT-EA"
futurePyramidingEnabledboolfalse; input bool enableNewsFilterStub=true

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Miranics/Nics-_tBot from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

Gold FX EA

by ajeet-trader
1 stars

Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 9 months ago None stated GitHub repository of Gold FX EA

More trading robots

Need a broker for MT5?

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

Compare brokers