XSpark Trading Engine includes a collection of distinct Expert Advisors covering various methodologies: a trend-pullback scalper, candle momentum tracking, Smart Money Concepts (SMC), and ICT liquidity models. The system enforces strict risk controls, including percentage-based position sizing, daily drawdown limits, and an emergency account-wide kill switch. The architecture separates strategy logic from execution, featuring a visual dashboard for monitoring broker costs and trade status. It is currently in active development.
Modular safety and risk management architecture
Multiple strategy modules including SMC and ICT
Percentage-based risk with daily drawdown limits
Integrated visual dashboard for live monitoring
Session-gated trading with UTC offset configuration
Read from XSparkScalp.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpScalpEnableTrading
bool
false
Place real trades (off = watch and log only)
InpScalpRiskPct
double
1.0
Money risked on one trade (% of your balance)
InpScalpSessions
EXSparkScalpSessions
XSPARK_SCALP_SESSIONS_ALL
Which trading sessions to trade
InpScalpBrokerUtcOffset
int
0
Broker clock offset from UTC in hours (Exness uses 0)
InpScalpCommissionPerLot
double
0.0
Commission per 1.0 lot, both ways, in account money (0 = none)
InpScalpExitStyle
EXSparkScalpExitStyle
XSPARK_SCALP_EXIT_EVEN
Where the target sits
InpScalpMinLotRiskCapPct
double
3.0
Smallest trade may risk up to this % (0 = never exceed risk %)
InpScalpMaxDailyDDPct
double
6.0
Stop opening trades if the account falls this much today
InpScalpUseTotalDDKillSwitch
bool
true
Emergency stop: close everything on a big account fall
InpScalpMaxTotalDDPct
double
20.0
Account fall that sets off the emergency stop (%)
InpScalpMagicNumber
ulong
XSPARK_TRENDSCALP_MAGIC_DEFAULT
This bot's ID tag - a different one per chart
InpScalpVerboseLog
bool
false
Write detailed logs (for troubleshooting)
Show all 13 inputs
Name
Type
Default
Description
InpScalpClearKillswitchLatch
bool
false
Clear the emergency stop once, then set back to false
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Xennarc/xSpark 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.
This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul
This MetaTrader 5 repository features a diverse collection of automated trading strategies, including indicator-based scalpers and price action robots. The experts utilize technical filters such as Average True Range periods and baseline moving averages to identify entry signals. Key risk management features integrated
This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l
MT5CollectionScalpingMean reversionTrend following
This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Signal Poller EA series alongside standard indicator-based robots. The system is designed for high-leverage environments, specifically targeting gold, bitcoin, forex, and indices. It utilizes an external signal push architect
This repository provides a collection of MetaTrader 5 expert advisors based on Smart Money Concepts and ICT methodologies. The tools implement price action strategies including Fair Value Gaps, Market Structure Shifts, and the Next Day Model. Each EA handles trade execution with automated risk-based lot sizing and conf
MT5CollectionSMC / ICT / price actionScalpingTrend following
This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul