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.
Read from EA Stochastic.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpStopLoss
ushort
15
Stop Loss, in pips (1.00045-1.00055=1 pips)
InpTakeProfit
ushort
46
Take Profit, in pips (1.00045-1.00055=1 pips)
InpTrailingFrequency
ushort
10
Trailing, in seconds (< "10" -> only on a new bar)
InpSignalsFrequency
ushort
10
Search signals, in seconds (< "10" -> only on a new bar)
InpTrailingStop
ushort
25
Trailing Stop (min distance from price to Stop Loss, in pips
InpTrailingStep
ushort
5
Trailing Step, in pips (1.00045-1.00055=1 pips)
InpLotOrRisk
ENUM_LOT_OR_RISK
risk
Money management: Lot OR Risk
InpVolumeLotOrRisk
double
3.0
The value for "Money management"
InpDeviation
ulong
10
Deviation, in points (1.00045-1.00055=10 points)
InpKperiod
int
5
Stochastic: K-period (number of bars for calculations)
InpDperiod
int
3
Stochastic: D-period (period of first smoothing)
InpSlowing
int
3
Stochastic: final smoothing
Show all 21 inputs
Name
Type
Default
Description
InpMa_method
ENUM_MA_METHOD
MODE_SMA
Stochastic: type of smoothing
InpPrice_field
ENUM_STO_PRICE
STO_LOWHIGH
Stochastic: stochastic calculation method
InpLevelUP
double
80
Stochastic signal (level UP)
InpLevelDOWN
double
20
Stochastic signal (level DOWN)
InpComparedBar
uchar
3
Compared bar (not a "0"!)
InpOnlyOne
bool
false
Only one positions
InpCloseOpposite
bool
false
Close opposite
InpPrintLog
bool
false
Print log
InpMagic
ulong
200
Magic number
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone alfredomaussa/MQL5 from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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
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
MT5CollectionIndicator crossoverMean reversionTrend following
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