Forex Spark Light Robot

Forex Spark Light Robot is a fully automated expert advisor that uses advanced algorithms for the price analysis of the latest trends. Every order has StopLoss and every order is placed based on the primary or the secondary trend analysis algorithm.

This EA does NOT use Martingale or Arbitrage strategy. It can trade more orders at the same time but every order has the same Lot size if using FixedLotSize.

SparkLight EA is NOT a minute scalper or tick scalper that produces high number of trades per day. This EA is fully customizable by user and is not limited by trading pair or time-frame (recommended to use on M15 – H4 time-frames). Every trading pair and time-frame requires slight modification of parameters for the best performance.

SparkLight EA default settings is optimized for EURUSD H1 (optimized since the end of 2017 – present). More optimized files will be added to the blog.


  • Adapt your own risk settings according to the account equity and always verify with back-test
  • True ECN broker and VPS server is always recommended for any type of automated trading
  • Use minimal deposit of 300 USD per trading pair
  • Verify that you have enough margin to trade (especially If using low leverages and small account deposit)

Test results:

Forex Spark Light Robot


General Settings

  • Magic – Magic number – MUST be unique for each chart
  • CommentOrders – Optional – Custom comment for orders
  • StatusIntervalInHours – Interval in hours for EA status message (Printed to the Expert tab)
  • EnablePushNotifyStatus – Enable/disable sending EA status via Push notifications (interval of notification set by StatusIntervalInHours)

Risk Settings

  • MaxOrders – Maximum number of orders that can be traded simultaneously
  • MinDistance – Minimum distance in points between actual market price and already opened position in case there will be more position opened
  • CloseProfit – Closes opened position once this target reached (per position, but also taken in account number of position, ClosingCondition, swaps, commissions, etc.)
  • ClosingCondition – Algorithm for order closing condition (Simple / Combined / Advanced / Exponential)
  • MinuteBasisClose – If true: the EA will check for the closing condition every minute; if false: the EA will check for the closing condition every new bar
  • FixedLotSize – Fixed size of the Lot to trade (UseAutoLot has to be disabled)
  • StopLoss – Stop loss in points
  • TakeProfit – Take profit in points
  • MaxSlippage – Maximum slippage for orders opening and closing

Risk Settings – Automatic Lot

  • UseAutoLot – Enable/disable automatic lot size calculation base don account balance, StopLoss and number of MaxOrders
  • RiskInPercentOfBalance – Risk in percent of account balance (considers also the MaxOrders)
  • MaxLotSize – Maximum size of the lot (Can vary from brokers max lot size, because it considers also MaxOrders)

SparkLite Specific Settings

  • TrendPeriod – Main parameter to determine the trend determination
  • MainFilter – Filtering of the trend direction false signals
  • WeightX – Has impact on trend algorithm convergence (NOTE: These values should NOT be the same – WeightX should be different from WeightY)
  • WeightY – Has impact on trend algorithm convergence (NOTE: These values should NOT be the same – WeightX should be different from WeightY)

Info Panel Settings

  • ShowInfoPanel – Show/Hide Info Panel
  • PanelBackgroundColor – Info Panel background color
  • PanelHeaderColor – Info Panel Header background color
  • HeaderFontColor – Info Panel Header font color

Forex Spark Light Robot For Metatrader 4


Copy and paste the file into the MQL4 Experts folder of the Metatrader 4 trading platform.

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Experts (paste here)

Other forex indicators and strategies

Leave a Comment