PDSF Mean Reversion utilizes a mean-reversion strategy based on the Volume Weighted Average Price (VWAP), entering trades when price deviates from the indicator by a specific distance. The robot supports market, limit, and stop orders, with risk managed through fixed lot sizing and point-based stop loss and take profit levels. It includes day trading filters to restrict operations to specific hours and implements a daily maximum profit and loss protector. The README is minimal, as the code is provided for academic study.
Read from SinaisF2.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Name0
string
—
Universidade de Brasília - Campus UnB Gama - Engenharias
Name1
string
—
Aula 07: Processamento Digital de Sinais Financeiros - UnB
Name2
string
—
Autor: Professor Marcelino Andrade (mrclnndrd@gmail.com)
MagicNumber
ulong
1111
Magic Number:
FixedVolume
double
1
Volume Operacional;
Periodovwap
int
12
Periodo da Media VWAP;
Distanciavwap
double
700
Distância da Media VWAP;
Tipo_de_Operacao
Operacao
Comprado_Vendido
Natureza da Operação;
Tipo_de_Ordem
Ordem
Mercado
Natureza da Ordem (ATIVIDADES 01 E 02):
DistanciaPEN
double
0
Distancia da Ordem Pendente (ATIVIDADES 01 E 02);
DuracaoPEN
int
0
Duraçao da Ordem Pendente (ATIVIDADES 01 E 02);
Tipo_de_Profit
StopGain
Com_StopGainA
Estratégia de Lucro:
Show all 28 inputs
Name
Type
Default
Description
TakeProfit
int
1000
Distancia StopGain [pts];
Tipo_de_Stop
Stop
StopLoss_Media
Estratégia de Proteção:
TakeLoss
int
800
Distancia StopLoss [pts];
MA_Chart_Timeframe
ENUM_MA_TIMEFRAME
M15
Tempo Gráfico:
Tipo_de_Modos
Modo
DayTrade
Modos Operacionais (ATIVIDADE 03);
horaInicio
horas
h09
Hora Inicial para Abrir Posiçoes;
minutoInicio
minutos
m15
Minuto Inicial para Abrir Posiçoes;
horaFim
horas
h10
Hora Final para Abrir Posicoes;
minutoFim
minutos
m30
Minuto Final para Abrir Posicoes
horaTerm
horas
h11
Hora de Fechamento DayTrade;
minutoTerm
minutos
m00
Minuto de Fechamento DayTrade;
Tipo_de_Fill
fill
RETURN
Modos de Preenchimento;
Fun_OnTester
avaliar
Fun_01
Funções de Avaliação (ATIVIDADE 04);
InpAutoColors
bool
true
Auto Colors
title_ea_options
string
=== EA Options ===
EA Options
Lucro_dia_Maximo
double
500
Lucro e prejuizo diario maximo
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone L-M-Digital/Repositorio-PDSF 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, and any .mqh files into the Include folder the code expects.
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 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
An automated MetaTrader 5 expert advisor that executes a bi-directional grid trading strategy. It uses the Average True Range (ATR) indicator to dynamically calculate grid spacing, allowing the system to adapt to current market volatility. The robot supports neutral, bullish, and bearish modes. It includes risk managem
This MetaTrader 5 expert advisor serves as an educational example from a book on MQL5 programming. It implements a versatile trading system that can be configured to use moving average crossovers, Relative Strength Index levels, or both indicators combined for trade entries. The EA manages risk with user-defined stop l
Spike Trader is a price action robot for MetaTrader 4 and 5 that identifies price spikes to trade market reversals. It monitors candle highs or lows relative to preceding bars and requires a specific percentage price jump and candle close position to trigger an entry. The EA enters trades in the opposite direction of t
Allegro Stormer is a MetaTrader 5 expert advisor that implements a specific technical setup based on momentum and oscillator indicators. It utilizes a Momentum indicator filtered by a moving average alongside a Stochastic Oscillator to identify entry points. Risk management is centralized around the Average True Range,
Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index