Portuguese employs five distinct moving average periods and shifts to identify trade signals. The system manages positions through a comprehensive set of risk controls including fixed stop loss and take profit levels, a break-even function, and a trailing stop with adjustable steps. The README describes the project as an educational example, and it uses standard volume-based lot sizing without complex recovery mechanisms.
Read from Portuguese.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
ma_period
int
5
MA period
ma_shift
int
6
change shift, 0 is current point
ma_period2
int
10
MA period 2
ma_shift2
int
2
change shift 2, 0 is current point
ma_period3
int
15
MA period 3
ma_shift3
int
3
change shift 3, 0 is current point
ma_period4
int
20
MA period 4
ma_shift4
int
4
change shift 4, 0 is current point
ma_period5
int
25
MA period 5
ma_shift5
int
5
change shift 5, 0 is current point
magic_number
ulong
191817
magic number
dev_point
ulong
10
deviations point
Show all 29 inputs
Name
Type
Default
Description
ma_method
ENUM_MA_METHOD
MODE_SMA
MA method
ma_price
ENUM_APPLIED_PRICE
PRICE_CLOSE
MA price type
ma_method2
ENUM_MA_METHOD
MODE_SMA
MA method
ma_price2
ENUM_APPLIED_PRICE
PRICE_CLOSE
MA price type
ma_method3
ENUM_MA_METHOD
MODE_SMA
MA method
ma_price3
ENUM_APPLIED_PRICE
PRICE_CLOSE
MA price type
ma_method4
ENUM_MA_METHOD
MODE_SMA
MA method
ma_price4
ENUM_APPLIED_PRICE
PRICE_CLOSE
MA price type
ma_method5
ENUM_MA_METHOD
MODE_SMA
MA method
ma_price5
ENUM_APPLIED_PRICE
PRICE_CLOSE
MA price type
order_type_filling
ENUM_ORDER_TYPE_FILLING
ORDER_FILLING_RETURN
choose order filling type
lot
double
0.01
volume
stop_loss
ushort
500
stop loss in point
take_profit
ushort
500
take profit in point
break_even
ushort
5
break even in point
trailing_stop
ushort
6
trailing stop in point
trailing_step
ushort
2
trailing step in point
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone gandra70/Portuguese.mq5 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,