Collection · MT5

Renko Reversal Collection

by PETERSAMUELOPS12

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a Renko Reversal strategy ported from Pine Script.

High risk

GitHub stars1
Forks0
Last update4 months ago25 May 2026
LicenceNone stated

Overview

The main robot identifies trend shifts by simulating Renko bricks on standard OHLC bars, entering and exiting trades based on a configurable number of consecutive bricks. It includes several filtering options such as an EMA trend filter, a 200-period SMA bear regime filter, and session-based trading windows. Risk management is handled through ATR-based brick sizing, emergency percentage-based crash stops, and portfolio equity peak protection. The code includes an optional martingale lot scaling feature.

Details

Author

PETERSAMUELOPS12 on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Mean reversion, Indicator crossover, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
UseAtrBrickbooltrueAuto brick size (ATR-based)
AtrPeriodint14ATR period
AtrMultdouble2.0ATR multiplier (brick = ATR × mult)
FixedBrickSizedouble10.0Fixed brick size (when ATR OFF)
AllowLongbooltrueAllow Long (buy on N up bricks)
AllowShortboolfalseAllow Short (sell on N down bricks)
EntryBricksint2N bricks to confirm entry & exit
CrashStopPctdouble15.0Crash stop: % from entry (emergency SL)
UseEmaFilterbooltrueEMA trend filter
EmaPeriodint200EMA period
UseBearFilterboolfalseBear regime filter (SMA 200)
BearConsecBarsint10Bars below SMA to confirm bear
Show all 23 inputs
NameTypeDefaultDescription
BearExitBarsint5Bars above SMA to clear bear
UseSessionboolfalseOnly trade during session window
SessionStartstring08:00Session start — server time HH:MM
SessionEndstring17:00Session end — server time HH:MM
UseEquityPctbooltrueSize as % of equity
MarginEquityPctdouble0.2Margin % of equity per trade
FixedMarginAmtdouble2000.0Fixed margin (when % OFF)
LeverageMultint1000Leverage multiplier
PortfolioStopPctdouble50.0Emergency stop: % loss from equity peak
UseMartingaleboolfalseEnable Martingale (double on loss)
MaxMartLevelint3Max doubling levels (cap)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone PETERSAMUELOPS12/basicopenclaw 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

MadRabbit Universal

by Cerqlau
2 stars

MadRabbit Universal is a collection of MetaTrader 5 expert advisors and trading tools focused on multi-indicator strategies. The flagship Universal Turbo robot allows users to combine signals from moving average crossovers, MACD, VWAP, ATR, and RSI. It is primarily designed for netting accounts trading indices and stoc

MT5 Collection Indicator crossoverTrend followingMean reversion High risk

C Financial

by rafaelsoec
1 stars

C Financial is a MetaTrader 5 repository containing a large collection of expert advisor variants focused on trend-following and price action strategies. The primary scripts utilize technical indicators like Moving Averages, ADX, CCI, and Average True Range to detect market direction and volatility. It features modular

MT5 Collection Trend followingBreakoutIndicator crossover High risk
Updated 10 days ago None stated GitHub repository of C Financial

FSB Strategy Collection

by hoanguyen1998
1 stars

This repository provides a collection of over 100 expert advisors for MetaTrader 4 and MetaTrader 5, produced using the Forex Strategy Builder software. The robots are configured for specific forex pairs including GBPUSD, USDJPY, and EURAUD on low timeframes. Trading logic typically combines multiple technical indicato

MT4MT5 Collection Indicator crossoverMean reversionTrend following High risk
Updated 1 year ago None stated GitHub repository of FSB Strategy Collection

EA MQL4 Collection

by Yumerain
151 stars

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

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection
2 stars

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

MT4 Collection Indicator crossoverTrend followingMean reversion High risk
1 stars

This repository contains a collection of MetaTrader 4 Expert Advisors and helper classes for algorithmic trading. The featured robot, Desiree, implements a breakout strategy based on Donchian Channels for both entries and exits. It incorporates comprehensive risk controls including percentage-based lot sizing, volatili

MT4 Collection BreakoutTrend followingMean reversion High risk
Updated 9 years ago None stated GitHub repository of Desiree and MQL4 Collection

More collections

Need a broker for MT5?

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

Compare brokers