
SmartHedge is an MT4 expert advisor for pair trading. It compares two instruments, opens opposite positions when they drift apart and closes them on combined profit when they move back together.
Get one message the moment it launches, with its price.
SmartHedge is an expert advisor for MetaTrader 4 that trades the relationship between two instruments rather than the direction of one. It watches how far the two have moved apart, opens a buy on one and a sell on the other, and aims to close both when they come back together.
The EA measures the correlation between the chart symbol and a second symbol you choose, using a set number of recent candles. When the difference, called the delta, grows beyond a threshold, it opens opposite positions on the two instruments. When the instruments converge, it closes the positions once the combined profit reaches a target. That target can be fixed in deposit currency or left on automatic.
If the gap keeps widening after the first pair of orders, the EA can open a second pair. Three separate delta inputs control the opening levels. This means exposure can grow while the gap grows, so lot sizes and thresholds deserve careful testing.
On the chart the EA draws both instruments and shows bars indicating the distance between them, which makes the current delta easy to follow.
The EA is not tied to a list of symbols. You can enter any two instruments offered by your broker, such as two currency pairs that tend to move together. The correlation can be set as direct or inverse. The EA trades only on the timeframe chosen in its inputs, and an optional filter can check the delta on a different timeframe.
The inputs below are the main ones. Check the defaults in the EA itself before trading.
| Input | Purpose |
|---|---|
| Instrument_2 | The second symbol of the pair |
| direct_correlation | Whether the pair is treated as directly or inversely correlated |
| Lot1, Lot2, K_Lot | Volume for each leg and a lot ratio; Lot2 can be automatic |
| TF_Trade | The only timeframe on which the EA trades |
| StartDelta1 to StartDelta3 | Minimum delta for the first, second and third entries |
| ProfitClose, K_ProfitClose, MinProfit | Combined profit targets in deposit currency |
| LossClose | Closes at a set loss; 0 turns it off |
| BarsWind | Candles used to calculate correlation |
| filterTF, TF_F, BarsWindF, StartDeltaF | Optional filter based on another timeframe |
| filtervelosity, BarsWindVelosity | Optional velocity filter |
| TrailingStop, MaxSpread, Slippage | Trailing distance, spread limit and slippage |
| Magic, AlertOn, colour inputs | Order identifier, alerts and chart appearance |
Two instruments that have moved apart can keep moving apart, and a second pair of orders increases exposure. Spreads, swaps and commissions on both legs also reduce the combined result.
Trading carries risk and past results do not predict future ones. Test on a demo account first, use lot sizes that suit your balance, and decide your loss limits before going live.
The EA is not meant for the MT4 strategy tester, because that tester does not handle pair trading. Forward testing on a demo account is the practical way to evaluate it.
| Product type | Expert Advisor |
|---|---|
| Platform | MetaTrader 4 |
| Strategy focus | Volume |
| Delivery | Download from your account after purchase |
| License key | Not needed |
| Status | Launching soon |
| Category | Expert advisor |
| Trade style | Pair trading on divergence and convergence |
| Markets | Any two instruments offered by your broker |
| Timeframes | One trading timeframe set in the inputs |
| Chart setup | Attach to one chart of the pair; the second is an input |
| Strategy tester | Not suitable for MT4 tester pair testing |
| Requirements | Both symbols in Market Watch, auto trading enabled |
No reviews yet. Customers who own SmartHedge can review it here.
No. Attach it to one chart of the pair, for example GBPUSD, and enter the second instrument in the Instrument_2 input. The EA reads both symbols and draws them on the chart.
Not in a meaningful way. The MT4 tester is not built for trading two symbols at once, so the EA is not designed to run there. Test on a demo account instead, and keep in mind that demo results do not predict live results.
This listing is the MetaTrader 4 version. It will not load in MT5. Check that your broker offers MT4 before buying.
Any two instruments your broker provides can be entered, but both must appear in Market Watch under the exact symbol names used by your broker, including any suffix. Check spreads, swaps and the minimum lot size with your broker first.
Probably. The lot sizes, delta thresholds and profit targets depend on the pair, the timeframe and your account size, so test any values on a demo account first. Check the broker's minimum deposit and margin requirements as well.
There is an optional LossClose input that closes the positions at a loss set in deposit currency, where 0 turns it off. There is also a trailing stop input. Decide on your loss limits before using it on a live account.
SmartHedge
Notify me at launchQuestions about this tool?
Ask us on Telegram Install guide for MT4 and MT5 Get a custom version builtFree, practical help with testing, sizing and running expert advisors.
Own SmartHedge? Sign in to review it.