Higher Timeframe Liquidity Sweep EA
- Uzmanlar
- Sürüm: 1.40
- Etkinleştirmeler: 5
Higher Timeframe Liquidity Sweep EA is a multi-symbol Expert Advisor based on liquidity sweeps of higher-timeframe highs and lows.
The EA monitors selected liquidity levels and looks for price sweeps using a configurable entry timeframe. A sweep of the higher-timeframe low can generate a buy opportunity, while a sweep of the higher-timeframe high can generate a sell opportunity.
The stop loss is positioned beyond the swept level, and the take profit targets the opposite side of the same liquidity candle.
Attach the EA to a single chart to monitor and trade multiple symbols. Each symbol can have its own liquidity source, trading days, entry timeframe, trading hours, and risk settings.
Liquidity Level Sources
Choose one liquidity source independently for each symbol.
Previous Day
Uses the high and low of the last completed daily candle. These levels remain fixed throughout the broker server day.
Last Closed 4-Hour Candle
Uses the high and low of the most recently completed H4 candle. The levels update when a new H4 candle closes.
Last Closed 1-Hour Candle
Uses the high and low of the most recently completed H1 candle. The levels update when a new H1 candle closes.
All liquidity levels are calculated from completed candles. Once locked after the symbol's market opens, the active levels are not redrawn during that trading period.
Entry Conditions
The entry timeframe can be selected independently for each symbol:
-
M1 (1 Minute)
-
M5 (5 Minutes)
-
M15 (15 Minutes)
-
M30 (30 Minutes)
-
H1 (1 Hour)
Buy Condition
A buy opportunity is allowed when the low of a closed entry-timeframe candle reaches the selected higher-timeframe low.
Sell Condition
A sell opportunity is allowed when the high of a closed entry-timeframe candle reaches the selected higher-timeframe high.
An optional tolerance in points allows near-touches to qualify as sweeps. Set the tolerance to zero for an exact touch.
Buy and sell trading can be enabled or disabled independently.
Optional EMA Filter
The EMA filter is disabled by default and can be enabled when required.
-
Buy: The last closed candle must be above the selected EMA.
-
Sell: The last closed candle must be below the selected EMA.
You can configure the EMA period and timeframe independently.
Stop Loss and Take Profit
Stop Loss
The stop loss can be configured in two ways:
-
Liquidity-based stop: For buys, the stop is placed below the swept low. For sells, it is placed above the swept high.
-
Daily high/low stop: Alternatively, use the current day's high or low on the selected entry timeframe.
A configurable buffer in points adjusts the liquidity-based stop placement. A negative buffer places the stop inside the liquidity level.
Take Profit
The target is the opposite side of the selected liquidity candle:
-
Buy: Targets the liquidity candle's high.
-
Sell: Targets the liquidity candle's low.
Partial Close
An optional partial-close function reduces the open position when price reaches a configurable percentage of the distance between entry and take profit.
You can configure:
-
The percentage of target distance required to trigger a partial close.
-
The percentage of position volume to close.
If the position volume is too small to split according to broker requirements, the partial close is skipped.
Re-entry
After a stop loss, the EA can optionally enter again in the same direction when a candle closes back inside the liquidity level.
You can configure the maximum number of additional entries. A value of zero means no entry-count limit.
Trading Time Management
All trading times use the broker's server clock. Each symbol can have independent time settings.
Trading Days
Enable or disable trading for individual days, Monday through Sunday.
Cutoff Time
When cutoff skip is enabled, the EA stops considering new trades for a symbol for the remainder of the server day if neither liquidity level has been tagged before the configured cutoff time.
Force Close
Automatically closes open positions belonging to this EA at the configured time.
This function can also be disabled, allowing positions to remain open until their stop loss or take profit is reached.
No-Trade Zone
Define a time interval during which new entries are blocked.
The no-trade zone can cross midnight.
Risk Management
The EA supports two position-sizing methods:
Fixed Lot
Use a predefined lot size.
Percentage Risk
Calculate position volume using a selected percentage of account balance and the distance to the stop loss.
Additional risk controls include:
-
Minimum and maximum lot limits for percentage-risk mode.
-
Broker minimum and maximum lot values when the corresponding limit is set to zero.
-
Positions below the configured minimum lot are skipped rather than automatically increased.
-
Maximum stop-loss amount in account currency. If the calculated loss exceeds this amount, the symbol is skipped for the day. Set to zero to disable this check.
-
Maximum allowed spread in points.
-
Maximum number of simultaneously open trades across the entire EA.
-
Configurable magic number to identify and manage the EA's positions.
-
Configurable slippage in points.
Multi-Symbol Chart Panel
The EA includes a configurable panel displayed on a live chart.
You can move or minimize the panel and manage multiple symbols from one chart.
Panel functionality includes:
-
Search and add trading symbols.
-
Add the current chart symbol.
-
Enable or disable individual symbols.
-
Remove symbols from the list.
-
Open individual symbol settings using the SET option.
-
Start or stop new entries.
-
Close all open trades belonging to this EA.
-
Reset the trading day so symbols can be considered again.
Individual Symbol Settings
Each symbol can have its own configuration for:
-
Trading days.
-
Entry timeframe.
-
Liquidity source.
-
Cutoff time.
-
Force-close time.
-
No-trade zone.
-
Buy and sell permissions.
-
Stop-loss configuration.
-
Maximum spread.
-
Lot size and risk.
-
Partial close.
-
Re-entry.
Global Settings
The Trade, Time, and Risk tabs provide shared default settings.
Symbols without individual configurations automatically use the global settings.
The USE GLOBAL option removes an individual symbol's custom settings and restores the shared defaults.
Monitoring
The symbol list displays the selected liquidity level, entry timeframe, cutoff time, and enabled trading days.
A built-in log displays recent EA actions.
Telegram and Webhook Alerts
The EA supports optional Telegram and webhook notifications.
Both notification systems are disabled by default.
Telegram Alerts
Configure your Telegram settings and enable notifications. Telegram WebRequest permission must be added in:
Tools → Options → Expert Advisors.
Webhook Alerts
Configure an HTTPS webhook address to receive short JSON notifications.
Both alert systems are optional and do not require an external trading application.
Saved Settings
On a live chart, the EA saves the configured symbol list and settings in the MetaTrader terminal's common files directory.
These settings are automatically loaded again when the EA is attached to a chart.
Strategy Tester
In the Strategy Tester, the EA uses the Inputs configured for that particular test run.
The Strategy Tester operates on one symbol at a time, using the symbol selected for the test.
Installation and Updates
Attach the EA to one live chart to start managing multiple symbols.
No additional program or external trading application is required.
After installing an EA update:
-
Remove the EA from the chart.
-
Attach the updated EA again.
-
Restart the Strategy Tester before testing a new build.
Important: Backtest Before Going Live
Before using this EA on a live account, we strongly recommend backtesting it using a demo account from the same broker you intend to trade with.
Broker OHLC Data Can Differ
Different brokers may provide different Open, High, Low, and Close (OHLC) data. These differences can affect liquidity levels, sweep detection, entry conditions, stop-loss placement, and overall backtesting results.
For more realistic testing, use historical data from your own broker and evaluate the EA under the same market conditions and trading environment you plan to use.
Pro Tips: Optimize Settings for Each Symbol
Different symbols behave differently. A trading configuration that works well on one symbol may not produce the same results on another.
We recommend experimenting with the following settings individually for each symbol:
-
Entry Timeframe: Try different entry timeframes such as M1, M5, M15, M30, and H1.
-
Partial Exit: Test with partial close enabled and disabled.
-
Re-entry: Compare results with re-entry enabled and disabled.
-
EMA Confirmation: Test with EMA confirmation enabled and disabled.
-
Trading Days: Experiment with different trading days to identify potentially suitable market conditions.
-
Cutoff Time: Adjust the cutoff time to avoid unwanted late entries.
-
No-Trade Window: Configure specific time periods during which new entries should be avoided.
One EA. Multiple Symbols. Individual Settings.
The best part is that all these features are already available in this EA.
You can manage multiple symbols from a single chart, with each symbol maintaining its own independent trading configuration.
This allows you to experiment with different combinations of settings for different markets without needing separate EA instances for every symbol.
Our Recommendation: Use these flexible settings to backtest, compare, and filter symbols to identify which markets and configurations best suit your trading strategy.
Remember, past backtesting performance does not guarantee future results. Always manage your risk and test thoroughly before trading live.
Important Information
Trading involves financial risk. The EA is a trading automation tool and does not guarantee profits. Results depend on market conditions, broker execution, spreads, slippage, and the risk settings selected by the user.
Always test the EA with a demo account and understand its settings before using it on a live account.
🚫 Legal & Regional Restrictions
Higher Timeframe Liquidity Sweep EA is not intended for users in India or in any country/jurisdiction where Forex, CFD, Gold or automated trading is prohibited or restricted by applicable laws and regulations.
It is the user's responsibility to verify the legality of using this software and trading the relevant financial instruments in their own country before purchasing or using the EA.
The developer does not provide legal, financial, investment or tax advice.
Higher Timeframe Liquidity Sweep EA is a trading software tool, not a guaranteed-profit system or financial advisory service.
Higher Timeframe Liquidity Sweep EA — Trade Selectively. Manage Risk. Stay Disciplined.
Historical results can be impressive, but future results are never guaranteed. Trade responsibly and use appropriate risk management.
