Trading robot · MT5

Trend EA

by hiepit127

A trend-following trading robot for MetaTrader 5 that utilizes technical indicators and recovery lot scaling.

High risk

GitHub stars1
Forks0
Last update2 years ago5 Mar 2024
LicenceNone stated

Overview

Trend EA generates entry signals using a combination of the SuperTrend indicator, Exponential Moving Averages (EMA), and ADX filters. The expert advisor features a martingale-style lot multiplier that increases position sizes following losing trades, subject to a user-defined maximum lot limit. It includes built-in risk management via stop loss and take profit orders, plus optional trailing stop functionality and time-restricted trading windows. Spread filtering ensures execution only during favorable market conditions.

Details

Author

hiepit127 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Martingale, Indicator crossover

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

EA files

Input parameters

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

NameTypeDefaultDescription
iLotdouble0.01
iStopLossint2000
iTakeProfitint2000
iMuldouble2
iOderStepint200
iUseTradingStopboolfalse
iTradingStepint300
iMaxLotdouble2.56
iSpreadint125
iStartHourint14start time
iEndHourint22end time
useAdxboolfalsefilter with ADX
Show all 13 inputs
NameTypeDefaultDescription
useEMAbooltruefilter with EMA

How to install it

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

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

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

Bakome Hash EA

by Bakomebandias
1 stars

Bakome Hash EA is a trend-following expert advisor for MetaTrader 5 that combines Exponential Moving Average crossovers with RSI momentum filtering. It initiates trades based on the interaction between fast and slow EMAs while confirming momentum through RSI levels. The robot utilizes Average True Range for calculated

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 4 months ago MIT GitHub repository of Bakome Hash 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