Collection · MT5

Alfredo Maussa MQL5 Collection

by alfredomaussa

This repository contains a collection of MetaTrader 5 Expert Advisors and scripts developed for educational and testing purposes.

High risk

GitHub stars16
Forks12
Last update5 years ago28 Mar 2021
LicenceNone stated

Overview

Alfredo Maussa MQL5 Collection includes various automated robots based on technical indicators such as the Stochastic Oscillator, RSI, and Moving Average crossovers. The primary Stochastic EA manages entries using overbought and oversold levels, featuring built-in stop loss, take profit, and trailing stop functionality. Risk controls allow for fixed lot sizes or percentage-based risk per trade. Some files in the collection explicitly use martingale lot scaling, while others focus on trade management and trailing stop logic.

Details

Author

alfredomaussa on GitHub

Type

Collection

Strategy

Indicator crossover, Martingale, Mean reversion, Multi-strategy

Markets

Forex

Timeframes

Any timeframe

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Topics

mql5trading-bot

Input Parameters

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

NameTypeDefaultDescription
InpStopLossushort15Stop Loss, in pips (1.00045-1.00055=1 pips)
InpTakeProfitushort46Take Profit, in pips (1.00045-1.00055=1 pips)
InpTrailingFrequencyushort10Trailing, in seconds (< "10" -> only on a new bar)
InpSignalsFrequencyushort10Search signals, in seconds (< "10" -> only on a new bar)
InpTrailingStopushort25Trailing Stop (min distance from price to Stop Loss, in pips
InpTrailingStepushort5Trailing Step, in pips (1.00045-1.00055=1 pips)
InpLotOrRiskENUM_LOT_OR_RISKriskMoney management: Lot OR Risk
InpVolumeLotOrRiskdouble3.0The value for "Money management"
InpDeviationulong10Deviation, in points (1.00045-1.00055=10 points)
InpKperiodint5Stochastic: K-period (number of bars for calculations)
InpDperiodint3Stochastic: D-period (period of first smoothing)
InpSlowingint3Stochastic: final smoothing
Show all 21 inputs
NameTypeDefaultDescription
InpMa_methodENUM_MA_METHODMODE_SMAStochastic: type of smoothing
InpPrice_fieldENUM_STO_PRICESTO_LOWHIGHStochastic: stochastic calculation method
InpLevelUPdouble80Stochastic signal (level UP)
InpLevelDOWNdouble20Stochastic signal (level DOWN)
InpComparedBaruchar3Compared bar (not a "0"!)
InpOnlyOneboolfalseOnly one positions
InpCloseOppositeboolfalseClose opposite
InpPrintLogboolfalsePrint log
InpMagiculong200Magic number

How to Install It

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

Introducao MQL5 Collection

by RafaelFenerick
75 stars

This repository is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Introducao MQL5 Collection

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
2 stars

This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili

MT4 Collection Indicator crossoverTrend followingMean reversion High risk
1 stars

This repository is a collection of several MetaTrader 4 expert advisors, including robots based on RSI and MACD crossovers, engulfing patterns, and pending order strategies. The primary code provided utilizes a combination of the Relative Strength Index (RSI) for overbought and oversold detection and Moving Average Con

MT4 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Forex Code MQL4 Collection
140 stars

This repository provides a collection of Expert Advisors for MetaTrader 5 and Python trading scripts developed for an educational YouTube series. It features various technical indicator-based strategies, including MACD, Relative Strength Index, Stochastic, and Bollinger Bands. The included MQL5 files implement multi-ti

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 3 years ago None stated GitHub repository of Kecoma Trading Collection
67 stars

This repository contains a collection of MetaTrader 5 expert advisors, primarily focused on the ChildsPlay strategy derived from online trading forums. The main expert advisor uses multiple exponential moving averages and the Commodity Channel Index across two timeframes to identify trend-following entries. It implemen

MT5 Collection Indicator crossoverMean reversionAI / machine learning
Updated 6 years ago None stated GitHub repository of ChildsPlay MQL5 Collection

More collections

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers