Trading robot · MT5

Trend Finder EA

by GBNarasimha

Trend Finder EA is a MetaTrader 5 robot that identifies market trends using Average True Range calculations with specific trend factors.

GitHub stars1
Forks0
Last update1 year ago2 Jul 2025
LicenceNone stated

Overview

Trend Finder EA automates trade entries and provides comprehensive risk management through fixed lot sizes or percentage-based risk. The expert advisor features time-based filters for Asian, European, and New York sessions. Trade management is highly configurable, utilizing both pip-based and ATR-based stop losses, take profits, break-even levels, and partial trailing stops. The repository lacks a README, but the code includes visual labels and arrows to represent trend signals.

Details

Author

GBNarasimha on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following

Markets

Any symbol

Timeframes

Any timeframe

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

NameTypeDefaultDescription
ATRwithTrendFactordouble4.5ATR with trend factor
ATRagainstTrendFactordouble1.5ATR against trend factor
ATRperiodint14ATR period
LotSizedouble0.1Lot size
RiskPercentdouble2.0Risk percentage per trade
UseFixedLotbooltrueUse fixed lot size
StopLossPipsint100Stop loss in pips
TakeProfitPipsint200Take profit in pips
UseATRStopsbooltrueUse ATR for stops
ATRMultiplierSLdouble2.0ATR multiplier for stop loss
ATRMultiplierTPdouble4.0ATR multiplier for take profit
AsianSessionTradingbooltrueAllow trading during Asian session
Show all 40 inputs
NameTypeDefaultDescription
EuropeanSessionTradingbooltrueAllow trading during European session
NewYorkSessionTradingbooltrueAllow trading during New York session
AsianSessionStartstring00:00Asian session start time (GMT)
AsianSessionEndstring09:00Asian session end time (GMT)
EuropeanSessionStartstring07:00European session start time (GMT)
EuropeanSessionEndstring16:00European session end time (GMT)
NewYorkSessionStartstring13:00New York session start time (GMT)
NewYorkSessionEndstring22:00New York session end time (GMT)
UseBreakEvenbooltrueEnable break-even protection
BreakEvenTriggerPipsdouble50Pips profit to trigger break-even
BreakEvenOffsetPipsdouble5Pips beyond entry for break-even SL
UseATRBreakEvenbooltrueUse ATR for break-even calculations
ATRBreakEvenTriggerdouble1.0ATR multiplier for break-even trigger
ATRBreakEvenOffsetdouble0.2ATR multiplier for break-even offset
UsePartialTrailingbooltrueEnable partial trailing stop
TrailingStartPipsdouble100Pips profit to start trailing
TrailingStepPipsdouble20Trailing step in pips
TrailingStopPipsdouble30Trailing stop distance in pips
UseATRTrailingbooltrueUse ATR for trailing calculations
ATRTrailingStartdouble2.0ATR multiplier to start trailing
ATRTrailingStepdouble0.5ATR multiplier for trailing step
ATRTrailingStopdouble1.0ATR multiplier for trailing stop distance
ColorStartUpTrendcolorclrGreenStart Up Trend Color
ColorStartDownTrendcolorclrRedStart Down Trend Color
ColorEndTrendcolorclrPurpleEnd Trend Color
ColorBothcolorclrGrayColor when start and end trend are the same
ShowLabelsbooltrueShow text labels
ShowArrowsbooltrueShow arrow indicators

How to install it

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

EA Scalper XAUUSD

by francomascareloai
236 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Ladino Bot

by landim32
203 stars

Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee

MT5 Trading robot Indicator crossoverTrend following Archived
Updated 1 year ago GPL-3.0 GitHub repository of Ladino Bot

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

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

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