Pure Price Action Liquidity Sweeps [LuxAlgo]The Pure Price Action Liquidity Sweeps indicator is a pure price action adaptation of our previously published and highly popular Liquidity-Sweeps script.
Similar to its earlier version, this indicator detects the presence of liquidity sweeps on the user's chart, while also identifying potential areas of support/resistance or entry when liquidity levels are taken. The key difference, however, is that this price action version relies solely on price patterns, eliminating the need for numerical swing length settings.
🔶 USAGE
A Liquidity Sweep occurs when the price breaks through a liquidity level , after which the price returns below/above the liquidity level , forming a wick.
The examples below show a bullish and bearish scenario of "a wick passing through a liquidity level where the price quickly comes back".
Short-term liquidity sweep detection is based on short-term swing levels. Some of these short-term levels, depending on further market developments, may evolve into intermediate-term levels and, in the long run, become long-term levels. Therefore, enabling short-term detection with the script means showing all levels, including minor and temporal ones. Depending on the trader's style, some of these levels may be considered noise. Enabling intermediate and long-term levels can help filter out this noise and provide more significant levels for trading decisions. For further details on how swing levels are identified please refer to the details section.
The Intermediate-term option selection for the same chart as above, filters out minor or noisy levels, providing clearer and more significant levels for traders to observe.
🔶 DETAILS
The swing points detection feature relies exclusively on price action, eliminating the need for numerical user-defined settings.
The first step involves detecting short-term swing points, where a short-term swing high (STH) is identified as a price peak surrounded by lower highs on both sides. Similarly, a short-term swing low is recognized as a price trough surrounded by higher lows on both sides.
Intermediate-term swing and long-term swing points are detected using the same approach but with a slight modification. Instead of directly analyzing price candles, we now utilize the previously detected short-term swing points. For intermediate-term swing points, we rely on short-term swing points, while for long-term swing points, we use the intermediate-term ones.
🔶 SETTINGS
Detection: Period options of the detected swing points.
🔶 RELATED SCRIPTS
Pure-Price-Action-Structures.
Liquidity-Sweeps.
Sweeps
ICT Setup 01 [TradingFinder] FVG + Liquidity Sweeps/Hunt Alerts🔵 Introduction
The ICT (Inner Circle Trader) style of trading involves analyzing the behavior of market participants and market makers to identify areas where fake buy and sell activities occur. This trading style helps retail traders align with market maker behavior and avoid falling into market traps.
A key aspect of the ICT strategy is focusing on liquidity hunts. This involves searching for trading opportunities in areas of the market with low liquidity or where other traders have little activity. The ICT method leverages market inefficiencies and weaknesses, allowing traders to profit from small price movements that might go unnoticed by others.
In "ICT Setup 01," our focus is on these liquidity areas and stop hunts that form in Fair Value Gaps (FVGs). Trading within FVGs, combined with confirmations from "Hunts" and "Sweeps," can enhance trader performance.
🔵 How to Use
The presence of Fair Value Gaps (FVGs) in the market indicates rapid, powerful movements likely caused by the influx of smart money. When the price returns to these levels, a market reaction is expected.
Combining this with the complex and deceptive behavior of smart money—such as "Liquidity Sweeps" and "Stop Hunts"—forms an ICT-based price action setup that we expect to perform well.
Components of "ICT Setup 01" :
● Fair Value Gap (FVG)
● Premium and Discount
● Hunts / Sweeps
Whenever the price returns to an FVG area and reacts in such a way that only the wicks of the candles remain in the area and the candle bodies are outside the FVG, the first condition for creating the setup is met.
If subsequent candles hunt the wick that has penetrated the deepest into the FVG, a buy or sell signal is issued. In the format where hunting is based on Sweeps, penetrations that extend even outside the area are considered signals, provided they do not form a body within the area.
Additionally, a refining system exists for cases where a candle body forms in the area, optimizing the proximal levels of the FVG.
Bullish Setup :
Bearish Setup :
🔵 Features and Settings of "ICT Setup 01"
You can Find out more in Setting :
● FVG Detector Multiplier Factor
● FVG Validity Period
● Level in Low-Risk Zone
● Issuing Signals Method
● Number of Signals Allowed from a Zone
● Signal after Hunts/Sweeps
● How Many Hunts/Sweeps
● Show or Hide
● Alert Sender
FVG Detector Multiplier Factor :
This feature allows you to determine the size of the moves forming the FVGs based on the ATR (Average True Range). The default value is 1 to identify the majority of setups. You can increase this value according to the symbol and market you are trading in to achieve better results.
FVG Validity Period :
This shows the validity period of an FVG based on the number of candles. By default, an FVG area is valid for up to 15 candles. However, you can increase or decrease this period.
Level in Low-Risk Zone :
This feature helps reduce your risk. The method works by identifying the entire length of the three candles forming the FVG and dividing it into two equal areas. The upper area is "Premium," and the lower area is "Discount." To reduce risk, it is better for "Demand FVG" to be in the "Discount" and "Supply FVG" in the "Premium." This feature is off by default.
Issuing Signals Method :
This feature allows you to specify whether the hunt should occur only within the FVG area or if the wicks can extend outside the area.
If set to "Hunts," only signals where the wicks are within the area are issued, and the area loses its validity if the wicks extend outside.
In "Sweeps" mode, wicks can extend outside the area as long as they do not form a body within the area.
Number of Signals Allowed from a Zone :
This feature allows you to specify how many valid signals can be issued from one area.
Signal after Hunts/Sweeps :
In markets or symbols with a tendency for frequent stop hunts, this feature allows you to specify how many hunts should occur before you receive a signal to avoid receiving potentially failed signals.
How Many Hunts/Sweeps :
Enter the number of hunts you want to set for the "Signal after Hunts/Sweeps" feature here.
Show or Hide :
The number of setups formed may be very large, and displaying all of them on the chart can be distracting and messy. By default, only the last setup is displayed, but if you want to see all setups, you can turn on the relevant options.
Alert Sender :
You cannot constantly monitor multiple charts to identify trading opportunities. Using the alert sending feature can save time and improve performance.
Alerts Name : Customize the alert name to your preference.
Message Frequency : Determines the frequency of alert messages. Options include 'All' (triggers every time the function is called), 'Once Per Bar' (triggers only on the first call within the bar), and 'Once Per Bar Close' (triggers only on the final script execution of the real-time bar upon closure). The default is 'Once per Bar.'
Show Alert Time by Time Zone : Configure the alert messages to reflect any chosen time zone. For instance, input 'UTC+1' for London time. The default is 'UTC.'
By configuring these settings, traders can effectively utilize ICT setups to improve their trading strategies and outcomes.
Session Sweeps [LuxAlgo]The Session Sweeps indicator combines ICT-based features for a complete trading methodology involving market sessions, market structure, and fair value gaps to find optimal entry conditions for trading price action.
Traders frequently tend to place stop/limit orders at the high and low points of major trading sessions such as Asian (Tokyo), European (London), and North American (New York), resulting in the establishment of liquidity pools at those particular levels. The Session Sweeps indicator is crafted to recognize and underscore occurrences of session sweeps or liquidity sweeps during these major trading sessions.
🔶 USAGE
Default settings utilize major forex trading sessions, yet users can select their preferred opening and closing times, rename the sessions, or adjust the colors. It's important to note that the specified times for each session align with the respective local timezones: Asian (Tokyo) UTC+9, European (London) UTC, and North American (New York) UTC-5.
If the price briefly crosses either the highest or lowest point of a market session. These movements, aiming at triggering stop losses, suggest potential shifts in the market direction. Detecting such movements is the fundamental purpose and core functionality of the script.
🔹Market Structure Shifts
A Market Structure Shift refers to a change in market direction, either from an uptrend to a downtrend or vice versa. A part of a common entry model when using session sweeps is waiting for the formation of a CHoCH after a session sweep.
🔹Fair Value Gaps
A Fair Value Gap (FVG) holds particular appeal for price action traders, emerging when there are inefficiencies or imbalances in the market, often a result of uneven buying and selling activity. The underlying concept of FVGs is that the market tends to revisit these inefficiencies before resuming its trajectory in alignment with the initial impulsive move.
After the formation of a CHoCH traders can enter a position when the price enters the area of a Fair Value Gap (FVG).
🔹Setup Examples
This entry setup is commonly used by ICT traders and is shared for informational & educational purposes only.
Long Positions (5-Minute Timeframe):
Wait for the previous session's low to be swept.
Look for a Bullish Choch.
Find a Bullish FVG formed by or before the Choch.
Entry Point: At the FVG.
Take Profit (TP): At the session high or aim for a 1:2 Risk-Reward Ratio.
Stop Loss (SL): At the session low or nearest Swing Low.
Take partial profits at intermediate swings, but don’t shift SL prematurely.
Short Positions (5-Minute Timeframe):
Wait for the previous session's high to be swept.
Look for a Bearish Choch.
Find a FVG formed by or before the Choch.
Entry Point: At the FVG.
Take Profit (TP): At the previous session's low or aim for a 1:2 RR.
Stop Loss (SL): At the session high or nearest Swing High.
Take partial profits at intermediate swings, but don’t shift SL prematurely.
🔶 SETTINGS
🔹Session Sweeps
Buyside Sweep Zones, Color, and Margin: toggles the visibility of bullside sweep zones, customizes the associated color, and sets the margin value defining the range of a bullside sweep zone.
Sellside Sweep Zones, Color, and Margin: toggles the visibility of sell-side sweep zones, customizes the associated color, and sets the margin value defining the range of a sell-side sweep zone.
Sweep Margin Length: specifies the maximum allowed length of a sweep zone invalidation, the length over which the price slightly invalidated the margin range.
Detect Sweeps Once per Session: if enabled will detect only once a sweep zone within a session.
Hide Fake Sweep Zones, and Color: controls the visibility and color of the fake sweep zones.
🔹Sessions
Session (Asia, London, New York AM, and New York PM), Start Time, and End Time: enables or disables the visibility of the named market session range, and customization of the session hours.
Color: color customization option of the named session.
Extend Max/Min: extends the highest and lowest price levels of the named session until the end of the next enabled session. This option is recommended to be enabled when sweep zone detection is activated to observe the relationship between the sweep zone and previous session extreme levels.
Extend Mid: extends the mean price levels of the named session until the end of the next enabled session. The extended line may serve as potential support and resistance levels.
Fill: enables/disables background coloring of the named session.
New York DST | London DST: enabling this option initiates Daylight Saving Time (DST) for New York or London. Note: Daylight Saving Time is not applied to the Asian (Tokyo) session.
Sessions Extreme Lines | Sessions Names: toggles the visibility of the highest and lowest price levels, as well as the names, for all market sessions.
Session Lines Width: sets the width of the lines for all sessions.
Session Fill Transparency: sets the background color transparency of the range for all sessions.
🔹Market Structure Shifts
Market Structure Shifts: toggles the visibility of market structure shifts, also known as change of character (CHoCH).
Detection Length: specifies the detection length.
Market Structure Shifts; Bull & Bear: color customization options.
🔹Fair Value Gaps
Fair Value Gaps: toggles the visibility of the fair value gaps.
Fair Value Gap Width Filter: specifies the filtering multiplier; additional details can be found in the tooltip of the respective input option.
Bullish & Bearish Imbalance: color customization options.
🔹Sessions Tabular View
Sessions Tabular View: toggles the visibility of the tabular view of the sessions, displaying date &time, status, and countdown counter.
Hide if not Forex Market Instrument: checks the market and automatically enables/disables the option based on the market instrument.
Table Text Size & Position: size and placement customization options
🔶 LIMITATIONS
Please be aware that fair value gap filtering cannot be applied to the initial 144 candles (with a fixed-length ATR) as the ATR value necessary for filtering won't be available during this period.
🔶 RELATED SCRIPTS
Buyside-Sellside-Liquidity
Sessions
Liquidity-Voids-FVG
Thank you to our community for the recommendation of this script. To explore additional conceptual scripts and related content, we invite you to visit >>> LuxAlgo-Scripts .
Consecutive Unswept Lower Highs/ Higher Lows CounterCounts consecutive Lower Highs and Higher Lows; number resets to zero when previous pivot high or low gets swept
-To help give an idea of when a retracement / run-on-stops may be overdue. i.e. the higher the counter number grows, the longer we've gone without a proper retracement.
//inputs//
~pivot lookback/lookforward: increase this for more significant pivot highs and lows.
~number of pivot high 'counter' labels (pairs) to show in history.
~formatting options.
Typical Sweeps: Pivot high/low boxes. Grade sweeps, Handles/PipsTool to show typical pip-grade/ handle-grade sweep distance above pivot highs and pivot lows
-In consolidation/ranging periods (i.e. most of the time); Highs/Lows may by swept by fairly consistent distances in typical stop raids.
-Idea is from ICT teaching on typical Pip-grade sweeps in FX (10,20,30pips). Designed to work on FX, Indices, Commodities, Bitcoin.
-Above chart shows S&P; sweeping below and then above by 5 handles.
///inputs///
~choose sweep distance handles ($) or pips: will auto-calculate depending on the asset: FX= pips; Indices/stocks/commodities = handles ($)
--(2,5,10,20,30,50,100, 500, 1000)
~choose pivot lookback: larger number for more significant swing highs/lows
~choose number of historical boxes to display
~toggle on/off Pivot high boxes and Pivot low boxes independently
~extend boxes fully to the right (default is not extend)
~toggle on/off text
~text & box formatting options
Bitcoin, hourly chart; Pivot lookback = 15; $100 sweep boxes:
Eur/Usd; 15m chart; Pivot lookback = 30; 10pip sweep boxes; Boxes extended fully to the right:
Liquidity Raids and Sweeps by TexmoonbeamLiquidity is a vital concept in trading. It gives us an indication of where buy / sell orders are in the market, and the direction price is likely to move once this liquidity has been taken.
The purpose of this indicator is to show you when and where there has been a 'raid' or 'sweep' of this liquidity, meaning a reversal might occur.
The indicator does this by looking for candle wicks, that go beyond a previous pivot high or low.
Settings:
Timeframe – This settings changes the timeframe that the indicator looks for raids/sweeps. Higher timeframes generally mean stronger moves.
Left bars – the number of bars gap higher/lower to the left of a pivot low/high. A higher number means the high or low was formed from a stronger move.
Right bars – the number of bars gap higher/lower to the right of a pivot low/high. A higher number means the high or low started a stronger move.
Max Gap – the maximum number of candles between a raid or sweep. Reduce this number on higher time frames if there are memory errors.
Min Gap – the minimum number of candles between a raid or sweep.
Alerts Wait For Close – If ticked, this means an alert will not be triggered by the current candle wick, overlapping a previous, until the close of that candle. Unticked you will be alerted as soon as the current candle crosses a previous high/low, though it might close far beyond that point and not actually turn out to be a raid/sweep.
Buy Side/Sell Side – line style and colour preferences for buy and sell side.
Strategy:
As seen in the example chart, the raid/sweep of liquidity, where only a wick reaches beyond a previous high or low, can be followed by a reversal of direction, often to seek other liquidity targets. This indicator could provide an opportunity to enter a trade at this point and the alert feature means you will be able to set up custom alerts on multiple charts or timeframes.
You should use other confluence and a lower time frame confirmation after a raid/sweep, to identify your entry, stop loss and targets. Familiarity with liquidity and smart money concepts are recommended.
Daily and Weekly Sweep - LiquidityDaily and Weekly Sweep – Liquidity
Description:
The script is designed to illustrate the sweeps of the high and low of the previous day and week. The larger the ratio of shares traded to the percentage price change, the more deep and liquid the market is presumed to be, therefore the market maker always seeks liquidity. Liquidity rests above previous highs and below previous lows as many traders see these as obvious points to place their stops. These are areas on the chart where many orders are placed together and serve as tipping points for market makers. The script focuses on the previous day and week. We can assume these are potential areas for mitigation.
How to use:
The indicator plots the highs and lows of the previous day and week. On default, it also shows the high and low price for the first 8 hours of the opening day of the week. Users can customise this in settings. The weekly open is also plotted. The background changes colour once a daily/weekly high or low has been breached and stops at the extreme point of price. These areas may provide points of interest in the future.
A good understanding of supply and demand, order blocks, market structure, and how to identify fresh levels is expected to utilise it's full potential.
Alert function added for:
- Daily Sweep
- Weekly Sweep
Indicator in use:
Koalafied EdgesIndicator based on user selected periods 'edges' (highs/lows). Includes One-Time-Framing and sweeps of levels.
User selection of previous Session/Day/Week highs and lows. These will plot over the relevant period once it has completed. Intra-day there are three periods that can be plotted.
For now these are most relevant to crypto. It can be useful to think of previous levels being locations that are likely to contain liquidity that the market might sweep in the future,
as much like pivot points, traders stop orders can be found there. Session breaks are included to allow for clear delineation between user selected periods. Additionally the option
to colour the background of a specific period is given to the user, this can be useful as an aid for visual analysis of session behaviour over time.
Untapped Levels
Previous Levels (Highs/Lows) that price has not re-tested will remain on the chart. These are typically the levels that are swept for liquidity in future periods.
Sweeps
Sweeps are formed when a candle opens above/below a previous periods level, crosses it and closes back on the side of the open. Often can mark important
pivots in the market and potential reversals. Useful if you think of stop liquidity resting outside previous periods highs/lows. Market 'sweeps' the level,
taking liquidity and reverses. Alerts for these are included.
One-Time-Framing
Indicator shows One-Time-Framing (OTF) for user selection of Candle, Session, Day, and Weekly timeframes. The background between the periods highs and lows (or candle colour)
will display the OTF state. This is a Market Profile concept that isn't typically found in Tradingview Scripts.
OTF is a sequence of days or time period where you don’t get a break of the previous candles low (OTF Up) or high (OTF Down). Typically shows a market
that is trending in one direction. If it's an outside day then no OTF status, if it's an inside day then the previous period high or low hasn't been
breached so OTF status stays same.
Candle colouring. I've included the option to switch between OTF coloured candles or my Volume Extension candles. I find the Volume Extension Candles invaluable
in showing areas of high market participation and can be quite informative at significant levels often showing exhaustion at support/resistance or market strength on breakouts.
Candles not supported by rising volume are coloured black while those that are retain their colouring.
Important to note that this indicator plots prior levels only when the selected period has ended. So at the start of a new period, the high/low of the previous
period will be plotted, with untapped lines extended into the future. The indicator is designed to show you what 'has' happened and to provide areas
of interest where you may wish to initiate trades. The sweep signals are the only real-time plots.
BenTrading - Upsweep+CMThis indicator can gives an alert when a candle purges a 3- or 4-candle swing high but closes below it (1). It can also give an alert when a candle closes below the last 3- or 4-candle swing low prior to the sweep (2).
How to:
1. Add indicator to chart chart of your desired timeframe
2. Right click indicator and "add alert
3. Decide the conditions for when you to be alerted (sweep or sweep+CM) and specify to be alerted on "candle close only"
4. Double click the chart and the indicator-window will be closed. (The indicator window has no value and should not be visible/taking up chart space)
BenTrading - Downsweep+CMThis indicator can gives an alert when a candle purges a 3- or 4-candle swing low but closes above it (1). It can also give an alert when a candle closes above the last 3- or 4-candle swing high prior to the sweep (2).
How to:
1. Add indicator to chart chart of your desired timeframe
2. Right click indicator and "add alert
3. Decide the conditions for when you to be alerted (sweep or sweep+CM) and specify to be alerted on "candle close only"
4. Double click the chart and the indicator-window will be closed. (The indicator window has no value and should not be visible/taking up chart space)