EA finds double top (M), double bottom (W) patterns and the neckline itself: enters when price breaks the neckline (default), retests the neckline or early at the second top, bottom; stop loss beyond the pattern's top, bottom, take profit by the pattern height.
The EA finds roughly equal double tops, double bottoms and the neckline between them, no manual drawing needed.
Clear pattern filter
The two tops, bottoms differ by no more than 0.5 ATR, height at least 1.5 ATR, 5 to 50 candles apart.
Neckline break
The classic entry: when a candle closes beyond the neckline, enter in the reversal direction.
Retest, early entry
Turn on to enter when price comes back to the neckline, or early right at the second top, bottom.
Pattern-based targets
Stop loss beyond the pattern's top, bottom, take profit at exactly the pattern height from the neckline.
Pattern drawing, chart panel
The EA draws the latest pattern and its neckline; a draggable panel shows the neckline, height, status and open orders.
Overview
Double Top, Double Bottom Forex Robot (code GD-8823) is an EA for MetaTrader 4 and MetaTrader 5 that trades double top (M) and double bottom (W) patterns. The EA finds roughly equal tops or bottoms and the neckline between them, then enters when the pattern is confirmed.
There are 3 scenarios, each switched on or off separately: neckline break (default), neckline retest and early entry at the second top, bottom. Stop loss is placed beyond the pattern's top, bottom, take profit at exactly the pattern height from the neckline.
Default settings are made for gold XAUUSD. On brokers quoting gold with 3 decimals (e.g. 2650.125), 1 gold price unit = 1000 points: an extra 100 points beyond the low is 0.1. On brokers with 2 decimals, 1 unit = 100 points, so divide point settings by 10.
Example with default settings on H1: the two bottoms are 16 candles apart, the lower bottom is 2635.243, the neckline 2642.448, height 7.205. The 15:00 candle closes at 2643.370, above the neckline. At 16:00 the EA opens a BUY 0.01 lot at about 2643.370, stop loss 2635.143 (100 points below the bottom), take profit 2649.653 (neckline plus height).
The chart panel shows the latest pattern, neckline, pattern bottom or top, height, status, active scenarios and open orders. A single file runs as a 7-day trial on demo accounts and live with a license. Every order carries the comment "www.HoangTrong.com", default Magic number 8823.
Changelog
Version 1.024/11/2026
First release of Double Top, Double Bottom Forex Robot.
Finds M, W patterns itself
Clear pattern filter
Neckline break
Retest, early entry
Pattern-based targets
Pattern drawing, chart panel
FAQ
Is the trial version different from the full version?
No. Each product has a single file. Without a license it runs for 7 days on a demo account. Buy a license for your account ID and it runs on your live account, no new download needed.
What is WebRequest and why does the EA need it?
WebRequest is the permission that lets an EA connect to an address on the internet. HoangTrong.com EAs use it to activate the license, then check themselves offline. See how to enable WebRequest.
How do I activate the license?
Buy a license for the correct MetaTrader account ID, then click Activation in the EA. You don't need to enter or store any key. After reinstalling, just activate again.
What if I want to use the EA on another account ID?
A license is permanently tied to the account ID it was bought for. To use the EA on another ID, buy an extra ID right on the product page: if you already own the license, each extra ID costs only 100,000 VND.
Finds and draws double top (M), double bottom (W) patterns with the neckline, BUY, SELL arrows on neckline break, retest or early entry, sends phone alerts.
The EA opens BUY and SELL orders on RSI signals in the overbought and oversold zones, with built-in stop loss, take profit, break-even and Trailing Stop.
3 RSI entry scenarios, each can be switched on or off
Stop loss, take profit, break-even and Trailing Stop
Limits on order count, trading hours, spread, 1 order per candle
EA opens orders on RSI overbought and oversold signals, filters signals with the RSI of 5 timeframes switched on or off separately, multi-timeframe RSI table right on the chart.
3 RSI entry scenarios, same as GD-8801
5 RSI filter timeframes, each with its own inputs and on/off
Multi-timeframe RSI table on the chart, unused filters clearly marked