MAStoch is a MetaTrader 5 expert advisor that executes trades based on moving average crossovers, with an optional Stochastic oscillator filter for overbought and oversold conditions.
MAStoch features a dual-stage exit strategy allowing for partial closes at different Fibonacci levels or fixed currency targets. Risk controls include an initial stop loss in points, breakeven logic with a point gap adjustment, and lot sizing based on a fixed percentage of account equity. The robot also includes a daily profit target and time-based trading filters. The repository provides the source code with a minimal README.
Read from MAStoch.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
meta
double
0
Meta diária em moeda. Se 0 não usa
breakEvenFibo
double
161.8
Gatilho para BreakEven em porcentagem de Fibo
breakEvenMoeda
double
0
Gatilho para BreakEven em valor de moeda
breakEvenGap
double
5
Valor do BreakEven em pontos da entrada real
stopInicial
double
2000.0
Stop inicial em pontos
usaStoch
bool
false
Usa Estocástico?
riscoMoeda
double
0
Risco em moeda. Se 0 não usa
riscoPorCento
double
1
Risco em %
alvoFibo1
double
161.8
Alvo 1 em porcentagem de Fibo
Lote1
double
0.1
Lotes para Alvo 1
alvoFibo2
double
200
Alvo 2 em porcentagem de Fibo
Lote2
double
0.1
Lotes para Alvo 2
Show all 33 inputs
Name
Type
Default
Description
alvoMoeda1
double
0
alvoMoeda2
double
0
ma_period_fast
int
8
ma_shift_fast
int
0
ma_method_fast
ENUM_MA_METHOD
MODE_EMA
applied_price_fast
ENUM_APPLIED_PRICE
PRICE_CLOSE
ma_period_slow
int
80
ma_shift_slow
int
0
ma_method_slow
ENUM_MA_METHOD
MODE_EMA
applied_price_slow
ENUM_APPLIED_PRICE
PRICE_CLOSE
Kperiod
int
14
Dperiod
int
3
slowing
int
3
ma_method
ENUM_MA_METHOD
MODE_SMA
price_field
ENUM_STO_PRICE
STO_LOWHIGH
sc
int
80
Sobrecompra
sv
int
20
Sobrevenda
startHour
int
0
Hora de início dos trades
startMinutes
int
0
Minutos de início (fora da otimização)
stopHour
int
23
Hora de interrupção
stopMinutes
int
59
Minutos de interrupção (fora da otimização)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Rodorush/MAStoch 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.
EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di
Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee
Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n
This MetaTrader 5 expert advisor automates the 9.1 trading setup popularized by Larry Williams, utilizing an exponential moving average to detect trend shifts. It enters trades based on price action relative to the moving average slope. The system includes built-in trade management features like partial profit taking,