Trading robot · MT4

Forex Trend Trader

by Daiwv

This expert advisor for MetaTrader 4 executes a trend-following strategy using technical indicators.

High risk

GitHub stars2
Forks0
Last update6 years ago2 Dec 2019
LicenceNone stated

Overview

Forex Trend Trader calculates entry signals by monitoring moving averages and utilizes price envelopes as a volatility filter. The system also tracks the Average True Range to evaluate momentum and market shifts. Risk management includes fixed stop loss and take profit levels, as well as an optional position sizing algorithm based on account risk percentages. The project is currently a work in progress with minimal documentation provided in the repository.

Details

Author

Daiwv on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Indicator crossover, Martingale

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

EA files

Input parameters

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

NameTypeDefaultDescription
Lotsdouble1.0
TakeProfitdouble950
StopLossdouble60
MA_Periodint160
Deviationdouble0.3
ATR_Periodint50
ATR_Shiftint2
isSizingOnbooltrue
Riskdouble1

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Daiwv/Forex-Trend-Trader 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

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA

The Falcon

by Lucas170
10 stars

The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 years ago None stated GitHub repository of The Falcon

EA HiLo

by yuriodilon
6 stars

EA HiLo is an automated trading robot for MetaTrader 4 that utilizes the HiLo Activator indicator for signal generation. It executes buy orders when the price closes above the indicator and sell orders when it closes below. The system includes a directional filter based on a moving average to confirm market trends befo

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 5 years ago None stated GitHub repository of EA HiLo

Belinda Sizing EA

by Lucas170
5 stars

The Belinda Sizing EA is a MetaTrader 4 expert advisor that executes a trend-following strategy based on Simple Moving Average crossovers. It uses a volatility filter comparing current Average True Range values against historical data to confirm market conditions before entry. Trades are managed with a hard stop loss a

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing EA

Belinda Sizing

by Lucas170
5 stars

This MetaTrader 4 expert advisor executes a trend-following strategy based on simple moving average crossovers. It enters trades when a short-term SMA crosses a long-term SMA, provided a volatility filter using the Average True Range is met. The system includes automated exit logic via opposite crossovers, a hard stop

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing

Belinda Sizing

by Lucas170
4 stars

Belinda Sizing is an automated trading robot for MetaTrader 4 that utilizes a dual moving average crossover strategy combined with a volatility filter. It enters trades when a short-period simple moving average crosses a long-period moving average, provided that current volatility measured via the Average True Range is

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing

More trading robots

Need a broker for MT4?

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

Compare brokers