ONYXNIGHTSHADE / Parameter Guide
⏱️
Chart timeframe must be M15 Always attach the EA to a chart set to M15 (15 minutes). Any other timeframe on the chart can cause the robot to analyze the wrong data.
📦
Download the update file before activating After downloading the robot pack, make sure you also download the update file first. Only after installing the pack should you activate the EA.
Parameter Guide

Editable Robot Settings

This page lists every parameter you can change from the Inputs panel in MetaTrader 5, along with what it does and a suggested range. The robot's internal parameters (analysis engine, AI, scoring thresholds) are already calibrated and are not exposed, to prevent misconfiguration.

🔴 1. License

ParameterDescriptionRange / Default
LicenseKeyYour personal license key. The robot will not run without it.Issued by the websiteDefault: empty
NewsApiKeyYour NewsAPI.org API key for live news (optional).OptionalDefault: empty
AlphaVantageKeyYour AlphaVantage API key for market sentiment analysis (optional).OptionalDefault: empty
Onyx_EnableNewsAPITurns the internal Onyx news module on or off.On / OffDefault: Off
Onyx_BlockBeforeMinsHow many minutes before a major news release new trades are blocked.5–60 minutesDefault: 20

🟠 2. Risk Management

ParameterDescriptionRange / Default
Hedging_ModeWhether Hedging mode is on (a buy and a sell can be open on the same symbol at once).HEDGING_ON / OFFDefault: On
RiskPercentPercentage of account balance risked on each trade.0.5%–5%Default: 1.5% — above 5% is considered very high risk
DailyProfitTargetDaily profit percentage that, once reached, stops the robot from opening new trades for the rest of the day.10%–100%Default: 70%
SL_PipsMaximum stop-loss distance cap, in pips. Note: this is only a safety ceiling — the real stop-loss is calculated from ATR and price structure, not this number.5–50 pipsDefault: 10
UseFixedLotUse a fixed lot size instead of auto-calculating it from your risk percentage.On / OffDefault: On
FixedLotSizeThe fixed lot size, when UseFixedLot is on.0.01–0.1 for small accountsDefault: 0.05 — scale to your account size
MaxOpenPositionsMaximum number of positions open at the same time.1–5Default: 3

🟢 4. Trading Strategies

Each of these toggles one signal-detection engine on or off — on/off only, no numeric range.

ParameterDescriptionStatus
EnableDojiStrategyDoji candlestick pattern detection.On / Off
EnableEngulfingStrategyEngulfing candlestick pattern detection.On / Off
EnableHammerStrategyHammer candlestick pattern detection.On / Off
EnableTrendBreakStrategyTrend-break detection.On / Off
EnableMovingAverageStrategyMoving-average-based signals.On / Off
EnableRSIStrategyRSI-based signals.On / Off

All of these default to On.

🔵 5. Safety Filters

ParameterDescriptionRange / Default
MaxSpreadPointsMaximum spread allowed (in points) for a trade to open. Above this, the robot waits.15–50 pointsDefault: 30 — varies by broker

🟣 6. Stop Loss Management

ParameterDescriptionStatus
UseATRStopLossCalculate stop-loss from market volatility (ATR).On / OffDefault: On
UseStructuralStopLossCalculate stop-loss from recent candle highs/lows.On / OffDefault: On

🟢 7. Exit Management

ParameterDescriptionRange / Default
RR_ExitReward/risk ratio for the take-profit target. A value of 3 means TP is three times the stop-loss distance.1.5–5.0Default: 3.0
UseMultiStagePartialCloseEnable staged exits — closing part of the position in separate stages.On / OffDefault: On
ExitBeforeDayEndForce-close all open trades before the end of the trading day.On / OffDefault: Off
ExitHourForced-exit hour (when ExitBeforeDayEnd is on).0–23Default: 23
ExitMinuteForced-exit minute.0–59Default: 50

🟠 8. Trailing Stop

ParameterDescriptionRange / Default
UseAdvancedTrailingEnable advanced trailing stop (follows price to lock in profit).On / OffDefault: On

🔵 10. AI & Machine Learning

ParameterDescriptionStatus
EnableAIMLTurns the AI / machine-learning engine on or off in signal analysis.On / OffDefault: On

🟠 12. News & Time Filters

ParameterDescriptionStatus
EnableNewsCheckEnable checking for major economic news.On / OffDefault: On
AvoidNewsHoursAvoid trading during hours close to major news.On / OffDefault: On
EnableSentimentAnalysisMarket sentiment analysis (requires AlphaVantageKey).On / OffDefault: On

🟡 14. Arbitrage Strategy

ParameterDescriptionRange / Default
EnableArbitrageStrategyTurns the entire arbitrage module on or off.On / OffDefault: Off
ArbitragePair1/2/3Base names of the three currency pairs used for arbitrage.Standard symbol nameDefault: EURUSD / USDJPY / EURJPY
ArbitrageSymbolSuffixSymbol suffix matching your broker's format (dropdown).Pick from listDefault: no suffix
ArbitrageCustomSuffixCustom suffix — only used when "Custom" is selected in the dropdown above.Free textDefault: empty
ArbitrageCheckIntervalTime between each check for an arbitrage opportunity.1–30 secondsDefault: 5
ArbitrageLotSizeArbitrage trade lot size.0.01–0.5Default: 0.1 — scale to your account size
ArbitrageSLPointsArbitrage stop-loss, in points.10–100 pointsDefault: 30
ArbitrageTPPointsArbitrage take-profit, in points.5–50 pointsDefault: 10
MaxArbitragePositionsMaximum simultaneous arbitrage positions.1–5Default: 3
ArbitrageCommissionPerLotYour broker's commission per lot (USD) — must match your actual account's fee exactly for accurate profit calculation.Match your brokerDefault: 20
Matching your broker's symbols To find which suffix to pick for your broker's symbols, see the dedicated "Broker Symbol Matching" guide.

🟢 15. External Services

ParameterDescriptionRange / Default
GracePeriodAfterOpen_MinutesMinutes to wait after the market opens before the first trade (to skip the initial open volatility).0–120 minutesDefault: 60

🔵 16. System Settings

ParameterDescriptionRange / Default
AllowDllImportAllow use of external DLLs. Recommended to stay off unless you have a specific reason to enable it.On / OffDefault: Off
NewsCheckIntervalMinutesTime between each check for new news.5–30 minutesDefault: 10
EnableOfflineCalendarUse the internal/offline news calendar (no internet needed for this part).On / OffDefault: On
EnableClimaxReversalStrategyEnable detection of reversals at extreme market highs/lows.On / OffDefault: On
Important The suggested ranges on this page are based on the robot's internal logic and calibration, to help avoid unreasonable settings. Going outside them won't necessarily cause an error, but it can take the robot's behavior outside what has been tested. Always try changes on a demo account first.