Trading robot · MT5

Ravan EA

by bhavyat81

Ravan EA is a multi-indicator confluence trading robot for MetaTrader 5.

GitHub stars1
Forks0
Last update5 months ago28 Mar 2026
LicenceNone stated

Overview

Ravan EA utilizes a scoring engine based on seven indicators, including EMA crossovers, Supertrend, ADX, RSI, automated support and resistance levels, candlestick patterns, and volume analysis. The expert advisor enters trades when a user-defined signal threshold is met. It features comprehensive risk controls such as percentage-based position sizing, maximum drawdown and daily loss protections, trailing stops, break-even settings, and multi-stage partial closures. It supports multiple asset classes including forex, gold, and cryptocurrencies using various timeframe presets.

Details

Author

bhavyat81 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Indicator crossover, Trend following, Multi-strategy

Markets

Forex, Gold, Crypto

Timeframes

M1-M5, M15-H1, H4 and above

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

NameTypeDefaultDescription
InpLotSizedouble0.01Fixed lot size (if risk % = 0)
InpMaxPositionsint3Maximum open positions
InpMagicNumberint202501Magic number (unique EA ID)
InpTradeCommentstringRavanEATrade comment
InpSignalTFENUM_TIMEFRAMESPERIOD_H1Signal timeframe (higher TF)
InpSignalThresholdint10Confluence threshold (1-15)
InpUseEMAbooltrueEnable EMA crossover signal
InpUseSupertrendbooltrueEnable Supertrend signal
InpUseADXbooltrueEnable ADX filter
InpUseRSIbooltrueEnable RSI signal
InpUseSRbooltrueEnable Support/Resistance signal
InpUseCandlestickbooltrueEnable candlestick patterns
Show all 40 inputs
NameTypeDefaultDescription
InpUseVolumebooltrueEnable volume analysis
InpADXPeriodint14ADX period
InpADXMinLeveldouble25.0Minimum ADX level for trend confirmation
InpRSIPeriodint14RSI period
InpRSIOversolddouble30.0RSI oversold threshold
InpRSIOverboughtdouble70.0RSI overbought threshold
InpSTPeriodint10ATR period for Supertrend
InpSTMultiplierdouble3.0ATR multiplier for Supertrend
InpSRLookbackint50Bars to look back for S/R detection
InpSRTolerancedouble0.5ATR tolerance multiplier for S/R zone
InpRiskPercentdouble1.0Risk % per trade (0 = use fixed lot)
InpMaxDrawdowndouble20.0Max drawdown % before halting
InpMaxDailyLossdouble5.0Max daily loss % before halting
InpSLPointsdouble300.0Stop loss in points (0 = use ATR-based)
InpTPPointsdouble600.0Take profit in points (0 = use ATR-based)
InpRiskRewarddouble2.0Risk:Reward ratio (used if TP=0)
InpUseTrailingbooltrueEnable trailing stop
InpTrailingDistdouble300.0Trailing stop distance (points)
InpTrailingStepdouble50.0Trailing stop step (points)
InpUseBreakEvenbooltrueEnable break-even stop
InpBreakEvenPipsdouble200.0Profit in points to trigger break-even
InpBreakEvenOffsetdouble10.0Points above entry for break-even SL
InpUsePartialCloseboolfalseEnable partial close
InpPartialTP1double300.0TP1 distance in points
InpPartialTP2double600.0TP2 distance in points
InpPartialPct1double50.0% to close at TP1
InpPartialPct2double50.0% to close at TP2
InpMaxSpreaddouble30.0Maximum allowed spread in points

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone bhavyat81/mt5-expert-advisor 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, and any .mqh files into the Include folder the code expects.
  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

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA

Forex Pro EA

by hqs-triet
3 stars

This MetaTrader 5 expert advisor serves as an educational repository for various automated trading strategies and capital management techniques. It features a modular architecture allowing users to toggle between multiple entry algorithms, including EMA crossovers, MACD zero-crossings, and a combination of ADX and Boll

MT5 Trading robot Indicator crossoverHedgingTrend following
Updated 2 years ago MIT GitHub repository of Forex Pro EA

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master

Forex Master Multi Strategy

by simonokwundue-ops
2 stars

This MetaTrader 5 expert advisor utilizes a weighted signal scoring system to execute trades based on four technical indicators: Moving Average crossovers, RSI, Bollinger Bands, and MACD. It incorporates multi-timeframe analysis across M15, M30, and H1 periods to confirm trend direction. Risk management features includ

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 10 months ago None stated GitHub repository of Forex Master Multi Strategy

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