Trading robot · MT5

Trend Lines With Breaks EA

by traderfour

This MetaTrader 5 expert advisor automates trading based on trendline breakouts.

High risk

GitHub stars1
Forks0
Last update3 years ago25 Mar 2023
LicenceNone stated

Overview

Trend Lines With Breaks EA identifies market trends by calculating pivot highs and lows over a specific period. The slope of the trendlines is determined using Average True Range, standard deviation, or linear regression methods. The robot enters trades when price breaks above or below these dynamic lines, with an option to filter for confirmed breakouts only. It utilizes an external trading framework for execution, supporting standard stop loss and take profit controls.

Details

Author

traderfour on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Breakout, Trend following, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
input_IndicatorNamestringTrader4\\trend-line\\TrendLinesWithBreaks-IndicatorIndicatorName
input_lengthint14length
input_Slopedouble1.Slope
input_methodENUM_MethodAtrSlope Calculation Method

How to install it

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

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

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 9 months ago None stated GitHub repository of Prop Firm EA Fleet

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

Apex Breakout

by sbrakni
2 stars

This Expert Advisor for MetaTrader 5 offers two distinct trading modes: Donchian Channel breakouts for trend following and session range breakouts for daytrading. The Donchian mode utilizes high/low channel breaks filtered by an Exponential Moving Average, while the session mode targets breakouts from defined UTC time

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 6 weeks ago None stated GitHub repository of Apex Breakout

Breakout FVG Bot

by Covenantmondei
1 stars

This MetaTrader 5 expert advisor implements a breakout strategy combined with Fair Value Gap alignment, primarily optimized for Gold (XAUUSD). It enters trades based on momentum and price range breaks, utilizing ATR-based calculations for dynamic stop loss and take profit levels. The system includes comprehensive risk

MT5 Trading robot BreakoutSMC / ICT / price actionTrend following High risk
Updated 9 months ago None stated GitHub repository of Breakout FVG Bot

Accure Dynasty

by wilfredNJH
1 stars

This MetaTrader 5 expert advisor provides a framework for trade execution with a heavy emphasis on risk management and scheduling. It offers multiple methods for calculating trade volume and exits: manual points, percentage of account risk, and ATR-based calculations. The EA includes a partial profit-taking system and

MT5 Trading robot Trend followingBreakoutMartingale High risk
Updated 10 months ago None stated GitHub repository of Accure Dynasty

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