Gold Smoothed HA Reversal
- Experts
- 버전: 1.0
- 활성화: 5
Gold Smoothed HA Reversal is an automated trading Expert Advisor for MetaTrader 5 designed for short-term trading on GOLD / XAUUSD.
The core entry logic uses Smoothed Heikin Ashi candles to detect confirmed directional reversals.
For BUY entries, the basic signal occurs when Smoothed Heikin Ashi changes from bearish to bullish. For SELL entries, the basic signal occurs when it changes from bullish to bearish.
For Primary Entries, the EA can also evaluate the distance between the Fast EMA and Slow EMA, as well as whether a recent EMA crossover has occurred. Entries can be allowed only when the EMA gap is sufficiently wide relative to ATR, while entries can be blocked if an EMA crossover occurred within the specified number of recent bars.
The EA also supports a Higher Timeframe Filter, allowing entries only when the Smoothed Heikin Ashi direction matches the selected higher timeframe.
If no entry is taken on the Primary timeframe, the EA can use an M1 Fallback Entry based on a Smoothed Heikin Ashi reversal on the M1 timeframe. M1 entries are generally limited to one entry per Primary trend.
Exit logic includes both Smoothed Heikin Ashi reversal on the Primary timeframe and a regular Heikin Ashi high/low progression exit.
For BUY positions, the EA can close the position when regular Heikin Ashi highs decline consecutively for the specified number of bars. For SELL positions, the EA can close the position when regular Heikin Ashi lows rise consecutively.
ATR-based initial Stop Loss and Take Profit are also supported
Backtest Period: 5 Years
【Main Features】
・BUY / SELL trading
・Smoothed Heikin Ashi reversal entry
・Two-stage smoothing settings
・Fast / Slow EMA gap filter
・ATR-based EMA gap calculation
・Recent EMA crossover blocking filter
・Higher timeframe direction filter
・M1 Fallback Entry
・M1 entry limited within the same Primary trend
・Same-bar reversal ON / OFF
・Regular Heikin Ashi high / low exit
・ATR-based initial SL / TP
・Maximum spread filter
・Basic single-position management
【Main Adjustable Parameters】
■ Basic Settings
・Trading lot size
・Entry timeframe
・Maximum allowed spread
・Magic Number
■ Smoothed Heikin Ashi
・First smoothing period
・Second smoothing period
・Number of bars used for Heikin Ashi calculation
■ EMA Filters
・EMA Gap Filter ON / OFF
・Fast EMA period
・Slow EMA period
・Minimum EMA gap as an ATR multiple
・Recent EMA Cross Block ON / OFF
・Number of bars checked for recent EMA crossover
■ Trend / Entry Settings
・Higher Timeframe Filter ON / OFF
・Higher timeframe
・M1 Fallback Entry ON / OFF
・Same-bar reversal ON / OFF
■ Exit Settings
・Regular Heikin Ashi High / Low Exit ON / OFF
・Exit timeframe
・Number of bars used for high / low progression detection
■ ATR Risk Management
・ATR period
・ATR Stop Loss ON / OFF
・SL ATR multiplier
・ATR Take Profit ON / OFF
・TP ATR multiplier
【Default Settings】
Platform: MetaTrader 5
Symbol: GOLD / XAUUSD
Timeframe: M5
Lot: 0.01
Maximum Spread: 40 points
Smoothed HA: 10 / 10
Fast EMA: 10
Slow EMA: 30
Minimum EMA Gap: ATR × 0.15
Recent EMA Cross Block: 10 bars
Higher TF Filter: OFF
M1 Fallback Entry: ON
Same Bar Reverse: OFF
HA High / Low Exit: ON
Exit Timeframe: M5
No Update Bars: 3
ATR Period: 14
Stop Loss: ATR × 5.0
Take Profit: ATR × 5.0
【Important Notes】
This EA does not guarantee profits.
GOLD / XAUUSD can experience significant price volatility, and substantial losses may occur depending on market conditions.
Live trading results may differ from backtest results due to spread widening, slippage, execution delays, price gaps, liquidity conditions, broker pricing, and differences in trading specifications.
Changing lot size, timeframe, EMA periods, ATR multipliers, or filter settings may significantly affect trade frequency, profitability, and drawdown.
Before using the EA on a live account, it is recommended to test it with your broker and account conditions using a demo account or a small lot size.
The user is fully responsible for all trading decisions and the use of this EA.
