Liquidity strategy tester [Influxum]This tool is based on the concept of liquidity. It includes 10 methods for identifying liquidity in the market. Although this tool is presented as a strategy, we see it more as a data-gathering instrument.
Warning: This indicator/strategy is not intended to generate profitable strategies. It is designed to identify potential market advantages and help with identifying effective entry points to capitalize on those advantages.
Once again, we have advanced the methods of effectively searching for liquidity in the market. With strategies, defined by various entry methods and risk management, you can find your edge in the market. This tool is backed by thorough testing and development, and we plan to continue improving it.
In its current form, it can also be used to test well-known ICT or Smart Money concepts. Using various methods, you can define market structure and identify areas where liquidity is located.
Fair Value Gaps - one of the entry signal options is fair value gaps, where an imbalance between buyers and sellers in the market can be expected.
Time and Price Theory - you can test this by setting liquidity from a specific session and testing entries as that liquidity is grabbed
Judas Swing - can be tested as a market reversal after a breakout during the first hours of trading.
Power of Three - accumulation can be observed as the market moving within a certain range, identified as cluster liquidity in our tool, manipulation occurs with the break of liquidity, and distribution is the direction of the entry.
🟪 Methods of Identifying Liquidity
Pivot Liquidity
This refers to liquidity formed by local extremes – the highest or lowest prices reached in the market over a certain period. The period is defined by a pivot number and determines how many candles before and after the high/low were higher/lower. Simply put, the pivot number represents the number of adjacent candles to the left and right, with a lower high for a pivot high and a higher low for a pivot low. The higher the number, the more significant the high/low is. Behind these local market extremes, we expect to find orders waiting for breakout as well as stop-losses.
Gann Swing
Similar to pivot liquidity, Gann swing identifies significant market points. However, instead of candle highs and lows, it focuses on the closing prices. A Gann swing is formed when a candle closes above (or below) several previous closes (the number is again defined by a strength parameter).
Percentage Change
Apart from ticks, percentages are also a key unit of market movement. In the search for liquidity, we monitor when a local high or low is formed. For liquidity defined by percentage change, a high must be a certain percentage higher than the last low to confirm a significant high. Similarly, a low must be a defined percentage away from the last significant high to confirm a new low. With the right percentage settings, you can eliminate market noise.
Session Range (3x)
Session range is a popular concept for finding liquidity, especially in smart money concepts (SMC). You can set up liquidity visualization for the Asian, London, or New York sessions – or even all three at once. This tool allows you to work with up to three sessions, so you can easily track how and if the market reacts to liquidity grabs during these sessions.
Tip for traders: If you want to see the reaction to liquidity grab during a specific session at a certain time (e.g., the well-known killzone), you can set the Trading session in this tool to the exact time where you want to look for potential entries.
Unfinished Auction
Based on order flow theory, an unfinished auction occurs when the market reverses sharply without filling all pending orders. In price action terms, this can be seen as two candles at a local high or low with very similar or identical highs/lows. The maximum difference between these values is defined as Tolerance, with the default setting being 3 ticks. This setting is particularly useful for filtering out noise during slower market periods, like the Asian session.
Double Tops and Bottoms
A very popular concept not only from smart money concepts but also among price pattern traders is the double bottom and double top. This occurs when the market stops and reverses at a certain price twice in a row. In the tool, you can set how many candles apart these bottoms/tops can be by adjusting the Length parameter. According to some theories, double bottoms are more effective when there is a significant peak between the two bottoms. You can set this in the tool as the Swing value, which defines how large the movement (expressed in ticks) must be between the two peaks/bottoms. The final parameter you can adjust is Tolerance, which defines the possible price difference between the two peaks/bottoms, also expressed in ticks.
Range or Cluster Liquidity
When the market stays within a certain price range, there’s a chance that breakout orders and stop-losses are accumulating outside of this range. Our tool defines ranges in two ways:
Candle balance calculates the average price within a candle (open, high, low, and close), and it defines consolidation when the centers of candles are within a certain distance from each other.
Overlap confirms consolidation when a candle overlaps with the previous one by a set percentage.
Daily, Weekly, and Monthly Highs or Lows
These options simply define liquidity as the previous day’s, week’s, or month’s highs or lows.
Visual Settings
You can easily adjust how liquidity is displayed on the chart, choosing line style, color, and thickness. To display only uncollected liquidity, select "Delete grabbed liquidity."
Liquidity Duration
This setting allows you to control how long liquidity areas remain valid. You can cancel liquidity at the end of the day, the second day, or after a specific number of candles.
🟪 Strategy
Now we come to the part of working with strategies.
Max # of bars after liquidity grab – This parameter allows you to define how many candles you can search for entry signals from the moment liquidity is grabbed. If you are using engulfing as an entry signal, which consists of 2 candles, keep in mind that this number must be at least 2. In general, if you want to test a quick and sharp reaction, set this number as low as possible. If you want to wait for a structural change after the liquidity grab, which may require more candles, set the number a bit higher.
🟪 Strategy - entries
In this section, we define the signals or situations where we can enter the market after liquidity has been taken out.
Liquidity grab - This setup triggers a trade immediately after liquidity is grabbed, meaning the trade opens as the next candle forms.
Close below, close above - This refers to situations where the price closes below liquidity, but then reverses and closes above liquidity again, suggesting the liquidity grab was a false breakout.
Over bar - This occurs when the entire candle (high and low) passes beyond the liquidity level but then experiences a pullback.
Engulfing - A popular price action pattern that is included in this tool.
2HL - weak, medium, strong - A variation of a popular candlestick pattern.
Strong bar - A strong reactionary candle that forms after a liquidity grab. If liquidity is grabbed at a low, this would be a strong long candle that closes near its high and is significantly larger compared to typical volatility.
Naked bar - A candlestick pattern we’ve tested that serves as a good confirmation of market movement.
FVG (Fair Value Gap) - A currently popular concept. This is the only signal with additional settings. “Pending FVG order valid” means if a fair value gap forms after a liquidity grab, a limit order is placed, which remains valid for a set number of candles. “FVG minimal tick size” allows you to filter based on the gap size, measured in ticks. “GAP entry model” lets you decide whether to place the limit order at the gap close or its edge.
🟪 Strategy - General
Long, short - You can choose whether to focus on long or short trades. It’s interesting to see how long and short trades yield different results across various markets.
Pyramiding - By default, the tool opens only one trade at a time. If a new signal arises while a trade is open, it won’t enter another position unless the pyramiding box is checked. You also need to set the maximum number of open trades in the Properties.
Position size - Simply set the size of the traded position.
🟪 Strategy - Time
In this section, you can set time parameters for the strategy being tested.
Test since year - As the name implies, you can limit the testing to start from a specific year.
Trading session - Define the trading session during which you want to test entries. You can also visualize the background (BG) for confirmation.
Exclude session - You can set a session period during which you prefer not to search for trades. For example, when the New York session opens, volatility can sharply increase, potentially reducing the long-term success rate of the tested setup.
🟪 Strategy - Exits
This section lets you define risk management rules.
PT & SL - Set the profit target (PT) and stop loss (SL) here.
Lowest/highest since grab - This option sets the stop loss at the lowest point after a liquidity grab at a low or at the highest point after a liquidity grab at a high. Since markets usually overshoot during liquidity grabs, it’s good practice to place the stop loss at the furthest point after the grab. You can also set your risk-reward ratio (RRR) here. A value of 1 sets an RRR of 1:1, 2 means 2:1, and so on.
Lowest/highest last # bars - Similar to the previous option, but instead of finding the extreme after a liquidity grab, it identifies the furthest point within the last number of candles. You can set how far back to look using the # bars field (for an engulfing pattern, 2 is optimal since it’s made of two candles, and the stop loss can be placed at the edge of the engulfing pattern). The RRR setting works the same way as in the previous option.
Other side liquidity grab - If this option is checked, the trade will exit when liquidity is grabbed on the opposite side (i.e., if you entered on a liquidity grab at a low, the trade will exit when liquidity is grabbed at a high).
Exit after # bars - A popular exit strategy where you close the position after a set number of candles.
Exit after # bars in profit - This option exits the trade once the position is profitable for a certain number of consecutive candles. For example, if set to 5, the position will close when 5 consecutive candles are profitable. You can also set a maximum number of candles (in the max field), ensuring the trade is closed after a certain time even if the profit condition hasn’t been met.
🟪 Alerts
Alerts are a key tool for traders to ensure they don’t miss trading opportunities. They also allow traders to manage their time effectively. Who would want to sit in front of the computer all day waiting for a trading opportunity when they could be attending to other matters? In our tool, you currently have two options for receiving alerts:
Liquidity grabs alert – if you enable this feature and set an alert, the alert will be triggered every time a candle on the current timeframe closes and intersects with the displayed liquidity line.
Entry signals alert – this feature triggers an alert when a signal for entry is generated based on the option you’ve selected in the Entry type. It’s an ideal way to be notified only when a trading opportunity appears according to your predefined rules.
Liquiditysweep
Change in State of Delivery (CISD) [LuxAlgo]The Change In State Of Delivery (CISD) indicator detects and displays Change in State Of Delivery, a concept related to market structures.
Users can choose between two different CISD detection methods. Various filtering options are also included to filter out less significant CISDs.
🔶 USAGE
A Change in State of Delivery (CISD) is a concept closely related to market structures, where price breaks a level of interest, confirming trends and their continuations from the resulting breakouts.
Unlike more traditional market structures which rely on swing points, CISDs rely on a persistent sequence of candles, using the sequence extremes as breakout levels.
CISDs are detected as follows:
Bullish: The price closes above the opening price of the first candle in a sequence of bearish candles (or its own opening price if it's the only candle).
Bearish: The price closes below the opening price of the first candle in a sequence of bullish candles (or its own opening price if it's the only candle).
If a newly detected CISD aligns with the indicator's current established trend, this confirms a trend continuation (represented with a dashed line).
On the other hand, if a newly detected CISD is in the opposite direction to the detected trend it can confirm a trend reversal (represented with a solid line).
🔹 Liquidity Sweep Detection Method
Using Liquidity Sweeps to update CISD breakout levels allows us to obtain less frequent and more relevant levels that are less sensitive to noisy price variations.
Sweeps are obtained from detected Swing Points , with a higher Swing Length allowing us to obtain longer-term swing levels and potentially more detected sweeps from a specific level over time.
Note: The 'Swing Length' setting is only applicable on the Liquidity Sweep Detection Method and will only change the Liquidity levels.
A Liquidity Sweep is valid when the price reaches an important liquidity level , after which the price closes below/above this level.
Bullish scenario: The price goes below a previous unbroken Swing Low but closes above.
Bearish scenario: The price goes above a previous unbroken Swing High but closes below.
After a Liquidity Sweep has been detected, the last level of importance acts as support/resistance . Breaking this level in the other direction changes the state of delivery .
Users must keep observing the price and significant levels, as highlighted by the white rectangle in the above example.
🔹 CISD Filtering
Users can adjust the following two settings:
Minimum CISD Duration: The minimum length of the 'CISD' line
Maximum Swing Validity: The maximum length of the 'CISD' line; potential CISD lines that aren't broken are deleted when exceeding the limit.
The chart can get cluttered when the Minimum CISD Duration is low. Users could focus on a switch in trend (first solid line CISD ), where the following dashed CISD lines can be seen as extra opportunities/confirmations.
🔶 DETAIL
🔹 Using Different Timeframes
When an important liquidity level (Previous Swing high/low, FVG, etc.) is reached on the higher timeframe, the user can move to a lower timeframe to check whether there is a CISD .
Above example:
The high of the last candle breaches a liquidity level (previous Swing High). The opening price of the last candle acts as a trigger/confirmation level.
A confirmed CISD is seen in a lower timeframe, just after this Liquidity Sweep. This could be an early opportunity.
Later, a confirmed CISD on the higher timeframe is established.
🔶 SETTINGS
Detection Method: Classic or Liquidity Sweep
Swing Length: Period used for the swing detection, with higher values returning longer-term Swing Levels.
Minimum CISD Duration: The minimum length of the CISD line
Maximum Swing Validity: The maximum length of the CISD line; potential CISD lines that aren't broken are deleted when exceeding the limit.
Liquidity tool [Influxum]One of the most widespread concepts that can give you an edge when trading in the markets is liquidity. There are several ways to identify and plot liquidity. This indicator aims to show how liquidity can be plotted entirely objectively, thus laying the foundation for a consistent trading system.
Pivot
One of the ways to identify liquidity is using pivots. Pivots are candles that are locally the highest or the lowest. We identify them using strength, which is a number that determines how many candles to the left and right of the pivot candle are lower for a pivot high and higher for a pivot low. It is important to keep in mind that a pivot candle is only confirmed when the last candle to the right closes. If I have the pivot number set to 10, it means that a pivot high is a candle that has 10 lower candles on the left and 10 lower candles on the right. Only after the 10th candle to the right closes is the pivot candle confirmed as a pivot high. Within this indicator, the liquidity line is drawn at this moment.
Tip for traders:
If you work with liquidity from both lower and higher timeframes, try adding two Liquidity Tool indicators to your chart: set a lower pivot number, for example, 5 for one, and a higher pivot number, for example, 20 for the other. At the same time, adjust the line width for liquidity with a higher pivot number to a higher value. This way, you achieve a combination of liquidity from significant higher timeframe structures and lower timeframe structures.
Gann Swing
The Gann swing is another objective way to mark liquidity in the market. Unlike pivot liquidity, which is based on the highest highs or lowest lows of candles, the Gann swing is based on the highest or lowest closes. We then mark liquidity when the current candle closes above the highest close of the last few candles or below the lowest close of the last few candles. While a pivot high might only show a local extreme in price development, the Gann swing deals with the actual closing of the price. Liquidity points determined by the Gann swing may thus be more indicative of where the price actually wants to go, not just where it was at a particular moment before sharply rebounding (as with pivot liquidity).
Percent Change
One of the most objective ways to identify liquidity is the percentage change in price. We plot liquidity only in places where there has been a sufficiently large swing/significant price movement. This can be particularly relevant for filtering out moments when the price is moving within a narrow range. In such a situation, many pivot highs and lows or Gann swings can occur, which may be only a few pips or fractions of a percent apart. If you set it so that you want liquidity to be plotted only on a swing of 0.1% (for forex, where this is a sufficiently large movement), you can easily filter out moments when the price was moving in a narrow range.
Liquidity Session
For Pivot, Gann, and Percentage liquidity, you have the option to set a trading session. This determines the time period for which you want liquidity to be plotted. You might want to see only the liquidity from the Asian session, for example. Check the checkbox with BG. This will display the background for the currently selected session. You can then check if you are working only with the liquidity of your intended session.
Note:
Sometimes you may notice that liquidity lines start even outside the selected session. This is not a mistake. As mentioned above with pivot liquidity, if the pivot number (strength) is 10, we wait for the tenth candle to close before liquidity is confirmed. The pivot candle itself is thus located 10 candles back, and that is where the liquidity line also begins. However, the crucial moment for this indicator is when the liquidity point is confirmed.
Visual Settings
To customize the indicator to your preferences as much as possible, you have the option to set the style of the liquidity line, its color, and its thickness. The analyses you share will then match your exact vision.
Delete Grabbed Liquidity
Check this option when you want to see only uncrossed liquidity on the charts, meaning liquidity lines that have not yet been crossed by the price.
Display Liquidity Grab Point
When you check this option, it highlights the points on the candles where liquidity was grabbed.
Liquidity Duration
Some strategies require that only internal liquidity be taken, meaning liquidity that was created recently. To accommodate this, we have embedded several options in the indicator to work with the validity duration of liquidity.
Delete Liquidity End of Day
This option deletes the liquidity line at the end of the calendar day. This way, you can display only intraday liquidity.
Tip for traders: If you check both "delete liquidity end of day" and "delete grabbed liquidity," only the liquidity of the current day will be displayed on the chart.
Delete Liquidity End of Next Day
This option works similarly to the above. By deleting liquidity only at the end of the next day, you can work with yesterday's liquidity. Many strategies use the liquidity of the previous day (or the high and low of the previous day), allowing you to focus exclusively on yesterday's and today's liquidity.
Liquidity Duration in Bars
The final option allows you to delete liquidity after a certain time has elapsed. For the purposes of the indicator, we have set the time in terms of the number of bars. So, if you are on a 5-minute timeframe and want liquidity to be deleted after an hour, set the liquidity duration to 12 bars (12 x 5 minutes is 60 minutes).
Price Action Smart Money Concepts [BigBeluga]THE SMART MONEY CONCEPTS Toolkit
The Smart Money Concepts [ BigBeluga ] is a comprehensive toolkit built around the principles of "smart money" behavior, which refers to the actions and strategies of institutional investors.
The Smart Money Concepts Toolkit brings together a suite of advanced indicators that are all interconnected and built around a unified concept: understanding and trading like institutional investors, or "smart money." These indicators are not just randomly chosen tools; they are features of a single overarching framework, which is why having them all in one place creates such a powerful system.
This all-in-one toolkit provides the user with a unique experience by automating most of the basic and advanced concepts on the chart, saving them time and improving their trading ideas.
Real-time market structure analysis simplifies complex trends by pinpointing key support, resistance, and breakout levels.
Advanced order block analysis leverages detailed volume data to pinpoint high-demand zones, revealing internal market sentiment and predicting potential reversals. This analysis utilizes bid/ask zones to provide supply/demand insights, empowering informed trading decisions.
Imbalance Concepts (FVG and Breakers) allows traders to identify potential market weaknesses and areas where price might be attracted to fill the gap, creating opportunities for entry and exit.
Swing failure patterns help traders identify potential entry points and rejection zones based on price swings.
Liquidity Concepts, our advanced liquidity algorithm, pinpoints high-impact events, allowing you to predict market shifts, strong price reactions, and potential stop-loss hunting zones. This gives traders an edge to make informed trading decisions based on liquidity dynamics.
🔵 FEATURES
The indicator has quite a lot of features that are provided below:
Swing market structure
Internal market structure
Mapping structure
Adjustable market structure
Strong/Weak H&L
Sweep
Volumetric Order block / Breakers
Fair Value Gaps / Breakers (multi-timeframe)
Swing Failure Patterns (multi-timeframe)
Deviation area
Equal H&L
Liquidity Prints
Buyside & Sellside
Sweep Area
Highs and Lows (multi-timeframe)
🔵 BASIC DEMONSTRATION OF ALL FEATURES
1. MARKET STRUCTURE
The preceding image illustrates the market structure functionality within the Smart Money Concepts indicator.
➤ Solid lines: These represent the core indicator's internal structure, forming the foundation for most other components. They visually depict the overall market direction and identify major reversal points marked by significant price movements (denoted as 'x').
➤ Internal Structure: These represent an alternative internal structure with the potential to drive more rapid market shifts. This is particularly relevant when a significant gap exists in the established swing structure, specifically between the Break of Structure (BOS) and the most recent Change of High/Low (CHoCH). Identifying these formations can offer opportunities for quicker entries and potential short-term reversals.
➤ Sweeps (x): These signify potential turning points in the market where liquidity is removed from the structure. This suggests a possible trend reversal and presents crucial entry opportunities. Sweeps are identified within both swing and internal structures, providing valuable insights for informed trading decisions.
➤ Mapping structure: A tool that automatically identifies and connects significant price highs and lows, creating a zig-zag pattern. It visualizes market structure, highlights trends, support/resistance levels, and potential breakouts. Helps traders quickly grasp price action patterns and make informed decisions.
➤ Color-coded candles based on market structure: These colors visually represent the underlying market structure, making it easier for traders to quickly identify trends.
➤ Extreme H&L: It visualizes market structure with extreme high and lows, which gives perspective for macro Market Structure.
2. VOLUMETRIC ORDER BLOCKS
Order blocks are specific areas on a financial chart where significant buying or selling activity has occurred. These are not just simple zones; they contain valuable information about market dynamics. Within each of these order blocks, volume bars represent the actual buying and selling activity that took place. These volume bars offer deeper insights into the strength of the order block by showing how much buying or selling power is concentrated in that specific zone.
Additionally, these order blocks can be transformed into Breaker Blocks. When an order block fails—meaning the price breaks through this zone without reversing—it becomes a breaker block. Breaker blocks are particularly useful for trading breakouts, as they signal that the market has shifted beyond a previously established zone, offering opportunities for traders to enter in the direction of the breakout.
Here's a breakdown:
➤ Bear Order Blocks (Red): These are zones where a lot of selling happened. Traders see these areas as places where sellers were strong, pushing the price down. When the price returns to these zones, it might face resistance and drop again.
➤ Bull Order Blocks (Green): These are zones where a lot of buying happened. Traders see these areas as places where buyers were strong, pushing the price up. When the price returns to these zones, it might find support and rise again.
These Order Blocks help traders identify potential areas for entering or exiting trades based on past market activity. The volume bars inside blocks show the amount of trading activity that occurred in these blocks, giving an idea of the strength of buying or selling pressure.
➤ Breaker Block: When an order block fails, meaning the price breaks through this zone without reversing, it becomes a breaker block. This indicates a significant shift in market liquidity and structure.
➤ A bearish breaker block occurs after a bullish order block fails. This typically happens when there's an upward trend, and a certain level that was expected to support the market's rise instead gives way, leading to a sharp decline. This decline indicates that sellers have overcome the buyers, absorbing liquidity and shifting the sentiment from bullish to bearish.
Conversely, a bullish breaker block is formed from the failure of a bearish order block. In a downtrend, when a level that was expected to act as resistance is breached, and the price shoots up, it signifies that buyers have taken control, overpowering the sellers.
3. FAIR VALUE GAPS:
A fair value gap (FVG), also referred to as an imbalance, is an essential concept in Smart Money trading. It highlights the supply and demand dynamics. This gap arises when there's a notable difference between the volume of buy and sell orders. FVGs can be found across various asset classes, including forex, commodities, stocks, and cryptocurrencies.
FVGs in this toolkit have the ability to detect raids of FVG which helps to identify potential price reversals.
Mitigation option helps to change from what source FVGs will be identified: Close, Wicks or AVG.
4. SWING FAILURE PATTERN (SFP):
The Swing Failure Pattern is a liquidity engineering pattern, generally used to fill large orders. This means, the SFP generally occurs when larger players push the price into liquidity pockets with the sole objective of filling their own positions.
SFP is a technical analysis tool designed to identify potential market reversals. It works by detecting instances where the price briefly breaks a previous high or low but fails to maintain that breakout, quickly reversing direction.
How it works:
Pattern Detection: The indicator scans for price movements that breach recent highs or lows.
Reversal Confirmation: If the price quickly reverses after breaching these levels, it's identified as an SFP.
➤ SFP Display:
Bullish SFP: Marked with a green symbol when price drops below a recent low before reversing upwards.
Bearish SFP: Marked with a red symbol when price rises above a recent high before reversing downwards.
➤ Deviation Levels: After detecting an SFP, the indicator projects white lines showing potential price deviation:
For bullish SFPs, the deviation line appears above the current price.
For bearish SFPs, the deviation line appears below the current price.
These deviation levels can serve as a potential trading opportunity or areas where the reversal might lose momentum.
With Volume Threshold and Filtering of SFP traders can adjust their trading style:
Volume Threshold: This setting allows traders to filter SFPs based on the volume of the reversal candle. By setting a higher volume threshold, traders can focus on potentially more significant reversals that are backed by higher trading activity.
SFP Filtering: This feature enables traders to filter SFP detection. It includes parameters such as:
5. LIQUIDITY CONCEPTS:
➤ Equal Lows (EQL) and Equal Highs (EQH) are important concepts in liquidity-based trading.
EQL: A series of two or more swing lows that occur at approximately the same price level.
EQH: A series of two or more swing highs that occur at approximately the same price level.
EQLs and EQHs are seen as potential liquidity pools where a large number of stop loss orders or limit orders may be clustered. They can be used as potential reverse points for trades.
This multi-period feature allows traders to select less and more significant EQL and EQH:
➤ Liquidity wicks:
Liquidity wicks are a minor representation of a stop-loss hunt during the retracement of a pivot point:
➤ Buy and Sell side liquidity:
The buy side liquidity represents a concentration of potential buy orders below the current price level. When price moves into this area, it can lead to increased buying pressure due to the execution of these orders.
The sell side liquidity indicates a pool of potential sell orders below the current price level. Price movement into this area can result in increased selling pressure as these orders are executed.
➤ Sweep Liquidation Zones:
Sweep Liquidation Zones are crucial for understanding market structure and potential future price movements. They provide insights into areas where significant market participants have been forced out of their positions, potentially setting up new trading opportunities.
🔵 USAGE & EXAMPLES
The core principle behind the success of this toolkit lies in identifying "confluence." This refers to the convergence of multiple trading indicators all signaling the same information at a specific point or area. By seeking such alignment, traders can significantly enhance the likelihood of successful trades.
MS + OBs
The chart illustrates a highly bullish setup where the price is rejecting from a bullish order block (POC), while simultaneously forming a bullish Swing Failure Pattern (SFP). This occurs after an internal structure change, marked by a bullish Change of Character (CHoCH). The price broke through a bearish order block, transforming it into a breaker block, further confirming the bullish momentum.
The combination of these elements—bullish order blocks, SFP, and CHoCH—creates a powerful bullish signal, reinforcing the potential for upward movement in the market.
SFP + Bear OB
This chart above displays a bearish setup with a high probability of a price move lower. The price is currently rejecting from a bear order block, which represents a key resistance area where significant selling pressure has previously occurred. A Swing Failure Pattern (SFP) has also formed near this bear order block, indicating that the price briefly attempted to break above a recent high but failed to sustain that upward movement. This failure suggests that buyers are losing momentum, and the market could be preparing for a move to the downside.
Additionally, we can toggle on the Deviation Area in the SFP section to highlight potential levels where price deviation might occur. These deviation areas represent zones where the price is likely to react after the Swing Failure Pattern:
BUY – SELL sides + EQL
The chart showcases a bullish setup with a high probability of price breaking out of the current sell-side resistance level. The market structure indicates a formation of Equal Lows (EQL), which often suggests a build-up of liquidity that could drive the price higher.
The presence of strong buy-side pressure (69%), indicated by the green zone at the bottom, reinforces this bullish outlook. This area represents a key support zone where buyers are outpacing sellers, providing the foundation for a potential upward breakout.
EQL + Bull ChoCh
This chart illustrates a potential bullish setup, driven by the formation of Equal Lows (EQL) followed by a bullish Change of Character (CHoCH). The presence of Equal Lows often signals a liquidity build-up, which can lead to a reversal when combined with additional bullish signals.
Liquidity grab + Bull ChoCh + FVGs
This chart demonstrates a strong bullish scenario, where several important market dynamics are at play. The price begins its upward momentum from Liquidity grab following a bullish Change of Character (CHoCH), signaling the transition from a bearish phase to a bullish one.
As the price progresses, it performs liquidity grabs, which serve to gather the necessary fuel for further movement. These liquidity grabs often occur before significant price surges, as large market participants exploit these areas to accumulate positions before pushing the price higher.
The chart also highlights a market imbalance area, showing strong momentum as the price moves swiftly through this zone.
In this examples, we see how the combination of multiple “smart money” tools helps identify a potential trade opportunities. This is just one of the many scenarios that traders can spot using this toolkit. Other combinations—such as order blocks, liquidity grabs, fair value gaps, and Swing Failure Patterns (SFPs)—can also be layered on top of these concepts to further refine your trading strategy.
🔵 SETTINGS
Window: limit calculation period
Swing: limit drawing function
Mapping structure: show structural points
Algorithmic Logic: (Extreme-Adjusted) Use max high/low or pivot point calculation
Algorithmic loopback: pivot point look back
Show Last: Amount of Order block to display
Hide Overlap: hide overlapping order blocks
Construction: Size of the order blocks
Fair value gaps: Choose between normal FVG or Breaker FVG
Mitigation: (close - wick - avg) point to mitigate the order block/imbalance
SFP lookback: find a higher / lower point to improve accuracy
Threshold: remove less relevant SFP
Equal H&L: (short-mid-long term) display longer term
Liquidity Prints: Shows wicks of candles where liquidity was grabbed
Sweep Area: Identify Sweep Liquidation areas
By combining these indicators in one toolkit, traders are equipped with a comprehensive suite of tools that address every angle of the Smart Money Concept. Instead of relying on disparate tools spread across various platforms, having them integrated into a single, cohesive system allows traders to easily see confluence and make more informed trading decisions.
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.
Price Action Toolkit Lite [UAlgo]The Price Action Toolkit Lite is a comprehensive indicator designed to enhance your chart analysis with advanced price action tools. This powerful toolkit combines multiple technical analysis concepts to provide traders with a clear visualization of market structure, liquidity levels, order blocks, and trend lines. By integrating these elements, the indicator aims to offer a holistic view of price action, helping traders identify potential entry and exit points, as well as key levels of interest in the market.
🔶 Key Features
Market Structure Analysis: The indicator includes a ZigZag feature to highlight significant market highs and lows, aiding in the visualization of market structure changes and trends.
Liquidity Sweeps Detection: It identifies and displays liquidity sweeps, which are crucial for recognizing potential market reversals and areas of interest where significant price action is likely to occur.
Order Blocks: Automatically detects and draws order blocks, highlighting areas of institutional buying and selling pressure, which can serve as key support and resistance levels.
Trend Lines: The toolkit can draw and extend trend lines based on pivot points, providing a clear view of prevailing market trends and potential breakout points.
Customizable Settings: Users can adjust various settings, including the length of the ZigZag, liquidity detection sensitivity, the number of order blocks to display, and trend line detection parameters, allowing for a tailored analysis experience.
🔶 Disclaimer
The "Price Action Toolkit Lite " is intended for educational and informational purposes only.
It is not financial advice and should not be construed as such. Trading in financial markets involves substantial risk, including the risk of loss.
Past performance is not indicative of future results.
🔷 Similar Scripts
Liquidity Swings & SweepsThis Pine script indicator is designed to create a visual representation liquidity as identified by swing Highs/Lows along with an indication of the liquidity level that was swept, optionally rating the strength of the sweep based on time & price.
Relevance:
Liquidity levels & sweeps are crucial for many SMC/ICT setups and can indicate a point at which the price changes direction or may re-trace in an opposite direction to provide additional liquidity for continued move in the original direction. Additionally, liquidity levels may provide targets for setups, as price action will often seek to take out those levels as they main contain many buy/sell stops.
How It Works:
The indicator tracks all swing points, as identified using user-defined strength of the swing. Once a swing is formed that meets the criteria, it is represented by a horizontal line starting at the price of the current swing until the last bar on the chart. While the swing is valid, this line will continue to be extended until the swing is invalid or a new swing is formed. Upon identifying a new swing, the indicator then scans the earlier swings in the same direction looking for a point of greatest liquidity that was taken by the current swing. This level is then denoted by dashed horizontal line, connecting earlier swing point to the current. At the same time any liquidity zones between the two swings are automatically removed from the chart if they had previously been rendered on the chart. If the setting to enable scan for maximum liquidity is enabled, then while looking back, the indicator will look for lowest low or highest high that was taken by the current swing point, which may not be a swing itself, however, is a lowest/highest price point taken (mitigated) by the current swing, which in many cases will be better price then then the one represented by previous swing. If the option to render sweep label is enabled, the sweep line will also be completed by a label, that will score the sweep and a tooltip showing the details of the level swept and the time it took to sweep it. The score explained further in configurability section ranks the strength of the sweep based on time and is complemented by price (difference in price between the two liquidity levels).
Configurability:
A user may configure the strength of the swing using both left/right strength (number of bars) as well as optionally instruct the indicator to seek the lowest/highest price point which may not be previous swing that was taken out by newly formed swing.
From appearance perspective liquidity level colors & line width presenting the liquidity/swing can be configured. There is also an option to render the liquidity sweep label that will generate an icon-based rating of the liquidity sweep and a tooltip that provides details on the scope of the swing, which includes liquidity level swept and when it was formed along with the time it took to sweep the liquidity.
Rating is of sweeps is primarily based on time with a secondary reference to price
💥- Best rating, very strong sweep with an hourly or better liquidity sweep
🔥- Second rating, strong sweep with 15 – 59 minute liquidity sweep, or 5+ minute sweep of 10+ points
✅- Third rating, ok sweep with 5 - 15 minute liquidity sweep, or lower-time-frame sweep of 10+ points
❄️ - Weakest sweep, with liquidity of 5 or less minutes swept
What makes this indicator different:
Designed with high performance in mind, to reduce impact on chart render time.
Only keeps valid liquidity levels & sweeps on the chart
Automatically removes previously taken liquidity levels
Ranks liquidity sweeps to indicate strength of the sweep
Hourly Trading System (Zeiierman)█ Overview
The Hourly Trading System (Zeiierman) is designed to enhance your trading by highlighting critical price levels and trends on an hourly basis. This indicator plots the open prices of hourly and 4-hour candles, visualizes retests, displays average price lines, and overlays higher timeframe candlesticks. It is particularly beneficial for intraday traders seeking to capitalize on short-term price movements and volume patterns.
█ How It Works
This indicator works by plotting significant price levels and zones based on hourly and 4-hour candle opens. It also includes functionalities for identifying retests of these levels, calculating and displaying average prices, and showing high and low labels for each hour.
█ Timeframe
The Hourly Trading System is designed to be used on the 1-minute or 5-minute timeframe. This system is tailored for intraday trading, allowing traders to find optimal entries around hourly opening levels and providing an easy method to identify the hourly trend. It works effectively on any market.
█ How to Use
Trend Analysis
Quickly gauge where the current price stands relative to key hourly and 4-hour levels. The plotted lines and zones serve as potential support and resistance areas, helping traders identify crucial points for entry or exit.
Utilize the 1-hour average and higher timeframe candles to understand the overall market trend. Aligning intraday strategies with larger trends can enhance trading decisions.
Use the bar coloring to quickly gauge the 1-hour trend on a lower timeframe. The bar colors indicate whether the hourly trend is bullish (green) or bearish (red), helping traders make quicker decisions in alignment with the overall trend.
Retest Identification
Enable retest signals to see where the price retested the hourly open levels. These retest points often signal strong price reactions, offering opportunities for trades based on support/resistance flips.
One effective strategy to incorporate is looking for price flips when a new hour starts. This approach involves monitoring price action at the beginning of each hour. If the price breaks and retests the hourly open level with strong momentum, it could indicate a potential trend reversal or continuation. This strategy is effective in volatile markets where price movements are significant at the start of each new hour.
Liquidity Sweep Strategy
Another common and effective strategy is the liquidity sweep. This involves identifying key levels where liquidity is likely to accumulate, such as previous hour highs and lows, and observing how the price interacts with these price levels. When the price sweeps through these levels, triggering stop-loss orders or pending orders, it often results in a sharp price movement followed by a reversal. Traders can capitalize on these movements by entering trades in the direction of the reversal once the liquidity sweep has occurred.
Equal Highs and Lows Strategy
The Equal Highs and Lows strategy leverages the concept of identifying levels where the price forms multiple highs or lows at the same level over different hourly periods. These equal highs and lows often indicate strong support or resistance levels where liquidity is accumulated. When the price approaches these levels, it is likely to trigger stop-loss orders and lead to significant price movements. Traders can look for breakouts or reversals around these levels to enter trades with higher probability setups.
█ Settings
Zone Width: Specifies the width of the zone around the 1-Hour Open as a percentage. Adjust this to widen or narrow the zone.
Show Retests: Enables or disables the display of retest markers. Retest markers show where the price has retested the 1-Hour Open line.
Number of Retests: Sets the number of retests to display. Adjust this to see more or fewer retest markers.
Volume Filter: Enables or disables the volume filter for retests. Use this to highlight retests with significant volume.
Volume Filter Length: Sets the length of the volume filter, smoothing the volume data to reduce noise.
1-Hour Average Line: Enables or disables the 1-hour average price line. This line shows the average price over the past hour.
Hourly High & Low Labels: Enables or disables the display of hourly high and low labels, marking the highest and lowest prices within each hour.
Candlesticks: Enables or disables the display of candlesticks on the chart, providing a detailed view of price action.
Bar Color: Enables or disables bar coloring based on price direction, with up bars in green and down bars in red.
Timeframe: Sets the timeframe for higher timeframe candles. Adjust this to match the period you want to analyze.
Number of Candles: Sets the number of higher timeframe candles to display. Increase this to see more candles on the chart.
Location: Sets the location for higher timeframe candles, allowing you to position them left or right on the chart.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Liquidity Swings [UAlgo]The "Liquidity Swings " indicator is designed to help traders identify liquidity swings within the market. This tool is particularly useful for visualizing areas where liquidity is accumulating and where it is being swept, providing valuable insights for making informed trading decisions. By tracking the pivots in price and associating them with volume, the indicator highlights zones of potential support and resistance, helping traders understand market dynamics more clearly.
🔶 Key Features
Liquidity Swing Sensitivity: Adjustable sensitivity settings to fine-tune the detection of liquidity swings according to market conditions and trader preferences.
Two modes of liquidity calculation:
Cumulative Liquidity: Aggregates unswept liquidity over multiple swings until it is swept, providing a broader view of liquidity accumulation.
Individual Liquidity: Displays the accumulated liquidity for each swing independently, offering a more granular perspective.
Visual Customization: Options to customize the colors and sizes of liquidity lines, areas, and informational text for better visual clarity.
Dynamic Updates: The indicator dynamically updates liquidity zones and labels, adjusting to new market data to keep traders informed in real-time.
🔶 Disclaimer
The "Liquidity Swings " indicator is provided for educational and informational purposes only.
It should not be considered as financial advice or a recommendation to buy or sell any financial instrument.
The use of this indicator involves inherent risks, and users should employ their own judgment and conduct their own research before making any trading decisions. Past performance is not indicative of future results.
🔷 Related Scripts
Liquidity Sweeps
Williams %R Liquidity Sweeps
Master Pattern [UAlgo]🔶 Description:
"Master Pattern by UAlgo" aims to identify and visualize "Master Patterns" in price movements on financial charts, and focusing on detecting liquidity levels and sweeps. The indicator provides users with the ability to customize settings such as master pattern detection and detection flexibility, sensitivity to liquidity levels, and visualization preferences.
🔶 What is the Master Pattern ?
The Master Pattern is a framework built around understanding market cycles, which include three main phases: Contraction, Expansion, and Trend.
Contraction Phase: During this phase, the market fluctuates less and consolidates within a narrow range. Institutional trading volumes tend to be low and it is recommended to avoid trading entries during this period.
Expansion Phase: volatility increases and prices fluctuate greatly. Institutional traders begin to establish positions at this stage and may manipulate prices to attract retail traders to create liquidity for their own buy or sell targets.
Trend Phase: The final phase that completes the market cycle. Institutional traders started taking profits, causing the trend to reverse. This triggered panic among retail traders, leading to liquidations and stop-losses. This creates liquidity from which institutional traders can profit, while retail traders' positions are overvalued.
🔶 Key Features:
Pattern Detection : The indicator detects and visualizes contraction patterns in price movements, helping traders identify potential areas of price consolidation.
Also traders can choose between different modes (Strict, Normal, Relax) for obtaining master patterns, providing flexibility in pattern identification based on individual trading strategies and preferences.
The Value/Expansion Line : This value line is considered by institutional traders as a potential “Point of Origin” for future price movements.
An Application Example of the Master Pattern :
Select the Appropriate Timeframes: A significant separation between the higher timeframe (HTF) and the lower timeframe (LTF) is essential. For instance, combinations like 4H and 15M, 4H and 5M, or 1H and 1M. You can change this according to your own strategy.
Trade Based on Contraction Box, Value Line and Liquidity: When the HTF is above value, look for buying opportunities on your LTF below value. Conversely, when the HTF is below value, seek selling opportunities on your LTF above value. Sweeping liquidity in LTF is also an important parameter.
Also Value/Expansion Line can also be used as Support/Resistance zone,
Liquidity Levels : The indicator includes functionality to detect and display liquidity levels on the chart.
Dashboard Display : A customizable dashboard provides users with key information, including liquidity levels, master pattern values, and whether the current price is above or below Master Pattern's value lines.
Additionally, when liquidity is swept or the price rises above or falls below the value line. this information can be displayed on the dashboard.
Customizable Settings: Users can adjust parameters such as the pattern detection mode, sensitivity to liquidity levels, liquidity type (cumulative or individual for each swing), visualization preferences for master patterns, the position and font size of the dashboard.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
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.
Smart Money Setup 06 [TradingFinder] Liquidity Sweeps + OB Swing🔵 Introduction
Smart Money, managed by large investors, injects significant capital into financial markets by entering real capital markets.
Capital entering the market by this group of individuals is called smart money. Traders can profit from financial markets by following such individuals.
Therefore, smart money can be considered one of the effective methods for analyzing financial markets.
Sometimes, before a market movement, fluctuation movements that create price movement cause many traders' "Stop Loss" to be triggered. These movements are created in various patterns.
One of these patterns is similar to an "Expanding Triangle", which touches the stop loss of individuals who have placed their stop loss in the cash area in the form of 5 consecutive openings.
To better understand this setup, pay attention to the images below.
Bullish Setup Details :
Bearish Setup Details :
🔵 How to Use
After adding the indicator to the chart, wait for trading opportunities to appear. By changing the "Time Frame" and "Pivot Period", you can see different trading positions.
In general, the smaller the "Time Frame" and "Pivot Period", the more likely trading opportunities will appear.
Bullish Setup Details on Chart :
Bearish Setup Details on Chart :
🔵 Settings
You have access to "Pivot Period", "Order Block Refine", and "Refine Mode" through settings.
By changing the "Pivot Period", you can change the range of zigzag that identifies the setup.
Through "Order Block Refine", you can specify whether you want to refine the width of the order blocks or not. It is set to "On" by default.
Through "Refine Mode", you can specify how to improve order blocks.
If you are "risk-averse", you should set it to "Defensive" mode because in this mode, the width of the order blocks decreases, the number of your trades decreases, and the "reward-to-risk ratio "increases.
If you are on the opposite side and are "risk-taker", you can set it to "Aggressive" mode. In this mode, the width of the order blocks increases, and the likelihood of losing positions decreases.
Market Structure (Range) & Internal Liquidity
This indicator will simplify the price-action reading of any trader/investor by decluttering his/her charts from un-important & confusing candles to highlight the true momentum candles which are usually formed by institutional buying/selling .
The indicator will be a good tool in the arsenal of the following styles of Trading/Investing
Smart Money / Liquidity Concepts
Price Action Concepts
Demand & Supply Concepts
Support & Resistance Concepts
UNIQUE FEATURES:
1. Market Structure - Range & Internal Liquidity:
Unlike other liquidity indicators, this indicator only highlights liquidity levels of significant importance. Not every intermediate high & low in a chart are worthy of noticing, hence by enabling the 'Swings' & 'Range (BoS)' feature in the indicator settings, the structure highs and lows (external liquidity) in a chart can be identified.
Any other liquidity levels within a market range (Range between structural High & Low) is known as internal liquidity which price targets to collect enough orders before heading towards the external liquidity levels.
2. Gaps (Fair Value Gaps / Imbalance):
Not every imbalance / gap between candles are important & trade-worthy. This feature of the indicator is different from the other widely available imbalance indicators & only highlights gaps formed by true momentum candles. Gaps between unimportant inside bars are not highlighted, as these bars occur in the absence of momentum.
3. True Price Action:
Looking at the two charts below, we can clearly observe the difference between price action of a confusing normal chart & the simplified price action highlighted by the indicator. This feature declutters the charts by only highlighting the candles a trader / investor should notice in a chart.
This feature when used in confluence with the liquidity levels feature & gap feature of the indicator, helps identify the true demand & supply zones (order blocks) in a chart.
Before
After
4. Zig Zag Lines:
This unique feature which is useful to Identify & Backtest different entry types taught by Smart Money Traders . This feature helps the trader understand the True Fractal Nature of price. This can also be seen as an alternate to the default line chart feature.
Examples of Entry Types taken by Smart Money Traders
ADDITIONAL FEATURES:
(These features are essential addons to trade liquidity. However, these are derived from publicly available indicators from the Tradingview library, but with a different interpretation for a better visualization of charts & or to time better trade entries without cluttering the charts)
a. Inside Bar & Outside Bars:
Identify not just a single Inside Bar as highlighted by other indicators, but to highlight a series of candles which are within a master candle range and are exhibiting unimportant sideways price action.
Outside Bars only relevant to momentum candles are highlighted, ignoring candles that occur within a master candle range. Highs & Lows of such Outside Bars are used by aggressive traders to identify liquidity levels in the charts.
b. Highs & Lows of previous Monthly / Weekly / Daily & Hourly Candles:
This feature draws Highs & Lows of previous Monthly / Weekly / Daily & Hourly Candles on the extreme right hand side of the chart to keep the charts clean.
Additionally for Hourly time frame, the indicator includes a setting to select the hourly candle time frame (60 min / 75 min / 240 min), which are personal and different for each trader.
UNDERLYING CONCEPT:
In the image below we see how a large majority of Traders / Investors incorrectly mark Structure markings, mistaking a raid of internal liquidity as a Break of Structure, thereby taking trades opposite to the broader trend of the markets
However, this indicator has a higher accuracy of identifying the correct price structure by only marking a structure high or low, when a subsequently opposite side liquidity is taken/raided. Further the broader trend of the markets can be easily identified by looking as to which side the Break of Structure has happened. (This is visible in the indicator in the form of 'Range' feature, so if a Range High is broken then it is understood to be in an uptrend & vice versa)
The underlying core functionality of the indicator is best displayed by the image below
USECASE OF THE INDICATOR:
Before taking any Buying/Selling position in the markets, a Trader / Investor must analyze the price action on the following parameters
HTF & LTF Trend Identification (To judge if trade is Pro-Trend or Counter-Trend)
Is Price at a High Probability Area of Interest?
Is Price satisfying the trade entry conditions?
Let us see how this indicator can be used as a complete trading system in itself and addresses each of the above parameters
Disclaimer: Illustrations shown below are just for understanding the features of the indicator & does not guarantee profitability. Every trader must back test their setups to arrive at a setup with an edge (positive expectancy) before they start actively trading the setup.
1. HTF & LTF Trend Identification (Pro-Trend / Counter-Trend) using 'Range (BoS)' feature of the indicator
Let's assume a Day Trader, uses hourly chart (75 min) to frame his Higher Time Frame (HTF) ideas & 15min charts (LTF) for trade entries
Looking at the chart below the Trader concludes that the HTF has most recently broken the structure to the downside and is considered Bearish till price action is below the range high of 48600 levels. It can also be concluded that the price is currently in a Bullish retracement.
The Trader can choose to take both Pro-Trend or Counter-Trend Trades, timing the trade entries using the LTF charts.
Looking at the LTF chart below, it is evident that price on LTF has also broken structure to the downside and is now aligned with the HTF Bearish Trend. The Trader will now look to get into short trades, to take trades both in line with HTF & LTF trend.
2. Let's identify if Price is at a High Probability Area of Interest, using either single or combination of the 'Swings' / 'Gaps' / 'Outside Bars' / 'HL of previous M,W,D, H candles' features of the indicator
Definition of High Probability Level / Area differs from each Traders perspective depending upon which of the Trading Styles (mentioned in the beginning) does one use.
Smart Money Traders
SMC Traders are known to get into trades early and their high R:R trades are taken mostly at a High Probability Area of Interest which are identified by them on HTF, by looking for candles with imbalance (gaps) & or candles which have taken out a previous liquidity and then having creating imbalance (gaps).
Also Turtle Soups is one of the favorite setups for SMC traders, where a trader enters a trade on LTF (typically 1 min/3min & 5min) after grabbing HTF liquidity lying at H/L of outside bar / previous monthly, weekly, daily or hourly candles.
Demand & Supply Traders
Some of the Best Demand & Supply Traders have the patience to wait for trades and take trades at the extreme Demand & Supply Zones within a market Range.
As illustrated below, the extreme hourly supply zone just below the structure high, which has the confluence of imbalance and Bearish HTF confirmation resulted in a good R:R trade.
Price Action Traders & Support & Resistance Traders
From the illustration below we can see how the 15 min Range breakdown confirms the breakdown of the Inverted Cup Pattern for Price Action Traders & Support & Resistance Traders using the same area of breakdown as the new Resistance to enter Short trades
3. Let's identify if Price is satisfying the Trade Entry Conditions using the 'Zig-Zag Lines' feature
Statistics say that majority (> 80%) of Traders blow up their accounts multiple times or completely give up and never achieve profitability.
One of the primary reasons for this is Traders punching trades randomly and without having proper Setup or rules for entering Trades.
Also in order to arrive at rules or execute the different entry models (couple of examples highlighted earlier) taught by different Trainers, a Trader needs to learn to visualize charts in a similar format to what the trainers are teaching.
The Zig-Zag lines feature is a form of line chart that joins the swing high points to the swing low points on the chart to represent the True Price action & a proper fractal nature of the markets, unlike the line chart which is formed by only by joining the closing value of each candle.
From the image below we can see that the Zig-Zag lines feature eliminates the randomness visible in the line chart and is a more smoother chart. Using this feature one can back test the various entry models widely available on the internet or arrive at a user specific model which he/she is comfortable with.
CONCLUSION:
Trading with a deeper understanding of Price Action allows a Trader/Investor to enter or exit trades with ease. Price Action trading allows individuals to keep their charts clean and stay away from the other lagging technical indicators and enter trades much earlier than other technical indicators.
This indicator attempts in simplifying the understanding of price action for every one and identify potential high probability areas / levels where one should enter / exit trades.
This indicator will be an important tool in the arsenal of any Trader / Investor to take better informed trades, however it does not guarantee profitability of a Trader, due to the randomness of the markets & external factors that influence each trader.
GET ACCESS:
Refer Author's instructions below to get access to the indicator
Liquidity Grab Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grab Screener! This screener can provide information about the latest liquidity grabs in up to 5 tickers. You can also customize the algorithm that finds the liquidity grabs and the styling of the screener.
Features of the new Liquidity Grab Screener :
Find Latest Liquidity Grabs Accross 5 Tickers
Price, Size, Status Information
Customizable Algoritm / Styling
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a bubble is plotted.
The bubble size is determined by the wick to body ratio of the candle.
This screener then finds liquidity grabs accross 5 different tickers, and shows the latest information about them.
Price -> The price when the liquidity grab happened.
Size -> Size of the liquidity grab, determined by the wick-body ratio.
Status -> Shows the elapsed time of the liquidity grab.
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, and planning your trades accordingly. This screener will find liquidity grabs from up to 5 tickers and give information about their price, size and status. The screener also lets you customize the pivot length and the wick-body ratio for liquidity grabs.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan order blocks here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
Liquidation Levels with Liquidity Sweeps/Breakouts [AlgoAlpha]🌊📈 Dive into the depths of market liquidity with "Liquidation Levels with Liquidity Sweeps/Breakouts" - your ultimate tool for navigating the turbulent waters of trading! 🧹💹 Crafted by the wizards at AlgoAlpha, this Pine Script™ masterpiece illuminates the unseen liquidity levels and sweeps, guiding you through the financial seas with insight. 🚀🔍
Key Features:
🕒 Timeframe Flexibility: Customize your analysis with a TimeFrame Multiplier, allowing the indicator to operate on higher timeframes for broader market insight.
💥 Dynamic Volume Threshold: Set your sensitivity to breakouts with the High Volume Threshold, ensuring you catch significant market movements while avoiding fakeouts.
👀 Visibility Controls: Toggle the display of swept liquidity and highlight liquidity breakouts with customizable background colors for clear, actionable insights.
🎨 Custom Appearance: Personalize your chart with bullish, bearish, and breakout colors to match your trading style.
How to Use the Liquidity Levels with Liquidation Sweeps Indicator:
Maximize your trading efficiency with the Liquidity Levels with Liquidation Sweeps Indicator by following these simple steps! 🚀🌟
⚙️ Customize Settings: Access the indicator settings to personalize the TimeFrame Multiplier, High Volume Threshold, and Relative Volume Period. Tailor these settings to match your trading strategy and chart preferences.
👁️ Analyze Liquidity Levels: Monitor the chart for liquidity levels and sweeps. Bullish sweeps are marked with green labels, bearish sweeps with red, and breakouts highlighted by the chart background.
🔔 Set Alerts: Enable alert conditions for liquidity breakouts and sweeps within the indicator's settings. This feature allows you to receive real-time notifications, helping you to act promptly on trading opportunities.
How It Works:
The heart of this indicator lies in its ability to track and highlight liquidity levels derived from swing pivots, and sweeps across multiple timeframes. By calculating relative volume against a user-defined threshold, it identifies strong volume movements indicative of liquidity breakouts, this helps filter out fake-outs. When a liquidity level is breached but not completely mitigated, it's either marked as a bullish or bearish sweep, which come with the option to show an estimate of the number of liquidations during the sweep.
if peakform and peakprinted != 1
aR.push(line.new(bar_index-mult, h.get(1), bar_index+1, h.get(1), color = red))
aRv.push(h.get(1))
peakprinted := 1
if valleyform and valleyprinted != 1
aS.push(line.new(bar_index-mult, l.get(1), bar_index+1, l.get(1), color = green))
aSv.push(l.get(1))
valleyprinted := 1
Liquidity Grabs | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grabs indicator! This indicator can renders bubbles with different sizes at candles that have liquidity grabs, which happen when a liquidity areas (buyside / sellside liquidity) is swept. These candles often fill a lot of market orders that were sitting on the liquidity zone. You can check "How Does It Work" section for more information.
Features of the new Liquidity Grabs Indicator :
Renders Liquidity Grabs
Customizable Algorithm
Customizable Styles
Alerts
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, and planning your trades accordingly. This indicator renders liquidity grabs in an unique bubble style, the size of the bubble is calculated by the size of the wick that caused the liquidity grab. The indicator also lets you customize the pivot length and the wick-body ratio for liquidity grabs.
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a bubble is plotted. Using the wick length as a metric to measure liquidity is good because long wicks can translate to a large amount of buyers / sellers entering the market.
The bubble size is determined by the wick to body ratio of the candle.
⚙️SETTINGS
1. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
Liquidity Sweeps [LuxAlgo]The Liquidity Sweeps indicator detects the presence of liquidity sweeps on the user's chart, while also providing potential areas of support/resistance or entry when Liquidity levels are taken.
In the event of a Liquidity Sweep a Sweep Area is created which may provide further areas of interest.
🔶 USAGE
A Liquidity Sweep occurs when the price breaks through a liquidity level (further referred to as LqL ), after which the price returns below/above the liquidity level , forming a wick.
The script provides 2 options when this can happen:
A wick passes a LqL after which the price quickly returns.
First the closing price breaks through a LqL . After a while, the price retests the LqL and forms a wick in the opposite direction.
The examples above show a bullish and bearish scenario of "a wick passing through an LqL where the price quickly comes back". This type of Liquidity Sweep is represented by a dotted line.
The following example shows a broken LqL , where the price retests the Liquidity zone and bounces back.
Instead of a dotted line, this type of Liquidity Sweep is represented by a dashed line.
When a Liquidity Sweep takes place, this is indicated by highlighting the "wick- LqL " distance. This distance is also the basis for the Sweep Area (see next sub-section). A small 3-bar long dotted line starts from the opposite wick as an extra aid to determine potential support/resistance/entry, ...
Colors can be set in the settings (here yellow and aqua blue instead of default colors for clarity).
🔹 Sweep Areas
The distance between the LqL and the maximum limit of the wick forms a Sweep Area , which can provide a potential support/resistance or entry zone.
These examples show both types of Liquidity Sweeps , followed by a box indicating the Sweep Area .
When the Sweep Area is mitigated or a certain amount of bars has passed (Settings - 'Max bars'), the boxes will no longer be updated.
In this case, the 'Trigger' label shows the bar where the high crossed a LqL , after which a red box starts between LqL and high.
The low of the 'Trigger' bar is the starting point of a short dotted line. Next to the 'Trigger bar' the high touches the Sweep Area before returning, providing a potential short entry. One bar further, another entry opportunity presents itself when the price breaks the small dotted line.
In the following bullish example, not only do we see opportunities when the LqL has been swept, but the following Sweep Area provides some potential entries.
The small green dotted lines also act as a guide where the price breaks above, then forms a small range, after which the price continues in an upward direction.
Here, the initial trigger on the left forms a Sweep Area that is quickly broken. However, the small green line provides a potential entry area later on. The price moves in a short channel before breaking above the LqL (green dashed line), providing more potential entries. Price retests this LqL , and goes below this level. The price remained around the previously formed channel, after which the price resumed its upward trend.
🔶 SETTINGS
🔹 Liquidity Sweeps
Swings: Period used for the swing detection, with higher values returning longer term Liquidity Levels .
Options:
- Only Wicks: Only detects a Liquidity Sweep when a wick sweeps a previous wick
- Only Outbreaks & Retest: Only detects a Liquidity Sweep when the price breaks a Liquidity Level , returns & retests the Liquidity Level , and forms a wick in the opposite direction.
- Wicks + Outbreaks & Retest: Both options can be detected.
🔹 Sweep Area
Extend: Enables/Disables extension of the Sweep Area boxes.
Max Bars: Limit the extension to a certain number of bars.
Color Sweep Area box.
Sweep institutionalThis indicator focuses on identifying "SWEEPs" based on taking liquidity at highs and lows. The application of the SWEEP strategy is highly determinant in the Swing points, as they serve as the target of our operations.
ALERTS INCLUDED
🔹Example of Strategy Application
1.-Create the BULLISH SWEEP.
2.-You can enter LONG.
3.-If it is a BULLISH SWEEP, take a long with a SWING HIGH target (2-3 pips up).
4.-If it is a BULLISH SWEEP, place your SL behind the SWEEP (2-3 pips).
(This example is bullish, but it would be the same in a bearish setup, applying everything in the opposite way)
t's very crucial for the strategy to reference SWING POINTS, as these points will be our take profit and stop loss points.
The strategy is based on identifying a SWEEP. After this, we can look for trading opportunities with targets on the opposite side of the fractal. Remember, if you decide to enter, the Stop Loss should be placed protected by the Sweep, and the Take Profit should be set at the opposite Swing, as seen in the example.
Use this STRATEGY IN TIMEFRAMES GREATER THAN 30M. If you decide to use it in timeframes <30M, there's a higher probability of encountering false SWEEPs (the most optimal are 1h & 4h)
🔹Use
The Sweep strategy involves identifying potential trades based on the creation of a "SWEEP" (liquidity grab) at the Swing High or Swing Low. Below is an example of a bearish opportunity after taking liquidity from a Swing High with a wick and no candle body closing above it.
🔹Details
As you have seen, it indicates the surpassing of a high without the candle body, this is called a “SWEEP.” Each time this occurs, the price is likely to surpass the opposite SWING High/Low. The following example will show more clearly how it works in both bullish and bearish scenarios.
🔹Configuration
-Cooldown period: is the length of the operating Range line
-Swing detection: determines the points to be used as SL and TP protection
Bullish/Berish Sweep
-Line Width: size of the line
-Line Style: design type
-Color
Session Breakout/Sweep with alertsThis indicator is based on popular London breakout strategy. but as I noticed that it don't work good with breakouts so I made it to be used as reversal entries as well. By default the timing is set for asian session but you can change it according to your need.
Use as breakout
Use as liquidity sweep
Note:
On some pairs the timing changes automatically (I don't know why), if you face this issue , go to settings and set the timing accordingly and save it as templet so that you don't have to change it every time you load the chart with timing issue.
I hope you guys find it useful. Do share your though and feedback in comments.
Liquidity PeaksThe "Liquidity Peaks" indicator is a tool designed to identify significant supply and demand zones based on volumetric analysis. It analyzes the volume profile within a specified lookback range to pinpoint the most volumetric point and draw corresponding zones on the price chart.
The 𝐋𝐢𝐪. 𝐏𝐞𝐚𝐤𝐬 indicator utilizes volume data to identify key supply and demand areas on the price chart. By examining the volume profile within a defined lookback range, it highlights three distinct zones: liquidity grab, volume containment, and the most volumetric point.
Zones and their meanings:
Liquidity grab (Orange box): This zone represents a price level where there is a significant swipe of the previous demand zone within the volume range. It indicates a potential shift in market sentiment and serves as a key supply or demand area.
Volume containment (Gray box): This zone displays the area of volume contained before the peak in volume. It provides insights into the range where buying or selling pressure was concentrated, highlighting potential support or resistance levels.
Most volumetric point (Light blue box): This zone represents the point within the lookback range that exhibits the highest volume. It signifies a significant area of market interest and indicates a potential supply or demand level.
Adjustable options:
Adjust liquidity Grab: This option allows you to adjust the size of the boxes. When enabled, the box size is set to twice the size of the high or low of the candle's wick. This adjustment enhances the visibility and accuracy of identifying swipes at specific price levels.
Show origin: Enabling this option ensures that the liquidity boxes are drawn from the wick they were created from. This provides a clear visual reference to the specific candle and highlights the liquidity levels associated with it.
Utility:
The 𝐋𝐢𝐪. 𝐏𝐞𝐚𝐤𝐬 indicator is a valuable tool for traders and investors seeking to identify significant supply and demand zones in the market. By analyzing volume data and drawing corresponding zones on the chart, it helps to pinpoint areas where buying or selling pressure is likely to emerge.
Traders can utilize this information to identify potential support and resistance levels, plan their entries and exits, and make more informed trading decisions. The liquidity grab zones can act as potential reversal or breakout points, while the volume containment zones and most volumetric points provide insights into areas of high market interest.
It is important to note that this indicator should be used in conjunction with other technical analysis tools and indicators to confirm trading signals and validate market dynamics.
Example Charts:
Price based concepts / quantifytools- Overview
Price based concepts incorporates a collection of multiple price action based concepts. Main component of the script is market structure, on top of which liquidity sweeps and deviations are built on, leaving imbalances the only standalone concept included. Each concept can be enabled/disabled separately for creating a selection of indications that one deems relevant for their purposes. Price based concepts are quantified using metrics that measure their expected behavior, such as historical likelihood of supportive price action for given market structure state and volume traded at liquidity sweeps. The concepts principally work on any chart, whether that is equities, currencies, cryptocurrencies or commodities, charts with volume data or no volume data. Essentially any asset that can be considered an ordinary speculative asset. The concepts also work on any timeframe, from second charts to monthly charts. None of the indications are repainted.
Market structure
Market structure is an analysis of support/resistance levels (pivots) and their position relative to each other. Market structure is considered to be bullish on a series of higher highs/higher lows and bearish on a series of lower highs/lower lows. Market structure shifts from bullish to bearish and vice versa on a break of the most recent pivot high/low, indicating weak ability to defend a key level from the dominating side. Supportive market structure typically provides lengthier and sustained trending environment, making it an ideal point of confluence for establishing directional bias for trades.
Liquidity sweeps
Liquidity sweeps are formed when price exceeds a pivot level that served as a provable level of demand once and is expected to display demand again when revisited. A simple way to look at liquidity sweeps is re-tests of untapped support/resistance levels.
Deviations
Deviations are formed when price exceeds a reference level (market structure shift level/liquidity sweep level) and shortly closes back in, leaving participating breakout traders in an awkward position. On further adverse movement, stuck breakout traders are forced to cover their underwater positions, creating ideal conditions for a lengthier reversal.
Imbalances
Imbalances, also known as fair value gaps or single prints, depict areas of inefficient and one sided transacting. Given inclination for markets to trade efficiently, price is naturally attracted to areas that lack proper participation, making imbalances ideal targets for entries or exits.
Key takeaways
- Price based concepts consists of market structure, liquidity sweeps, deviations and imbalances.
- Market structure shifts from bullish to bearish and vice versa on a break of the most recent pivot high/low, indicating weak ability to defend a key level from the dominating side.
- Supportive market structure tends to provide lengthier and sustained movement for the dominating side, making it an ideal foundation for establishing directional bias for trades.
- Liquidity sweeps are formed when price exceeds an untapped support/resistance level that served as a provable level of demand in the past, likely to show demand again when revisited.
- Deviations are formed when price exceeds a key level and shortly closes back in, leaving breakout traders in an awkward position. Further adverse movement compels trapped participants to cover their positions, creating ideal conditions for a reversal.
- Imbalances depict areas of inefficient and one sided transacting where price is naturally attracted to, making them ideal targets for entries or exits.
- Price based concepts are quantified using metrics that measure expected behavior, such as historical likelihood of supportive structure and volume traded at liquidity sweeps.
- For practical guide with practical examples, see last section.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Disclaimer
Price based concepts are not buy/sell signals, a standalone trading strategy or financial advice. They also do not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Price based concepts notify when a set of conditions are in place from a purely technical standpoint. Price based concepts should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
Price based concepts are backtested using metrics that reasonably depict their expected behaviour, such as historical likelihood of supportive price movement on each market structure state. The metrics are not intended to be elaborate and perfect, but to serve as a general barometer for feedback created by the indications. Backtesting is done first and foremost to exclude scenarios where the concepts clearly don't work or work suboptimally, in which case they can't be considered as valid evidence. Even when the metrics indicate historical reactions of good quality, price impact can and inevitably does deviate from the expected. Past results do not guarantee future performance.
- Example charts
Chart #1 : BTCUSDT
Chart #2 : EURUSD
Chart #3 : ES futures
Chart #4 : NG futures
Chart #5 : Custom timeframes
- Concepts
Market structure
Knowing when price has truly pivoted is much harder than it might seem at first. In this script, pivots are determined using a custom formula based on volatility adjusted average price, a fundamentally different approach to the widely used highest/lowest price within X amount of bars. The script calculates average price within set period and adjusts it to volatility. Using this formula, the script determines when price has turned significantly enough and aggressively enough to constitute a relevant pivot, resulting in high accuracy while ruling out subjective decision making completely. Users can adjust length of market structure basis and sensitivity of volatility adjustment to achieve desired magnitude of pivots, reflected on the average swing metrics. Note that structure pivots are backpainted. Typical confirmation time for a pivot is within 2-3 bars after peak in price.
Market structure shifts
Generally speaking, traders consider market structure to have shifted when most recent structure high/low gets taken out, flipping underlying bias from one side over to the other (e.g. from bullish structure favoring upside to bearish structure favoring downside). However, there are many ways to approach the concept and the most popular method might not always be the best one. Users can determine their own market structure shift rules by choosing source (close, high, low, ohlc4 etc.) for determining structure shift. Users can also choose additional rules for structure shift, such as two consecutive closes above/below pivot to qualify as a valid shift.
Liquidity sweeps
Users can set maximum amount of bars liquidity levels are considered relevant from the moment of confirmed pivot. By default liquidity levels are monitored for 250 bars and then discarded. Level of tolerance can be set to anything between 100 and 1000 bars. For each liquidity sweep, relative volume (volume relative to volume moving average) is stored and added to average calculations for keeping track of typical depth of liquidity found at sweeps.
Deviations
Users can set a maximum amount of bars price has to spend above/below reference level to consider a deviation to be in place. By default set to 6 bars.
Imbalances
Users can set a desired fill point for imbalances using the following options: 100%, 75%, 50%, 25%. Users can also opt for excluding insignificant imbalances to attain better relevance in indications.
- Backtesting
Built-in backtesting is based on metrics that are considered to reasonably quantify expected behaviour of the main concept, market structure. Structure feedback is monitored using two metrics, supportive structure and structure period gain. Rest of the metrics provided are informational in nature, such as average swing and average relative volume traded at liquidity sweeps. Main purpose of the metrics is to form a general barometer for monitoring whether or not the concepts can be viewed as valid evidence. When the concepts are clearly not working optimally, one should adjust expectations accordingly or take action to improve performance. To make any valid conclusions of performance, sample size should also be significant enough to eliminate randomness effectively. If sample size on any individual chart is insufficient, one should view feedback scores on multiple correlating and comparable charts to make up for the loss.
For more elaborate backtesting, price based concepts can be used in any other script that has a source input, including fully mechanic strategies utilizing Tradingview's native backtester. Each concept and their indications (e.g. higher low on a bearish structure, lower high on a bullish structure, market structure shift up, imbalance filled etc.) can be utilized separately and used as a component in a backtesting script of your choice.
Structure feedback
Structure feedback is monitored using two metrics, likelihood of supportive price movement following a market structure shift and average structure period gain. If either of the two employed tests indicate failed reactions beyond a tolerable level, one should take action to improve feedback by adjusting the settings. If feedback metrics after adjusting the settings are still insufficient, the concepts are working suboptimally for the given chart and cannot be regarded as valid technical evidence as they are.
Metric #1 : Supportive structure
Each structure pivot is benchmarked against its respective structure shift level. Feedback is considered successful if structure pivot takes place above market structure shift level (in the case of bullish structure) or below market structure shift level (in the case of bearish structure). Structure feedback constitutes as one test indicating how often a market structure state results in price movement that can be considered supportive.
Metric #2 : Structure period gain
Each structure period is expected to present favorable appreciation, measured from one market structure shift level to another. E.g. bullish structure period gain is measured from market structure shift up level to market structure shift down level that ends the bullish structure period. Bearish structure is measured in a vice versa manner, from market structure shift down level to market structure shift up level that ends the bearish structure period. Feedback is considered successful if average structure period gain is supportive for a given structure (positive for bullish structure, negative for bearish structure).
Additional metrics
On top of structure feedback metrics, percentage gain for each swing (distance between a pivot to previous pivot) is recorded and stored to average calculations. Average swing calculations shed light on typical pivot magnitude for better understanding changes made in market structure settings. Average relative volume traded at liquidity sweep on the other hand gives a clue of depth of liquidity typically found on a sweeps.
Feedback scores
When market structure (basis for most concepts) is working optimally, quality threshold for both feedback metrics are met. By default, threshold for supportive structure is set to 66%, indicating valid feedback on 2/3 of backtesting periods on average. On top, average structure period gain needs to be positive (for bullish structures) and negative (for bearish structure) to qualify as valid feedback. When both tests are passed, a tick indicating valid feedback will appear next to feedback scores, otherwise an exclamation mark indicating suboptimal performance on either or both. If both or either test fail, market structure parameters need to be optimized for better performance or one needs to adjust expectations accordingly.
Verifying backtest calculations
Backtest metrics can be toggled on via input menu, separately for bullish and bearish structure. When toggled on, both cumulative and average counters used in backtesting will appear on "Data Window" tab. Calculation states are shown at a point in time where cursor is hovered. E.g. when hovering cursor on 4th of January 2021, backtest calculations as they were during this date will be shown.
- Alerts
Available alerts are the following.
- HH/HL/LH/LL/EQL/EQH on a bullish/bearish structure
- Bullish/bearish market structure shift
- Bullish/bearish imbalance created
- Bullish/bearish imbalance filled
- Bullish/bearish liquidity sweep
- Bullish/bearish deviation
- Visuals
Each concept can be enabled/disabled separately for creating a selection indications that one deems relevant for their purposes. On top, each concept has a stealth visual option for more discreet visuals.
Unfilled imbalances and untapped liquidity levels can be extended forward to better gauge key areas of interest.
Liquidity sweeps have an intensity option, using color and width to visualize volume traded at sweep.
Market structure states and market structure shifts can be visualized as chart color.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and colors are fully customizable via input menu.
- Practical guide
The basic idea behind market structure is that a side (bulls or bears) have shown significant weakness on a failed attempt to defend a key level (most recent pivot high/low). In the same way, a side has shown significant strength on a successful attempt to break through a key level. This successful break through a key level often leads to sustained lengthier movement for the side that provably has the upper hand, making it an ideal tool for establishing directional bias.
Multi-timeframe view of market structure provides crucial guidance for analyzing market structure states on any individual timeframe. If higher timeframe market structure is bullish, it doesn't make sense to expect contradicting lower timeframe market structure to provide significant adverse movement, but rather a normal correction within a long term trend. In the same way, if lower timeframe market structure is in agreement with higher timeframe market structure, one can expect a reliable trending environment to ensue as multiple points of confluence are in place.
Bullish structure can be considered constructive on a series of higher highs and higher lows, indicating strong interest from bulls to sustain an uptrend. Vice versa is true for bearish structure, a series of lower highs and lower lows can be considered constructive. When structure does not indicate strong interest to maintain a supportive trend (lower highs on bullish structure, higher lows on bearish structure), a structure shift and a turn in trend might be nearing.
Market structure shifts are of great interest for breakout traders who position for continuation. Structure shifts can indeed be fertile ground for executing a breakout trade, but breakouts can easily turn into fakeouts that leave participants in an awkward position. When price moves further away from the underwater participants, potential for snowball effect of covering positions and driving price further away is elevated.
Liquidity sweeps as a concept is based on the premise that pivoting price is evidence of meaningful depth of liquidity found at/around pivot. If liquidity existed at a pivot once, it is likely to exist there in the future as well. When price grinds against liquidity, it is on a path of resistance rather than path of least resistance. Pivots are also attractive placements for traders to set stop-losses, which act as fuel for price to move to the opposite direction when swept and triggered.
Behind tightly formed pivots are potentially many stop-loss orders lulled in the comfort of having many layers of levels protecting their position. Compression that leaves such clusters of unswept liquidity rarely goes unvisited.
As markets strive for efficient and proper transacting most of the time, imbalances serve as points in price where price is naturally attracted to. However, imbalances too are contextual and sometimes one sided trading is rewarded with follow through, rather than with a fill. Identifying market regimes give further clue into what to expect from imbalances. In a ranging environment, one can expect imbalances to fill relatively quick, making them ideal targets for entries and exits.
On a strongly trending environment on the other hand imbalances tend to stick for a much longer time. In such environments continuation can be expected with no fills or only partial fills. Signs of demand preventing fill attempts serve as additional clues for imminent continuation.
Stophunt WickAcknowledgement
This indicator is dedicated to my friend Alexandru who saved me from one of these liquidation raids which almost liquidated me.
Alexandru is one of the best scalpers out there and he always nails his entries at the tip of these wicks.
This inspired me to create this indicator.
What's a Liquidation Wick?
It's that fast stop-hunting wick that stophunts everyone by triggering their stop-loss and liquidation.
Liquidity is the lifeblood of stock market and liquidation is the process that moves price.
This indicator will identify when a liquidity pool is getting raided to trigger buy or sell stops, they are also know as stop-hunts.
How does it work?
When market consolidates in one direction, it builds up liquidity zones.
Market maker will break out of these consolidation phases by having dramatic price action to either pump or dump to raid these liquidity zones.
This is also called stop-hunts or liquidity raids. After that it will start reversing back to the opposite direction.
This is most noticeable by the length of the wick of a given candle in a very short amount of time and the total size of the candle.
This indicator highlights them accordingly.
Settings
Wick and Candle ratio works with default values but finetune will enhance user experience and usability.
Wick Ratio: Size of the wick compared to body of a candle.
Adjust this to higher ratio on smaller timeframe or smaller ratio on bigger timeframe to your trading style to spot a trend reversal.
Candle Ratio: The size of the candle, by default it is 0.75% of the current price.
For example, if BTC is at 20,000 then the size of the candle has to be minimum 150.
This can be fine tuned to bigger candle size on higher time frames or smaller for shorter timeframe depending on the trade type.
How to use it?
This indicator will identify when a liquidity pool is getting raided to trigger buy or sell stops, they are also know as stop-hunts. It can be used of its own for scalping but there are also a good few indicators which would most definitely help to confluence bigger timeframe trades.
Scalp
This indicator shows the most chaotic moments in price action; therefore it works best on smaller timeframes, ideally 3 or 5 minute candle.
- Wait for the market to start pumping or dumping.
- Current candle will change colour (Bullish/Bearish).
- Enter trade as soon as price starts to reverse back.
- Place the stop-loss outside of the current candle.
- Wait for the Liquidation Wick to appear as confirmation.
Price is very chaotic during a liquidity stop-hunt raid but there is a saying:
"In the midst of chaos, there is also opportunity" - Sun-Tzu
Since this is a very high risk, high reward strategy; it is advised to practice on paper trade first.
Practice until perfection and this indicator would be the perfect bread and butter scalp confirmation.
Fair Value Gap
FVG strategy is the most accurate in conjunction with this indicator.
Normally price would reverse after consuming fair value gaps but often it's difficult to know when and where.
This indicator would identify those crucial entry points for reverse course direction of the price action.
Support and Resistance
This indicator can also be used in conjunction with support and resistance lines.
Generally the stophunt will go deep below the support or spike much further up the resistance lines to liquidate positions.
Bollinger Bands
Bolling Bands strategy would be to wait until the price breaks out of the band.
Once the wick is formed, it would be an ideal entry point.
Script change
This is an open-source script and feel free to modify according to your need and to amplify your existing strategy.
Liquidity Raid - Stop HuntLiquidity Raid - Stop Hunt
The market 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 in the chart where many orders are placed together and serve as tipping points for market makers.
The script marks the breach of a market structure high/low with a vertical line. The script has the option to show the current W,D,4H & 1H market structure high and low.
How to use:
Once a raid occurs, use a higher timeframe to search for high probability supply and demand zones. Price needs to react to something. You may have multiple breaches before a reversal happens as price is likely looking for fresh(untested) zones. So don't trade blindly.
A good understanding of supply and demand concepts, odds enhancers, and how to identify fresh levels is expected to utilise it's full potential.
Lines and colours are all customizable
Alerts function included.
Indicator in use: