Collection · MT4

Mql4 Utility Collection

by n3rd-bugs

This collection for MetaTrader 4 provides a set of expert advisors designed for testing technical indicator logic and trade management.

GitHub stars1
Forks1
Last update8 years ago25 Aug 2018
LicenceMIT

Overview

The primary EA, Optimal Close, integrates Bollinger Bands and Stochastic oscillators to analyze market conditions across multiple timeframes. It features a built-in trailing stop mechanism for exit management. Other utilities in the repository include scripts for tracking stop losses via moving averages and logging indicator values. The repository serves as a testing environment, and the documentation is minimal.

Details

Author

n3rd-bugs on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

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

NameTypeDefaultDescription
TRAIL_STOPdouble100
BASE_INTERVALINTERVAL_INDEXM15
BB_PERIODint20
BB_DEVIATIONint2
BB_SHIFTint0
BB_APPLIED_PRICEENUM_APPLIED_PRICEPRICE_CLOSE
ST_Kint5
ST_Dint3
ST_Sint3
ST_UPint80
ST_DOWNint20
ST_METHODENUM_MA_METHODMODE_SMA
Show all 14 inputs
NameTypeDefaultDescription
ST_APPLIED_PRICEint1
MA_METHODENUM_MA_METHODMODE_LWMA

How to install it

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

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection
6 stars

This collection for MetaTrader 4 contains over eighty expert advisors and scripts primarily focused on Bollinger Band breakout strategies. The repository includes numerous variations for fixed lot sizes and specific money management settings. The included logic covers price action relative to moving averages and volati

MT4 Collection BreakoutArbitrageMean reversion
5 stars

This repository contains a collection of MetaTrader 4 expert advisors developed for educational purposes and backtesting practice. It features several distinct trading strategies, including moving average crossovers, stochastic counter-trend setups, and pending order breakouts. The included scripts demonstrate essentia

MT4 Collection Indicator crossoverMean reversionBreakout
Updated 10 years ago None stated GitHub repository of MQL4 Learning Collection
4 stars

This MetaTrader 4 collection provides several scripts designed to analyze price action and candlestick patterns. It includes modules for moving average crossovers, Bollinger Bands, and a specialized candlestick analysis tool. The software identifies specific formations such as hammers, dojis, and engulfing candles by c

MT4 Collection SMC / ICT / price actionIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Candlestick Charts System
4 stars

This repository is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m

MT4 Collection MartingaleGridIndicator crossover High risk

This repository offers a collection of MetaTrader 4 expert advisors focused on technical indicator triggers and price action. The suite includes tools for trading moving average crossovers, ADX momentum, and Stochastic oscillators. A dedicated EA identifies specific candlestick patterns such as Three White Soldiers and

MT4 Collection Indicator crossoverTrend followingMean reversion

More collections

Need a broker for MT4?

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

Compare brokers