Framework & template · MT5

Hedge Terminal

by SokolovVasiliy

Hedge Terminal is a specialized framework for MetaTrader 5 designed to facilitate hedging net positions and provide a structured API for managing expert advisors.

GitHub stars3
Forks3
Last update6 years ago15 Feb 2020
LicenceNone stated

Overview

The repository includes demonstration robots such as a moving average expert that operates across multiple timeframes. These examples show how to open trades based on indicator logic and manage them using integrated trailing stops. The toolkit is intended for developers building complex trade management logic or managing multiple strategies through a unified programmatic interface.

Details

Author

SokolovVasiliy on GitHub

Type

Framework & template

Platform

MetaTrader 5 (MQL5)

Strategy

Indicator crossover, Trend following, Hedging

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Holds opposite positions at once

Input parameters

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

NameTypeDefaultDescription
ma_periodint12MA period
sl_pipsint100Trailing stop in pips

How to install it

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

16 stars

This framework provides MQL5 header files and example expert advisors designed to trade on non-time-based Range Bar charts within MetaTrader 5. It includes template robots for moving average crossovers and Super Trend strategies. The included code manages trade execution with configurable stop loss, take profit, break-

MT5 Framework & template Indicator crossoverTrend following

Orchard Simple EA Template

by OrchardForexTutorials
13 stars

This collection provides educational templates for building MetaTrader 5 Expert Advisors. It includes demonstration robots that interface with indicators like MACD and Parabolic SAR using the iCustom function. The repository serves as a learning resource for structuring MQL5 code and handling trade execution. Each exam

MT5 Framework & template Indicator crossoverTrend following
2 stars

This MetaTrader 5 expert advisor acts as a modular architectural blueprint for developing complex algorithmic trading systems. It demonstrates a structured framework for separating user interface components, input configurations, and core execution logic into maintainable layers. While the repository provides placehold

MT5 Framework & template Trend followingGridHedging

Median Turbo Renko SDK

by gridgentoo
1 stars

This repository provides a specialized framework and example expert advisors for developing Renko-based trading systems on the MetaTrader 5 platform. It includes a dedicated MQL5 header library that simplifies integration with the Median Renko indicator bundle. The framework handles the acquisition of chart settings au

MT5 Framework & template Trend followingIndicator crossover

Mql Framework EA

by lvhaiyang
1 stars

This MetaTrader 5 expert advisor serves as a template and demonstration for automated trading systems. It implements a basic moving average crossover strategy using two configurable periods to determine market entries. The code is structured around a custom trading class that provides utility functions for analyzing hi

MT5 Framework & template Indicator crossoverHedging
Updated 5 years ago None stated GitHub repository of Mql Framework EA

TrendEngine Core

by Fintor-AI
1 stars

This MetaTrader 5 expert advisor serves as a modular framework and starter template for developing trend-following trading systems. It utilizes a clean architecture to separate signal logic, risk management, and order execution. The included demo logic implements a standard moving average crossover strategy to enter tr

MT5 Framework & template Trend followingIndicator crossover
Updated 9 months ago MIT GitHub repository of TrendEngine Core

More frameworks and templates

Need a broker for MT5?

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

Compare brokers