Collection · MT4

Automated RSI and KC Trading System

by benmillar-quant

This collection of MetaTrader 4 expert advisors implements directional strategies using the Relative Strength Index and Keltner Channels.

GitHub stars1
Forks0
Last update8 months ago16 Jan 2026
LicenceNone stated

Overview

The tools are designed for intraday trading with specific time-window filters, frequently configured for index markets. Entry logic is restricted to specific hours, while risk management features include a choice between fixed lot sizes or percentage-based equity risk. The code includes protective mechanisms like a daily three-loss cutoff, break-even stop loss adjustments, and retry logic for order execution. The repository lacks a README file.

Details

Author

benmillar-quant on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Mean reversion, Indicator crossover

Markets

Indices

Timeframes

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 RSI_SELL.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
StopLossSpreaddouble3
EntrySpreaddouble3
MaxRiskdouble80.0
StopLossToBEdouble30.0
UseRiskPercentSizingboolfalsetrue = % risk sizing, false = fixed lot sizing
GlobalRiskPercentagedouble1Risk % per trade when UseRiskPercentSizing = true
GBPtoUSDRatedouble1.34GBP->USD conversion for the % sizing calculation
FixedLotSizedouble1.34Fixed position size when UseRiskPercentSizing = false
SymbolNamestring.US30.
RSIPeriodint21
OverboughtLeveldouble50.5
OversoldLeveldouble49.49
Show all 17 inputs
NameTypeDefaultDescription
SignalStartHourint13
SignalStartMinuteint30ignore signal bars before 13:30
SignalEndHourint20
SignalEndMinuteint54ignore signal bars after 20:54 (last valid is 20:54)
SwingTicketToIgnoreint-1

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone benmillar-quant/Automated-Trading-System 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

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
6 stars

This collection for MetaTrader 4 contains over eighty expert advisors and scripts primarily focused on Bollinger Band breakout strategies. The repository includes numerous variations for fixed lot sizes and specific money management settings. The included logic covers price action relative to moving averages and volati

MT4 Collection BreakoutArbitrageMean reversion
5 stars

This repository contains a collection of MetaTrader 4 expert advisors developed for educational purposes and backtesting practice. It features several distinct trading strategies, including moving average crossovers, stochastic counter-trend setups, and pending order breakouts. The included scripts demonstrate essentia

MT4 Collection Indicator crossoverMean reversionBreakout
Updated 10 years ago None stated GitHub repository of MQL4 Learning Collection
4 stars

This MetaTrader 4 collection provides several scripts designed to analyze price action and candlestick patterns. It includes modules for moving average crossovers, Bollinger Bands, and a specialized candlestick analysis tool. The software identifies specific formations such as hammers, dojis, and engulfing candles by c

MT4 Collection SMC / ICT / price actionIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Candlestick Charts System
4 stars

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

MT4 Collection MartingaleGridIndicator crossover High risk

This repository offers a collection of MetaTrader 4 expert advisors focused on technical indicator triggers and price action. The suite includes tools for trading moving average crossovers, ADX momentum, and Stochastic oscillators. A dedicated EA identifies specific candlestick patterns such as Three White Soldiers and

MT4 Collection Indicator crossoverTrend followingMean reversion

More collections

Need a broker for MT4?

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

Compare brokers