Divine EA is a specialized, time-frame-based candle breakout strategy engineered mainly for trading Gold (XAUUSD) on the 1-Hour (H1) chart structure but it can be used on different timeframes.
The strategy automates structural high/low bracket entries to capture high price moves while incorporating a recovery module to handle market consolidation. Each Basket is handled independently together with its recoveries.
How the Strategy Operates
At the beginning of each fresh trading timeframe(hour as default), Divine maps out the precise High and Low boundaries of the previous candle. It deploys pending orders to instantly catch sudden market breakouts.
Seasonal Volatility: Historical data and backtests reveal that this strategy thrives well during high-breakout periods—particularly in January, February, and December when candles tend to break out aggressively. During less active trading months when the market leans toward consolidation and tends to lag, a recovery mechanism steps in to defend your equity.
Martingale Ping-Pong Recovery: To counter quiet market phases and fakeouts, the EA uses a Ping-Pong recovery matrix. It loops volume across boundary lines that are managed independently using a controlled multiplier to exit struggling cycles in net profit. Please note that this recovery process can lead to temporary floating negative equity spikes before clearing out. A self healing code has been added and it tries to keep recovery trades on if they are closed manually so it is advised not to close recovery trades manually .Keep halt future pending orders when recovering to true to avoid piling up of many orders that consume margin.
Vital Capital & Account Requirements
To safely run Divine's recovery matrix without hitting margin distress, your account must meet the following strict criteria:
Minimum Balance: Exactly 1,000 Units. This means a minimum of $1,000 USD on a standard account, or 1,000 USC on a Cent Account. 2,500 units is safer. This is very crucial-do not run this on smaller account sizes.
Required Leverage: A minimum broker leverage of 1:1000 is required up to 1:2000. Running a lower leverage setup will trigger margin errors and cause severe problems when recovery is happening and exceeds initial stages.
Prop Firm Warning: Divine CANNOT be used on Prop Firm challenges or funded accounts due to their strict low-leverage limitations and drawdown restrictions.
Key Input Parameters & Recommended Settings
The provided listing illustrates the recommended configuration engineered for gold trading, but all parameters can be tailored to fit your personal style.
Price-Move SL & TP: SL and TP are configured as direct raw price differences rather than traditional points or pips. For example: If your entry sits at a price of 4000.0, an input Take Profit of 4.0 targets 4004.0, while a Stop Loss distance of 20.0 sets your floor at 3980.0. In this scenario, you would input 20 for SL and 4 for TP.
Account Risk Level Selector: Capped with strict security limits to prevent accidental oversizing and protect trading capital. Based on comprehensive historical backtest profiling on Gold, the presets are designed around the following risk-to-reward dynamics:
Low Risk (1%), Medium Risk (2%) and High Risk (3%)
Fixed lotsize is also available.
Optimized Session Filters: Built to avoid slow market windows like the Asian session. The preferred operating frame is set between 07:00 and 20:00 EAT. You can keep this according to your time server.
Strict Day & Weekend Protection: Backtests confirm that most breakout fakeouts frequently occur on Mondays and Fridays. The default template keeps these days disabled (set to false), paired with a customized Friday pre-close window (Halt Hour 12) to guarantee no trades are carried over into weekend market gaps. But they can be allowed if one requires (not advised).
High-Impact News Vulnerability (CPI & NFP)
Users must exercise extreme caution during major macroeconomic releases such as Consumer Price Index (CPI), Non-Farm Payrolls (NFP), and FOMC interest rate decisions.
The violent, two-way price spikes common on news days can trigger multiple recovery steps in a very short time, rapidly exhausting your margin allocations. It is highly recommended to either manually disable the EA 1 hour before major news releases or narrowing your raw price move Stop Loss (SL) distance setting on news days to give the Ping-Pong engine enough breathing room to navigate sudden market slippage safely. The current SL at 20 and TP at 4 works well on normal days.
Note that this strategy can be used on different pairs, but in the case of other pairs the TP and SL are divided by 100. That means putting stoploss of 20 would mean a price difference of 0.02.