🔢 AuroraGold EA By Khadim Hussain MT5 – Complete Inputs & Settings Guide
AuroraGold EA By Khadim Hussain MT5 is a trend-continuation Expert Advisor developed for automated Gold trading on XAUUSD M15. Its configuration combines higher-timeframe trend confirmation, ATR-based volatility filters, structured Stop Loss and profit targets, partial position management, break-even protection, and chandelier trailing.
The supplied Inputs also provide session controls, weekday filters, spread protection, news blackout settings, equity-based risk management, and entry filters using EMA, RSI, and Donchian breakout logic. The published product description confirms that AuroraGold is designed to trade in the direction of the higher-timeframe trend and supports both pullback and breakout entries.

🔢 Volatility and Spread Filters
🔹 ATR period (signal TF) = 14 — Sets the ATR calculation period on the signal timeframe to 14 bars.
🔹 ATR average period = 100 — Uses 100 bars to calculate the average ATR reference for relative volatility filtering.
🔹 Min ATR / avgATR (0=off) = 0.65 — Requires current ATR to be at least 0.65× the average ATR; 0 would disable this filter.
🔹 Max ATR / avgATR (0=off) = 2.5 — Limits current ATR to a maximum of 2.5× the average ATR; 0 would disable this filter.
🔹 Max spread (quote currency, 0=off) = 0.45 — Sets the maximum permitted spread at 0.45 in the quote-currency calculation; 0 disables the spread limit.
🔹 Max spread / ATR (0=off) = 0.12 — Limits spread relative to ATR to 0.12; 0 disables this relative spread filter.
🔢 Stop, Targets and Trailing
🔹 Stop distance (x ATR) - wide on purpose, see README = 3.0 — Sets the initial Stop Loss distance to 3.0× ATR, providing a deliberately wider volatility-based stop.
🔹 Structure swing lookback (0=ATR only) = 12 — Looks back 12 bars when determining a structural swing-based Stop Loss; 0 would use ATR only.
🔹 Cap structure stop at (x ATR) - inert while <= InpSL_ATR = 3.0 — Caps the structure-based stop at 3.0× ATR when the parameter is active relative to the underlying ATR stop setting.
🔹 First target (R multiple, 0=off) = 1.2 — Sets the first profit target at 1.2R, where R represents the initial trade risk; 0 disables the first target.
🔹 Percent closed at first target = 50.0 — Closes 50.0% of the position when the first profit target is reached.
🔹 Move to break-even at (R, 0=off) = 1.0 — Moves the Stop Loss toward break-even after the trade reaches 1.0R; 0 disables this function.
🔹 Lock in at break-even (R) = 0.1 — Locks in 0.1R when the break-even mechanism is activated instead of placing the stop exactly at the original entry price.
🔹 Trail the runner = true — Enables trailing management for the remaining position after partial profit-taking.
🔹 Chandelier trail (x ATR) = 2.2 — Sets the chandelier trailing distance to 2.2× ATR for the remaining position.
🔹 Start trailing at (R) = 1.0 — Begins trailing the remaining position once profit reaches 1.0R.
🔹 Hard take profit (R, 0=none) = 0.0 — No fixed hard profit target is imposed because the value is 0.0; 0 means none.
🔹 Time stop (signal bars, 0=off) = 0 — Disables the time-based exit because the value is 0.
🔢 Trading Sessions
🔹 Restrict trading hours = true — Enables the trading-session restriction.
🔹 Session start hour = 8 — Allows the configured trading session to begin at broker-server hour 8.
🔹 No new trades after this hour = 20 — Prevents new entries after broker-server hour 20.
🔹 Trade Monday = true — Allows new trades on Monday.
🔹 Trade Tuesday = true — Allows new trades on Tuesday.
🔹 Trade Wednesday = true — Allows new trades on Wednesday.
🔹 Trade Thursday = true — Allows new trades on Thursday.
🔹 Trade Friday = true — Allows new trades on Friday.
🔹 Friday: no new trades after = 18 — Prevents new Friday entries after broker-server hour 18.
🔹 Flatten everything Friday = false — Disables the option to close all open positions on Friday.
🔹 Friday flatten hour = 21 — Sets the Friday full-close hour to 21 if the Friday flatten function is enabled.
🔢 News Blackout
🔹 Skip high-impact news = false — Disables the high-impact news trading blackout in the current configuration.
🔹 Currencies to watch = USD,EUR — Specifies USD and EUR as the currencies monitored when the news filter is active.
🔹 Blackout before (minutes) = 20 — Defines a 20-minute no-trading period before a relevant high-impact event when the news blackout is enabled.
🔹 Blackout after (minutes) = 20 — Defines a 20-minute no-trading period after a relevant high-impact event when the news blackout is enabled.
🔢 General Settings
🔹 Magic number = 20260905 — Assigns 20260905 as the unique identifier used to distinguish AuroraGold trades from other positions.
🔹 Order comment = AuroraGold — Adds AuroraGold as the comment associated with orders generated by the EA.
🔹 Max slippage (quote currency, e.g. USD) = 0.3 — Sets the maximum permitted slippage at 0.3 in the quote-currency-based calculation.
🔹 Show on-chart panel = true — Enables the EA's information panel directly on the trading chart.
🔹 How much to write to the Experts tab = + every entry, exit, partial and break-even — Configures the Experts log to record every entry, exit, partial close, and break-even event.
🔢 Risk and Money Management
🔹 Lot sizing mode = Percent of equity risked per trade — Uses a percentage of account equity as the basis for calculating position size.
🔹 Risk per trade (% of equity) = 0.5 — Sets the target risk to 0.5% of equity per trade.
🔹 Fixed lot (fixed mode only) = 0.01 — Sets the fixed position size to 0.01 lots when fixed-lot mode is selected.
🔹 Hard lot ceiling = 10.0 — Caps the calculated position size at a maximum of 10.0 lots.
🔹 Max simultaneous positions = 1 — Allows a maximum of 1 simultaneous position.
🔹 Daily loss cap (% of day-start equity, 0=off) = 4.0 — Sets the maximum daily loss at 4.0% of day-start equity; 0 would disable the cap.
🔹 Daily profit stop (%, 0=off) = 0.0 — Disables the daily profit target because the value is 0.0%.
🔹 Equity drawdown lock (% from peak, 0=off) = 25.0 — Stops new trading when equity drawdown from the peak reaches 25.0%.
🔹 Profit stop: equity >= this -> close all, stop (0=off) = 0.0 — Disables the absolute equity profit-stop level because the value is 0.0.
🔹 Loss stop: equity <= this -> close all, stop (0=off) = 0.0 — Disables the absolute equity loss-stop level because the value is 0.0.
🔹 Max new trades per day (0=off) = 0 — Places no explicit daily trade-count restriction because the value is 0.
🔹 Losses in a row before cooldown (0=off) = 0 — Disables the consecutive-loss cooldown trigger because the value is 0.
🔹 Cooldown length (signal bars) = 8 — Defines a cooldown period of 8 signal bars if the consecutive-loss cooldown mechanism is activated.
🔢 Trend Filter — Higher Timeframe
🔹 Trend timeframe = 1 Hour — Uses the 1 Hour (H1) timeframe for higher-timeframe trend analysis.
🔹 Trend fast EMA = 50 — Sets the fast trend EMA to 50 periods.
🔹 Trend slow EMA = 200 — Sets the slow trend EMA to 200 periods.
🔹 EMA slope lookback (bars, 0=off) = 6 — Measures EMA slope using a 6-bar lookback; 0 would disable the slope filter.
🔹 Min ADX on trend TF (0=off) = 18.0 — Requires a minimum ADX value of 18.0 on the trend timeframe; 0 disables the ADX requirement.
🔹 ADX period = 14 — Sets the ADX calculation period to 14.
🔢 Entry — Signal Timeframe
🔹 Entry patterns = Both patterns — Enables both supported entry patterns: the pullback setup and the breakout setup.
🔹 Signal EMA (pullback anchor) = 20 — Uses a 20-period EMA as the pullback reference or entry anchor.
🔹 RSI period = 14 — Sets the RSI calculation period to 14.
🔹 Long: RSI must first dip below = 45.0 — Requires RSI to first move below 45.0 as part of the long pullback confirmation.
🔹 Short: RSI must first pop above = 55.0 — Requires RSI to first move above 55.0 as part of the short pullback confirmation.
🔹 Bars to look back for the dip = 8 — Searches up to 8 bars for the required RSI pullback condition.
🔹 Donchian breakout lookback = 24 — Uses a 24-bar Donchian range for breakout detection.
🔹 Extra break distance (points) = 0 — Requires no additional breakout distance beyond the defined Donchian breakout level because the value is 0 points.
🔢 Strategy Configuration Summary
🔹 Primary Market = XAUUSD — AuroraGold is designed specifically around Gold trading, with the published product listing specifying XAUUSD M15 as the trading environment.
🔹 Higher-Timeframe Confirmation = H1 — The supplied settings use 1 Hour, with EMA 50, EMA 200, EMA slope, and ADX 14 to determine whether the broader trend is sufficiently established.
🔹 Signal Timeframe = M15 — The EA's entry logic is intended for the M15 signal timeframe, consistent with the published product description.
🔹 Entry Logic = Both patterns — Both pullback and Donchian breakout patterns are enabled, allowing the EA to seek either a trend pullback or a clean range breakout.
🔹 Risk = 0.5% per trade — The current configuration uses 0.5% of equity per trade, with a 4.0% daily loss cap and 25.0% peak-equity drawdown lock.
🔹 Position Limit = 1 — Only 1 simultaneous position is permitted, consistent with the product's documented one-position-at-a-time approach.
🔹 Exit Structure = Partial + Break-even + Trailing — The configuration closes 50.0% at 1.2R, moves toward break-even at 1.0R, and trails the remaining position using a 2.2× ATR chandelier.
🔹 Stop Structure = ATR-Based — The initial stop distance is 3.0× ATR, with a 12-bar structural swing lookback available to refine the stop.
🔢 Conclusion
AuroraGold EA By Khadim Hussain MT5 uses a structured trend-continuation architecture centered on XAUUSD. The supplied settings establish H1 as the higher-timeframe trend filter and M15 as the entry timeframe, with EMA 50/200, EMA slope, and ADX 14 providing the primary trend confirmation.
The entry engine is configured for Both patterns, combining pullback and Donchian breakout conditions. RSI 14, thresholds of 45.0 for long pullbacks and 55.0 for short pullbacks, and a 24-bar Donchian breakout provide additional signal filtering. The published product description confirms this general architecture, including H1 EMA50/EMA200 trend confirmation, RSI pullback entries, EMA20 confirmation, and 24-bar Donchian breakouts.
Risk management is equally prominent. The current configuration risks 0.5% of equity per trade, allows only 1 simultaneous position, applies a 4.0% daily loss cap, and activates a 25.0% peak-equity drawdown lock. Trade management uses a 3.0× ATR initial stop, takes 50.0% profit at 1.2R, moves toward break-even at 1.0R, and trails the remaining position with a 2.2× ATR chandelier. This closely matches the developer's description of ATR-based stops, partial profit-taking, break-even management, and trailing of the remaining position.
The configuration also provides detailed volatility, spread, session, weekday, news, slippage, and logging controls, giving AuroraGold a broad set of parameters for adapting automated Gold trading to different market conditions and account-risk requirements.








