GoldLab Keltner Reversion

Range mean-reversion EA for XAUUSD: fades outer Keltner touches when ADX is low, RSI is stretched and the bar rejects. Targets the middle EMA.

GoldLab Keltner Reversion is a mean-reversion Expert Advisor for ranging markets. It was designed for XAUUSD (Gold) and also runs on forex pairs and other CFDs. It deliberately stays out of strong trends. Every trade has a stop-loss.

How it trades

  • Regime filter: new trades only while ADX is below the threshold (default 25) - the market is ranging.
  • Setup: a closed bar pierces the outer Keltner band (EMA 20 +/- 1.5 x ATR) and closes back inside it.
  • Confirmation: RSI at an extreme (default below 35 for buys / above 65 for sells, on this bar or the previous one) and a rejection - the bar closes in the trade direction or leaves a long wick (default at least 30% of the bar).
  • Target: the middle EMA. With "track middle" on, the take-profit follows the middle line every bar. A trade is skipped if the middle line is too close compared with the stop.
  • Hard stop-loss: a fixed ATR multiple (default 1.5 x ATR) from entry.
  • Auto-off in trends: if ADX rises above the strong-trend level (default 35) open trades are closed, and no new trades are opened until ADX falls back below the range threshold. An optional time stop closes trades that do not reach the target within N bars.

Risk management

  • Risk % per trade (default 1% of equity) - the lot is calculated from the stop distance. A fixed lot can be used instead.
  • Daily loss limit (default 3% of the day-start equity).
  • Maximum spread filter and optional trading hours.
  • Free-margin check, broker volume limits and stop/freeze levels are respected before every order. One position at a time; works on hedging and netting accounts.

Main inputs

Group Input Default Meaning
Strategy Signal timeframe H1 Timeframe for the channel (chart timeframe can be anything)
Strategy Middle EMA / ATR period / Band (x ATR) 20 / 14 / 1.5 Keltner channel
Strategy RSI period / low / high 14 / 35 / 65 Stretch confirmation
Strategy Min rejection wick % 30 Wick size as % of the bar range
Regime ADX period / Max ADX 14 / 25 Trade only in ranges
Regime Strong trend ADX 35 Close open trades above this (0 = off)
Stops Stop-loss (x ATR) 1.5 Hard stop
Stops Track middle EMA true Move the target with the middle line
Stops Min reward/risk 0.5 Skip trades with too little room to the middle
Stops Max bars in trade 48 Time stop (0 = off)
Position size Risk % / Fixed lot / Max lot 1.0 / 0 / 10 Position sizing
Safety Daily loss limit % 3.0 0 = off
Safety Max spread (points) 50 2-digit gold scale: 100 = 1.00 USD
Safety Use hours / Start / End false / 1 / 22 Optional server-time window
Safety Magic number 26100901 Change it to run several copies on one symbol

Recommendations

  • Symbol: XAUUSD (or your broker's gold symbol); also suits range-bound pairs such as EURCHF or AUDNZD. Signal timeframe: M15, M30 or H1.
  • Hedging or netting accounts; low-spread accounts preferred because targets are shorter than in trend systems.
  • Start on a demo account with the default 1% risk and test the settings in the Strategy Tester with your broker's data first. A VPS is recommended for 24/5 operation.

Important No martingale, no grid, no averaging - every position has a stop-loss. Mean reversion works in ranges and loses when a range breaks into a trend; the ADX filter reduces but cannot remove that risk. Trading gold, forex and CFDs is high risk and you can lose your capital. No trading system wins every trade, and past or backtested results do not guarantee future results. Only trade money you can afford to lose and always test on a demo account first.

More from author
GoldLab Multi Strategy is an Expert Advisor for XAUUSD (Gold) that runs five independent strategies on five timeframes from a single chart. Each module can be switched on or off, has its own stop-loss and take-profit, and uses its own magic number, so the modules never manage each other's trades. THE FIVE MODULES - M1 Scalper: EMA 8/21 cross confirmed by RSI, only in the direction of the M15 EMA 50 trend. Off by default because it is sensitive to spread. - M5 Pullback: price dips to EMA 20 and
GoldLab Trend Pullback is an Expert Advisor for XAUUSD (Gold) that trades with the trend and waits for a pullback before entering. Every trade has a stop-loss, and the position size is calculated from your account balance. HOW IT TRADES - Trend filter: only trades in the direction of the H4 EMA 50 trend. - Market regime: uses ADX and DI on H1 to separate trending from ranging conditions. In a trend it looks for pullback entries; in between it waits. - Entry: on the M15 chart, price must pull ba
GoldWick Candle Rejection is an Expert Advisor for XAUUSD (Gold) that makes every decision on closed candles only. It looks for rejection wicks in the direction of the trend and for two closed candles of the same colour. Every trade has a stop-loss and a take-profit. HOW IT TRADES - Signal 1, rejection wick: when the last closed M15 candle has a long lower wick (default at least 3.00 USD on gold), it opens a buy; a long upper wick opens a sell. By default the wick must point in the direction o
Asian-range breakout EA for the London open. One trade per side per day, stop at the other side of the range, R-multiple target, session-end exit. GoldLab London Breakout is a fully automated Expert Advisor for MetaTrader 5. It is designed for XAUUSD (gold) and also runs on other symbols such as EURUSD. How it trades Builds the Asian range - the highest high and lowest low between the Range start hour and Range end hour (server time, default 00:00-07:00), measured on M15 bars. Filters the range
New York opening-range breakout EA: closed-bar breakout or retest entry, tick-volume and ATR filters, stop at the range, time exit. Built for gold. GoldLab NY Opening Range is a fully automated Expert Advisor for MetaTrader 5. It is designed for XAUUSD (gold) and also runs on other symbols such as EURUSD. How it trades Opening range - the high and low of the first N minutes (default 30) of the New York session, starting at the NY session start time you set in server time (default 13:30 - set 16:
RSI divergence EA: regular bullish/bearish divergence on closed bars, confirmation candle, stop beyond the swing, R or opposite-swing target. GoldLab RSI Divergence is a fully automated Expert Advisor for MetaTrader 5. It is designed for XAUUSD (gold) and also runs on other symbols such as EURUSD. How it trades Swing detection - swing lows and highs are found on closed bars with a configurable strength (default 3 bars on each side). Nothing repaints: a swing only counts once the bars after it ha
Volatility-squeeze breakout EA: Bollinger width / Keltner squeeze, expansion breakout with the EMA trend, stop trailed on the middle band. GoldLab Bollinger Squeeze is a fully automated Expert Advisor for MetaTrader 5. It is designed for XAUUSD (gold) and also runs on other symbols such as EURUSD. How it trades Squeeze detection - volatility is considered compressed when the Bollinger Band width is near its lowest of the last N bars, and/or when the Bollinger Bands sit inside a Keltner Channel (
Supertrend trend-following EA: closed-bar flip with higher-timeframe agreement, partial close at 1R, stop trailed on the Supertrend line. GoldLab Supertrend Rider is a fully automated Expert Advisor for MetaTrader 5. It is designed for XAUUSD (gold) and also runs on other symbols such as EURUSD. How it trades Supertrend calculated in code - the classic ATR-based Supertrend (default ATR 10, multiplier 3) is computed inside the EA on closed bars; no external indicator files are needed. Entry on a
Ichimoku trend EA for XAUUSD: Tenkan/Kijun cross confirmed by the cloud and Chikou, stop beyond Kijun, Kijun trailing stop, risk-% sizing. GoldLab Ichimoku Cloud is an Expert Advisor that trades the classic Ichimoku Kinko Hyo trend method. It was designed for XAUUSD (Gold) and also runs on forex pairs and other CFDs. Every trade has a stop-loss. How it trades Trigger: a Tenkan-sen / Kijun-sen cross within the last few closed bars (default 3). Cloud filter: buys only when price closes above the K
Turtle-style Donchian breakout EA for XAUUSD: System 1 (20/10) or System 2 (55/20), ATR (N) stops and sizing, optional pyramiding, channel exits. GoldLab Turtle Channel is an Expert Advisor based on the well-known Turtle trading rules: buy new highs, sell new lows, size positions by volatility and let winners run. It was designed for XAUUSD (Gold) and also runs on forex pairs, indices and other CFDs. Every trade has a stop-loss. How it trades Entry: a closed bar beyond the Donchian channel - Sys
GoldLab MACD Ribbon
Worapong Longwong
Trend pullback EA for XAUUSD: 8/13/21/34/55 EMA ribbon alignment + MACD histogram turn after a pullback. Exits when the ribbon disorders. GoldLab MACD Ribbon is an Expert Advisor that combines an EMA ribbon with the MACD histogram to join established trends after a pullback. It was designed for XAUUSD (Gold) and also runs on forex pairs and other CFDs. Every trade has a stop-loss. How it trades Trend: the EMA ribbon (8, 13, 21, 34, 55) must be fully aligned - every faster EMA above the slower on
Fibonacci pullback EA for XAUUSD: finds the last impulse swing, enters the 50-61.8% zone on a confirmation candle, stop past 78.6%, target 127.2%. GoldLab Fibo Pullback is an Expert Advisor that trades Fibonacci retracements of the most recent impulse move. It was designed for XAUUSD (Gold) and also runs on forex pairs and other CFDs. All swing detection is done inside the EA - no external indicators are needed. Every trade has a stop-loss. How it trades Swing detection: swing highs and lows are
Filter:
No reviews
Reply to review