Viprasol MA Cross EA filters entry signals using ADX trend strength, RSI momentum thresholds, maximum allowed spread, and configurable trading sessions. Position sizing can be calculated using fixed lot sizes or equity risk percentage with a hard volume limit. Trade management includes volatility-based ATR stop loss and take profit levels, an ATR trailing stop, a break-even function, and an optional exit on opposite EMA crosses. Additional controls include a daily maximum trade limit and an on-chart statistics dashboard.
Read from ViprasolMACrossEA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
FastPeriod
int
12
Fast EMA period
SlowPeriod
int
26
Slow EMA period
MAMethod
ENUM_MA_METHOD
MODE_EMA
MA smoothing method
SignalTF
ENUM_TIMEFRAMES
PERIOD_CURRENT
Signal timeframe
MMMode
ENUM_MM_MODE
MM_RISK_PCT
Position sizing mode
FixedLot
double
0.10
Fixed lot (MM_FIXED_LOT)
RiskPercent
double
1.0
Risk per trade % (MM_RISK_PCT)
MaxLotCap
double
5.0
Hard cap on computed lots
ATRPeriod
int
14
ATR period for stops
SL_ATR
double
2.0
Stop-loss = SL_ATR * ATR
TP_ATR
double
3.0
Take-profit= TP_ATR * ATR
UseBreakEven
bool
true
Enable break-even move
Show all 40 inputs
Name
Type
Default
Description
BE_TriggerATR
double
1.0
Profit (ATR) to arm break-even
BE_OffsetPts
double
5.0
Break-even offset (points, locked profit)
UseTrailing
bool
true
Enable ATR trailing stop
Trail_ATR
double
2.0
Trailing distance = Trail_ATR * ATR
Trail_StepPts
double
10.0
Min improvement to modify SL (points)
UseADXFilter
bool
true
Require trend strength (ADX)
ADXPeriod
int
14
ADX period
ADXMinLevel
double
20.0
Min ADX to allow entries
UseRSIFilter
bool
true
Require RSI confirmation
RSIPeriod
int
14
RSI period
RSIBuyMax
double
70.0
Block longs if RSI above this
RSISellMin
double
30.0
Block shorts if RSI below this
UseSpreadFilter
bool
true
Block entries on wide spread
MaxSpreadPts
double
30.0
Max spread (points) to enter
UseSession
bool
true
Restrict trading to a window
SessionStartHour
int
7
Session start hour (server time)
SessionEndHour
int
20
Session end hour (server time)
TradeMonday
bool
true
Allow Monday
TradeTuesday
bool
true
Allow Tuesday
TradeWednesday
bool
true
Allow Wednesday
TradeThursday
bool
true
Allow Thursday
TradeFriday
bool
true
Allow Friday
CloseOutsideSession
bool
false
Close trades outside session
MaxTradesPerDay
int
5
Max new trades per day (0 = unlimited)
ExitOnOppositeCross
bool
true
Close on opposite EMA cross
MagicNumber
ulong
20250101
EA magic number
MaxSlippage
ulong
20
Max slippage (points)
ShowDashboard
bool
true
Draw info panel on the chart
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone Viprasol-Tech/mt5-expert-advisor 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
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
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
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,