Collection · MT5

Templates MQ5

by sergey-vs

This MetaTrader 5 collection features automated trading robots, primarily focusing on a time-based range breakout strategy.

GitHub stars1
Forks0
Last update2 years ago9 Jun 2024
LicenceNone stated

Overview

The included Time Ranger EA identifies high and low price levels during a specific intraday window and executes trades upon a breakout. It incorporates risk management through stop loss and take profit levels calculated as a percentage of the range's height. Users can define specific trading days and an automatic closure time for all positions. The repository serves as a template for intraday breakout and stochastic-based strategies, though the provided README is minimal.

Details

Author

sergey-vs on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Breakout, Indicator crossover

Markets

Any symbol

Timeframes

M15-H1

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

NameTypeDefaultDescription
InpMagicNumderlong12345magic number
InpLotsdouble0.01lot size
InpStopLossint150stop loss in % the range ((0 = off) без стоп лосса)
InpTakeProfitint200take profit in % the range (( 0 = off) без тейк профита)
InpRangeStartint600range start time in minutes
InpRangeDurationint120range duration in minutes
InpRangeCloseint1200range close time in minutes ((-1 = off) закрытия позиции не будет)
InpBreakoutModeBREAKOUT_MODE_ENUMONE_SIGNALbreakout mode
InpMondeybooltruerange on mondey
InpTuesdaybooltruerange on tuesday
InpWednesdaybooltruerange on mondey
InpThursdaybooltruerange on thyrsday
Show all 13 inputs
NameTypeDefaultDescription
InpFridaybooltruerange on friday

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone sergey-vs/Templates-mq5 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

135 stars

This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri

MT4MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Nkanven EA Collection
101 stars

This collection for MetaTrader 5 provides a library and several expert advisors optimized for Renko chart trading. It includes a primary automated robot that executes trades based on Renko bar signals, as well as specific examples for moving average and price crossovers. The included tools offer robust trade management

MT5 Collection Trend followingIndicator crossoverBreakout
67 stars

This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Konz MQL5 EA Collection
5 stars

This collection of Expert Advisors for MetaTrader 5 provides specific automated strategies for Gold, Bitcoin, EURUSD, and Nasdaq. The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated

MT5 Collection BreakoutMean reversionScalping
4 stars

This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato

MT5 Collection Trend followingBreakoutMean reversion High risk
4 stars

This repository provides a collection of MetaTrader 5 expert advisors developed for learning algorithmic trading. The primary featured tool, TimeRangeEA, identifies price high and low points within a specific time window to execute breakout trades. It incorporates risk management through stop loss and take profit level

MT5 Collection BreakoutIndicator crossoverMean reversion

More collections

Need a broker for MT5?

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

Compare brokers