Collection · MT4

Parallel Strategies

by Pierre8r

Parallel Strategies is a MetaTrader 4 expert advisor designed to execute multiple independent technical strategies simultaneously.

GitHub stars20
Forks11
Last update8 years ago9 Oct 2017
LicenceNone stated

Overview

Parallel Strategies includes modules for Moving Average crossovers, MACD breakouts, Heiken Ashi signals, and a hybrid Heiken-MACD system. Each strategy operates with a unique magic number to allow concurrent execution. Risk management is handled through fixed lot sizes or account percentage-based calculations, complemented by trailing stops and spread filters. The EA also provides a detailed scheduler to restrict trading to specific hours and weekdays. Note that stop loss and take profit default to zero.

Details

Author

Pierre8r on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Breakout, Multi-strategy

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Trades without a fixed stop loss

Topics

mql4metatradermetatrader-4

Input parameters

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

NameTypeDefaultDescription
expertinfostring Parallel Strategies EA [ <EXPERT INFO> ]
expdeveloperstringhttps://www.mql5.com/en/users/rodobossBy
magicnumbersstring===========[ <MAGIC NUMBERS> ]=========[ <MAGIC NUMBERS> ]
Magic1int11Magic Number Strategy 1
Magic2int12Magic Number Strategy 2
Magic3int13Magic Number Strategy 3
Magic4int14Magic Number Strategy 4
Strategiesliststring===========[ <Strategies> ]=========[ <List Strategies> ]
usemovingcrosseabooltrueUSE moving cross Strategy ?
mamethodesENUM_MA_METHODMODE_EMAFast Moving Average Methode
mamethodes2ENUM_MA_METHODMODE_SMASlow Moving Average Methode
usemacdbreakoutbooltrueUSE Macd breakout Strategy ?
Show all 40 inputs
NameTypeDefaultDescription
useheikenahsieabooltrueUSE Heiken Ashi Strategy ?
useheikenashiandmacdeabooltrueUSE Heiken and MACD Strategy ?
mmstring===========[ <Money Management> ]=========[ <Money Management> ]
exLotsdouble0.01Lot Size
RiskMMboolfalseRisk Management
RiskPercentdouble5Risk Percentage
tmstring===========[ <Order Management> ]=========[ <Order Management> ]
exStopLossdouble00.0Stop Loss
exTakeProfitdouble00.0Take Profit
exTrailingStopdouble10.0Trailing Stop
exmaxSpreaddouble30.0[Max Spread]
WeekDaysstring===========[ <WEEK DAYS> ]=========[ <WEEK DAYS> ]
exemplestring ------- Hour settings: set to 24 for no limitations
MondaybooltrueMonday Trade
Monday_Start_Hourint24Monday Start Hour
Monday_Finish_Hourint24Monday Finish Hour
TuesdaybooltrueTuesday Trade
Tuesday_Start_Hourint24Tuesday Start Hour
Tuesday_Finish_Hourint24Tuesday Finish Hour
WednesdaybooltrueWednesday Trade
Wednesday_Start_Hourint24Wednesday Start Hour
Wednesday_Finish_Hourint24Wednesday Finish Hour
ThursdaybooltrueThursday Trade
Thursday_Start_Hourint24Thursday Start Hour
Thursday_Finish_Hourint24Thursday Finish Hour
FridaybooltrueFriday Trade
Friday_Start_Hourint24Friday Start Hour
Friday_Finish_Hourint24Friday Finish Hour

How to install it

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

EJ Trader MT5 Collection

by ejtraderPlugins
3 stars

This repository is a diverse collection of MetaTrader 5 Expert Advisors, featuring nearly 100 different scripts sourced from various origins. The library includes automated robots based on standard indicators like Bollinger Bands, MACD, Stochastics, and moving average crossovers, as well as channel trading systems and

MT5 Collection Indicator crossoverMean reversionBreakout High risk
Updated 8 years ago None stated GitHub repository of EJ Trader MT5 Collection
3 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors and utility scripts for automated trading. The primary logic focuses on managing pending orders through dynamic distance adjustments, time-scheduled trade execution, and sophisticated trailing stops that operate via price ticks or millisecond

MT5 Collection BreakoutIndicator crossoverTrend following
Updated 2 years ago None stated GitHub repository of Cesreve MQL5 Collection

MQL5 Article Collection

by mhassanhub
2 stars

This repository serves as an extensive educational resource for MetaTrader 5, containing a wide variety of Expert Advisors and indicators based on a series of MQL5 development articles. It includes robots utilizing technical indicators such as RSI, MACD, Ichimoku, and Bollinger Bands. The collection features tools for

MT5 Collection Indicator crossoverMean reversionBreakout
Updated 12 months ago None stated GitHub repository of MQL5 Article Collection
1 stars

This repository contains a collection of MetaTrader 5 expert advisors designed for a quantitative trading seminar by QRT Solutions. It includes multiple models such as US opening gap momentum, opening range breakouts, and SMA-based gold strategies. Each robot features professional risk management components including t

MT5 Collection Trend followingBreakoutIndicator crossover
1 stars

This MetaTrader 5 repository provides a collection of seventeen quantitative trading strategies designed for educational and research purposes. The primary expert advisor implements a US opening gap momentum strategy, utilizing ATR-based gap thresholds and Z-Score volatility regime detection to identify entry points. R

MT5 Collection BreakoutTrend followingIndicator crossover
1 stars

This collection for MetaTrader 5 provides a diverse range of algorithmic trading strategies and utility scripts. The featured Precision Sniper EA utilizes indicator resonance, combining EMA, RSI, and ATR for entry signals. It incorporates sophisticated risk controls including three-stage partial profit taking, structur

MT5 Collection Trend followingBreakoutMulti-strategy
Updated 2 months ago None stated GitHub repository of Precision Sniper EA Library

More collections

Need a broker for MT4?

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

Compare brokers