Liquidity GrabsLevels of untapped internal liquidity, waiting to be reclaimed. Works on any timeframe.
ابحث في النصوص البرمجية عن "liquidity"
Liquidity Pool TimesThis script automatically plots key liquidity pool times on your chart. I will release an updated script that plots the names on the far right when i can figure it out. Until then you will see Monthly Open/Close Weekly Open/Close and Midnight/10AM open
Liquidity Hunter | LucentCapitalFor LucentCapital Team Members
Translates the order book in a visual, historical & data-driven format.
Highlights Liquidity Depth, your visual guide to the order book. See where leveraged traders are most exposed and define your edge.
Levels are based on leverage onto positions & is adaptive based on the security, factoring in naturally leveraged products available to all traders globally.
Liquidity Depth - TitanWealth AlgorithmTranslates the order book in a visual, historical & data-driven format.
Highlights Liquidity Depth, your visual guide to the order book. See where leveraged traders are most exposed and define your edge.
Levels are based on leverage onto positions & is adaptive based on the security, factoring in naturally leveraged products available to all traders globally.
Liquidity + FVG + OB Markings (Fixed v6)This indicator is built for price-action traders.
It automatically finds and plots three key structures on your chart:
Liquidity Levels – swing highs & lows that often get targeted by price.
Fair-Value Gaps (FVG) – inefficient price gaps between candles.
Order-Blocks (OB) – zones created by strong, high-volume impulsive candles.
It also provides alerts and a small information table so you can quickly gauge the current market context.
Liquidity levels + Order BlocksThis script mark liquidity levels, and monthly, weekly and daily candle open. The order blocks indicator is on construction.
liquidity reversalThis script detects liquidity sweeps and confirms reversals based on price action. It looks for:
- A sweep of a recent high or low
- A reversal candle closing back inside range
- (Optional) Confirmation via market structure break (MSB)
When confirmed, it plots:
- BUY signals after low sweep + bullish break
- SELL signals after high sweep + bearish break
Works on any timeframe. Designed for MNQ scalping during NY open.
Liquidity Zones, EMAs, Market Cipher BAll In One, market cipher b, divergences, ema 12/21/50/200, and liquidity zones
Liquidity Sweep & Encroachment [Clean Labels]It basically tries to track when a liquidity sweep has been detected based off of volume and volatility of candles. This indicator is in beta and works well with mostly 1-2 minute chart I still have to work on higher time frames.
Liquidity Finder v2.0Description:
The Liquidity Finder v2.0 is a powerful technical indicator designed to identify divergence between volume and price movements in financial markets. Divergence occurs when there is a significant disparity between trading volume and price action, often signaling potential changes in market direction or trends.
This indicator calculates the relative volume and relative price change over a user-defined lookback period. Relative volume is determined by comparing the current volume to the average volume over the specified period, while relative price change compares the current price change to the average price change over the same period.
Key Features:
Customizable parameters allow users to adjust the lookback period, volume threshold, and price threshold to suit their trading preferences.
Divergence detection is visually represented by changing the color of price bars, making it easy for traders to identify potential trading opportunities.
Alerts can be set to notify traders when divergence is detected, enabling timely decision-making and trade execution.
The Volume-Price Divergence Detector is a valuable tool for traders and investors seeking to enhance their technical analysis toolkit. By spotting divergence between volume and price movements, traders can anticipate potential trend reversals or continuations, leading to more informed trading decisions and improved trading outcomes.
Liquidity SpotterIndicator Setup:
The script sets up a TradingView indicator titled "Liquidity Spotter" with a short title "PWWTC LS". It's designed to overlay on the price chart (overlay=true).
Input Variables:
The script defines input variables that allow users to customize the behavior of the indicator:
atr_length: Length of the Average True Range (ATR) used in calculations.
volume_multiplier: Multiplier used to compare the volume of the current bar with the average volume.
range_multiplier: Multiplier used to calculate the range condition.
highlight_color: Color used to highlight bars when conditions are met.
Calculations:
The script calculates the ATR and average volume using the ta.atr and ta.sma functions provided by TradingView's Pine Script.
It sets the avg_range to the value of the ATR, essentially making it the same as atr_value.
Conditions:
The script checks several conditions based on the calculated values:
range_condition: Compares the range (high - low) of the current bar with the average range multiplied by the range multiplier.
volume_condition: Compares the volume of the current bar with the average volume multiplied by the volume multiplier.
range_volume_condition: Compares the ratio of range to volume with the ratio of average range to average volume.
Plotting:
Based on the conditions being met or not, the script sets the color of the price bars. If all conditions are met, the color of the bars will be set to highlight_color, otherwise, it will remain unchanged (na).
Overall, this script visually highlights price bars on the chart where specific conditions related to range, volume, and their ratio are met, potentially indicating trading opportunities.
Liquidity Salman v1his code is used to show trading signals based on liquidity, volatility, and trend indicators. A "buy" signal is defined if the positive money flow indicator exceeds the negative money flow indicator and the price is above a specified moving average for a set period. A "sell" signal is defined if the negative money flow indicator exceeds the positive money flow indicator and the price is below the specified moving average for a set period. A "ranging" signal is defined if the Average True Range (ATR) value is less than a specified value. Buy and sell shapes are plotted on the chart with their colors and locations changed based on the direction.
Some advantages of this code:
Multiple indicators are used to define signals, increasing the accuracy of the analysis.
Customizable variables such as moving average period, timeframe, and range threshold can be adjusted to suit the user's trading strategy.
Shapes' positions, types, colors, and conditions can be easily defined using plotshape.
request.security is used to fetch volume data from the main currency's timeframe, increasing the accuracy of the analysis and allowing the use of smaller timeframes for trading.
math.sum is used to calculate the money flow indicators. This method is faster than using traditional for loops.
input is used to create a user-friendly interface where settings can be adjusted before running the program.
والتذبذب والاتجاه. يتم تحديد إشارة "شراء" إذا كان مؤشر تدفق الأموال الإيجابي يتجاوز المؤشر السلبي ويزيد السعر عن المتوسط المتحرك لفترة محددة. ويتم تحديد إشارة "بيع" إذا كان المؤشر السلبي يتجاوز المؤشر الإيجابي ويقل السعر عن المتوسط المتحرك لفترة محددة. ويتم تحديد إشارة "تذبذب" إذا كانت قيمة مؤشر ATR (Average True Range) أقل من قيمة محددة. يتم رسم أشكال الشراء والبيع على الرسم البياني مع تغيير لونها وموضعها حسب الاتجاه.
من بين مزايا الكود:
يستخدم مؤشرات متعددة لتحديد الإشارات، مما يزيد من دقة التحليل.
يتيح للمستخدم تخصيص عدة متغيرات، مثل فترة المتوسط المتحرك وفترة الزمن وعتبة النطاق، لتناسب استراتيجية التداول الشخصية.
يتيح للمستخدم تحديد مواقع الأشكال وأنواعها وألوانها وشروط ظهورها بسهولة باستخدام plotshape.
يتم استخدام request.security لجلب بيانات الحجم من فريم العملة الرئيسي، مما يزيد من دقة التحليل ويفتح إمكانية استخدام الإطار الزمني الأصغر للتداول.
يتم استخدام math.sum لحساب مؤشرات التدفق النقدي. يعمل هذا الأسلوب بشكل أسرع من استخدام حلقات for التقليدية.
تم استخدام input لإنشاء واجهة مستخدم مريحة للمستخدم، حيث يمكنه تخصيص الإعدادات قبل تشغيل البرنامج.
Liquidity Heatmap LTF [LuxAlgo]This indicator displays column heatmaps highlighting candle bodies with the highest associated volume from a lower user selected timeframe.
Settings
LTF Timeframe: Lower timeframe used to retrieve the closing/opening price and volume data. Must be lower than the current chart timeframe.
Other settings control the style of the displayed graphical elements.
Usage
It can be of interest to show which candles from a lower timeframe had the highest associated volume, this allows for the highlighting of areas where a candle body was the most traded by market participants.
The area with the highest activity is highlighted in the script with a yellow color (or another user selected color) and additionally by two lines forming an interval.
When the candle body with the highest volume is overlapped by a candle body with lower volume this one will be highlighted instead, hence why certain areas of high activity might not be highlighted by the heatmap.
It is recommended to hide regular candles or use a more discrete graphical presentation of prices when using this tool. Lines are also displayed to highlight the full candle range as well as if a candle was bullish (in green) or bearish (in red). These lines can be hidden if the user is only interested in the heatmap.
[Mad] Level2 Signalfilter Liquidity ProtectionLiquidity Protection Filter:
A Triggerhappy Strategy can do multiple longs/shorts
this is a filter, which forces the close to move minumum in one or the other direction to arm the signal again
there are separated settings for longs/short
input = plot with positive zero or negative value
output = normalized value with pultiplicator factor
also there is a reverse setting
yellow line will show a current alive block
FOMC Sweep Reaction AP Capital – FOMC Sweep Reaction v1.0
AP Capital – FOMC Sweep Reaction v1.0 is a news-reaction and liquidity-based trading tool designed specifically to track and trade FOMC volatility on Gold (XAUUSD) and other highly reactive instruments.
The indicator focuses on liquidity sweeps, structure breaks, and EMA reclaims that commonly occur around Federal Reserve interest-rate decisions and Powell speeches, helping traders identify high-probability reversal or continuation moves after the initial spike.
🔍 What This Indicator Detects
This tool highlights the most repeatable FOMC behaviours observed across multiple months of broker data:
• Sweeps of previous day’s high or low
• Stop-hunt wicks into liquidity pools
• EMA13 reclaim after the news spike
• Break and close beyond short-term structure
• Momentum shift following volatility exhaustion
The goal is not to predict the news, but to react to confirmed price behaviour after liquidity has been taken.
📌 Core Features
• FOMC Sweep Detection
Identifies aggressive wicks into prior highs/lows during news volatility
• EMA Reclaim Confirmation
Uses EMA13 to validate momentum shift after the sweep
• Market Structure Awareness
Filters reactions that fail to break structure to avoid false reversals
• Session-Aligned Logic
Designed around London → NY → FOMC release timing
• Clean Visuals
Minimal chart clutter for fast decision-making during volatile conditions
🧠 How to Use
Wait for FOMC release / Powell speech
Allow price to sweep previous liquidity (PDH / PDL / local extremes)
Observe reclaim of EMA13
Enter only after structure confirmation
Manage trade using EMA trailing or structure-based exits
⚠️ This is a reaction system, not a prediction tool.
📊 Best Use Cases
• XAUUSD (Gold)
• NASDAQ / US indices
• High-impact macro news events
• 5-min to 15-min timeframes
⚠️ Important Notes
• News volatility is extreme — risk management is essential
• Not designed for low-volatility or ranging markets
• Best combined with a clear trading plan and strict risk rules
📎 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Trading during high-impact news events involves significant risk.
Session Killzone & Liquidity Sweep Engine [2025]A session-based market analysis tool designed to visualize key intraday trading sessions and monitor price interaction with session highs and lows.
The script draws configurable session ranges (Asia, London, New York AM, Lunch, and PM) using session-based boxes. For each session, the high and low levels are calculated in real time and projected forward as reference levels.
Each session high and low reacts dynamically to price behavior:
• If price wicks beyond a session level without a candle close beyond it, the level is marked as a liquidity sweep and stops extending.
• If price closes beyond a session level, the level is considered invalidated and removed.
Optional midpoint levels can be displayed for each session. Users can choose whether levels extend only until mitigation or continue beyond it, as well as whether only the most recent session or all past sessions are tracked.
Additional features include:
• Timezone support with proper session alignment
• Session drawing limits to manage chart clutter
• Timeframe filtering to restrict drawings to lower timeframes
• Optional alerts when session highs or lows are broken by a candle close
• Extensive customization for colors, line styles, labels, and visibility
This tool is intended for traders who analyze intraday price behavior around session highs and lows and want a structured way to observe wick-based interactions and level invalidations.
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.
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.
Stealth Liquidation Heatmap V6.4Stealth Liquidation Heatmap v6.4
Overview
A chart-native liquidity map that infers potential liquidity zones directly from price action on a selected higher timeframe (HTF). No external liquidation feeds are used. Boxes are time-anchored to HTF candles, extend to the right on lower timeframes, and turn gray once swept.
How it works (high level)
The core engine is multi-oscillator: an EMA-differential (MACD-style) momentum line with its smoothing line, assisted by auxiliary volatility/momentum filters. Triggers are evaluated on confirmed HTF closes to avoid intra-bar noise.
When aligned momentum conditions occur on the Signal TF:
• a bullish zone anchors slightly below the HTF candle’s low,
• a bearish zone anchors slightly above the HTF candle’s high.
Boxes use xloc=bar_time (anchored to the HTF candle’s timestamp) so levels line up cleanly on lower-timeframe charts. Box height is user-selectable (High–Low, Body |C–O|, or custom % of price). Right-extension length is measured in bars of the current chart timeframe.
Sweep logic & visuals
A zone is marked “swept” (turns gray) when a selected mode is met:
• Any touch inside the box, or
• Wick touching the outer edge (default), or
• Close beyond the edge.
Options include arm delay, freeze after sweep, show/hide swept zones, and age-based fading for clarity.
Presets
• Aggressive — momentum-only with higher sensitivity (more zones).
• Normal — momentum-only with balanced sensitivity (additional smoothing/thresholding to reduce noise).
• Conservative — momentum-only with stricter filtering (fewer zones).
How to use
Best viewed on 5–15m charts with a 4h or 1D Signal TF. Treat zones as areas where liquidity may cluster or be swept; combine with your own TA and risk management. Height/sweep/extension/fade controls help tailor visuals to instrument volatility.
Screenshot example:
Notes & limitations
This tool does not access real liquidation/OI feeds; it infers liquidity behavior algorithmically from price-based momentum structure. Because evaluations are anchored to HTF closes, new triggers finalize after the source HTF bar closes. Right-extension is measured in bars of the current chart timeframe. Visual/educational use only; not financial advice.
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
Smart Liquidity & OTE Analysis Tool # Smart Liquidity & OTE Analysis Tool
## OVERVIEW
This indicator is designed for traders who utilize institutional trading concepts, specifically liquidity sweeps and optimal trade entry (OTE) zones, combined with session-based market structure analysis. It identifies potential market manipulation points where stop losses are likely clustered, and highlights high-probability entry zones based on Fibonacci retracements.
The tool combines four main analytical components that work synergistically to identify trading opportunities aligned with smart money behavior.
---
## CORE CONCEPTS & METHODOLOGY
### 1. TRADING SESSIONS ANALYSIS
**What it does:**
The indicator tracks three major forex trading sessions with customizable time zones:
- **Asian Session** (Default: 01:00-13:00 UTC+4) - Typically characterized by range-bound price action
- **London Session** (Default: 11:00-20:00 UTC+4) - High volatility period with increased institutional activity
- **New York Session** (Default: 17:00-00:00 UTC+4) - Overlaps with London creating peak liquidity
**How it works:**
- Automatically highlights active sessions with colored background boxes
- Draws session high/low lines which often act as intraday support/resistance
- Identifies session overlaps (e.g., London-NY overlap) where volatility and liquidity are highest
- Color-codes the price bars during overlaps to alert traders to increased opportunity periods
- Displays real-time session status (🟢 Open / 🔴 Closed) for quick reference
**Trading Application:**
Session highs and lows frequently become liquidity targets. The indicator helps traders anticipate when price might sweep these levels before continuing in the original direction. Session overlaps are prime times for major moves as multiple institutional players are active simultaneously.
---
### 2. EXTERNAL LIQUIDITY SWEEPS
**What it does:**
Identifies when price "sweeps" or breaks beyond significant swing highs and lows where stop losses are typically clustered. These sweeps often precede reversals or continuations after liquidity is collected.
**How it works:**
- Scans the previous 20 bars (configurable) to identify swing high and low points
- Marks these levels as "buyside liquidity" (above highs) or "sellside liquidity" (below lows)
- Monitors price action using three detection methods:
* **Wick Break:** Any candle wick extending beyond the liquidity level
* **Close Break:** Candle body closing beyond the level (stronger confirmation)
* **Full Retrace:** Price breaks the level then closes back inside the range (classic liquidity grab)
- Uses an ATR-based buffer to avoid false signals from minor price spikes
- Confirms sweeps only after a configurable number of confirmation bars to reduce repainting
**The Logic Behind It:**
Institutional traders need liquidity to fill large orders. Stop losses clustered above swing highs and below swing lows provide this liquidity. When these levels are swept, it often indicates smart money is entering positions in the opposite direction, causing reversals.
**Visual Representation:**
- Blue horizontal lines mark buyside liquidity zones (above price)
- Gray horizontal lines mark sellside liquidity zones (below price)
- Labels indicate when liquidity has been swept (✓) or remains active
- Historical zones are maintained for context (configurable display limit)
---
### 3. INTERNAL LIQUIDITY DETECTION
**What it does:**
Identifies equal highs (EQH) and equal lows (EQL) within recent price action - levels that have been tested multiple times without breaking. These represent internal liquidity pools that price often revisits before making larger moves.
**How it works:**
- Examines the most recent 8 bars (configurable) for price levels that occur multiple times
- Uses an ATR-based threshold (default 0.1% of ATR) to determine if highs or lows are "equal"
- Requires minimum 3 occurrences (configurable) of the same level to qualify as internal liquidity
- Tracks both the creation and sweeping of these internal levels
- Differentiates between wick breaks and close breaks for sweep confirmation
**The Concept:**
Unlike external liquidity at swing points, internal liquidity represents recent stop clusters and pending orders within the current price structure. Identifying these levels helps traders anticipate short-term price targets and potential reversal points before larger directional moves.
**Why This Matters:**
Price often needs to clear internal liquidity before making sustained moves to external liquidity levels. This creates a "roadmap" of where price is likely to go in sequence, improving trade timing.
**Visual Representation:**
- Cyan lines mark internal buyside liquidity (equal highs)
- Orange lines mark internal sellside liquidity (equal lows)
- Dashed or solid lines based on user preference
- Labels show when internal levels are swept
---
### 4. OPTIMAL TRADE ENTRY (OTE) ZONES
**What it does:**
Calculates and displays Fibonacci retracement zones (0.618-0.786) from recent swing points, representing "discount" or "premium" areas where institutional traders often enter positions after a liquidity sweep or structure break.
**How it works:**
- Identifies swing highs and lows using a 10-bar lookback period (configurable)
- Calculates three key Fibonacci levels:
* **0.618** - The "golden ratio" retracement (most significant)
* **0.705** - Mid-point between 0.618 and 0.786
* **0.786** - Deep retracement level (square root of 0.618)
- Optionally requires a structure break before displaying OTE zones
- Dynamically extends zones as new price action develops
- Tracks whether price has entered the zone (✅) or exited without filling (❌)
- Displays up to 2 most recent zones (configurable) to avoid chart clutter
**The Methodology:**
OTE zones represent areas where price is at a "discount" (for longs) or "premium" (for shorts) relative to the recent swing. After a liquidity sweep or structure break, institutional traders often wait for retracements into these zones before entering, as it offers better risk-to-reward ratios.
**Combining with Liquidity:**
The most powerful setups occur when:
1. External liquidity is swept
2. Price retraces into an OTE zone
3. Internal liquidity is present as a target
This confluence suggests smart money activity and high-probability trade opportunities.
**Visual Representation:**
- Shaded blue zone between 0.618 and 0.786 levels
- Three horizontal lines showing key Fibonacci levels with different colors/styles
- Labels (🎯) indicate bullish or bearish OTE zones
- Entry (✅) and exit (❌) status for each zone
---
## WHY THESE FEATURES WORK TOGETHER
This indicator combines these four components because they represent different stages of institutional trading behavior:
1. **Session Timing** - Identifies WHEN institutional activity is highest
2. **Liquidity Sweeps** - Shows WHERE smart money is collecting liquidity
3. **OTE Zones** - Highlights WHERE institutional entries likely occur after sweeps
4. **Internal Liquidity** - Provides SHORT-TERM targets for profit-taking or add-ons
Rather than using each concept in isolation, this integration creates a complete market structure framework. For example:
- A buyside liquidity sweep during London open →
- Followed by a retrace into a bullish OTE zone →
- With internal sellside liquidity as the initial target
This sequence represents a complete high-probability trade setup aligned with smart money principles.
---
## ANTI-REPAINTING FEATURES
**The Repainting Problem:**
Many indicators that identify patterns on historical data repaint their signals when live trading, showing signals that weren't actually there in real-time. This creates a false sense of accuracy.
**Our Solution:**
- **Confirmation Bars Setting:** Signals only appear after X bars have confirmed the pattern (default: 2 bars)
- **Marked Confirmation:** Labels show "C" when using confirmed signals
- **Trade-off:** More confirmation = less repainting but slightly delayed signals
- **User Control:** Traders can toggle between real-time signals (faster but may repaint) and confirmed signals (delayed but reliable)
---
## KEY CUSTOMIZATION OPTIONS
### Master Controls
- Toggle each major feature on/off independently
- Combine only the features relevant to your trading style
### Display Settings
- Adjust lookback periods for each component
- Control number of historical zones displayed
- Customize colors, line styles, and transparency
- Show/hide labels and session names
- Configure text sizes for different screen setups
### Detection Sensitivity
- **Sweep Detection:** Choose between wick breaks, close breaks, or full retraces
- **ATR Buffer:** Add distance requirements to confirm sweeps (reduces false signals)
- **Equal Level Threshold:** Adjust how close levels must be to qualify as "equal"
- **Confirmation Bars:** Balance between signal speed and reliability
### Alert System
- Session open/close notifications
- Liquidity sweep alerts
- OTE zone entry alerts
- Configurable alert frequency and types
---
## HOW TO USE THIS INDICATOR
### Basic Setup
1. Add the indicator to your chart (works on all timeframes, though 5M-1H recommended for intraday)
2. Enable the features you want to use via Master Controls
3. Adjust colors and transparency to match your chart preferences
4. Configure alert preferences if using notifications
### Trading Workflow
**Step 1: Identify the Session**
- Determine which trading session is active or approaching
- Note session highs/lows as potential liquidity targets
- Be especially alert during session overlaps
**Step 2: Watch for Liquidity Sweeps**
- Monitor external liquidity lines (swing highs/lows)
- When price sweeps liquidity, anticipate a potential reversal
- Stronger sweeps (close breaks + full retraces) are more significant
**Step 3: Wait for OTE Retracement**
- After a sweep, wait for price to retrace into the OTE zone (0.618-0.786)
- Bullish OTE after sellside sweep = potential long
- Bearish OTE after buyside sweep = potential short
**Step 4: Use Internal Liquidity as Targets**
- Look for internal liquidity in the direction of your trade
- These serve as initial profit targets
- External liquidity serves as extended targets
**Step 5: Manage Confirmation Settings**
- For live trading, use confirmed signals (2+ confirmation bars)
- For backtesting or analysis, you may use real-time signals
- Note that confirmed signals appear with "C" marking
### Example Trade Scenarios
**Bullish Setup:**
1. London session opens (increased volume)
2. Price sweeps sellside liquidity below Asian low
3. Price retraces into bullish OTE zone (0.618-0.786 of the sweep move)
4. Target internal buyside liquidity, then external buyside liquidity
**Bearish Setup:**
1. NY session overlap with London (peak liquidity)
2. Price sweeps buyside liquidity above recent high
3. Price retraces into bearish OTE zone
4. Target internal sellside liquidity, then session lows
---
## BEST PRACTICES
### What This Indicator Does Well
✓ Identifies high-probability institutional trading zones
✓ Provides clear visual roadmap of likely price targets
✓ Reduces chart clutter with configurable history limits
✓ Works across multiple timeframes and instruments
✓ Minimizes repainting with confirmation settings
### What This Indicator Doesn't Do
✗ Does not provide entry/exit arrows (intentional - requires trader discretion)
✗ Does not guarantee winning trades (no indicator does)
✗ Does not work in isolation (combine with price action/market context)
✗ Does not replace risk management (always use stop losses)
### Recommended Complementary Analysis
- Price action patterns (engulfing candles, pinbars at OTE zones)
- Volume profile or footprint charts for order flow confirmation
- Higher timeframe trend context (don't fade strong trends)
- Economic calendar awareness (avoid major news events)
---
## TECHNICAL NOTES
### Performance Optimization
- Uses max_bars_back limitation to reduce memory usage
- Automatic cleanup of old zones to prevent slowdown
- Efficient array management with configurable display limits
- Suitable for both intraday and swing trading timeframes
### Timeframe Recommendations
- **1-5 Minute:** Scalping with tight internal liquidity targets
- **15-30 Minute:** Intraday trading with session-based setups
- **1-4 Hour:** Swing trading with multi-session analysis
- **Daily:** Position trading using weekly liquidity levels
### Instrument Compatibility
Works on all liquid instruments:
- Forex pairs (optimal due to clear sessions)
- Stock index futures (ES, NQ, etc.)
- Cryptocurrency (24/7 markets - use custom session times)
- Individual stocks (less pronounced session effects)
---
## EDUCATIONAL RESOURCES
To better understand the concepts used in this indicator:
**Liquidity Concepts:**
- Study institutional order flow and stop loss hunting
- Learn about market microstructure and liquidity provision
- Understand the difference between retail and institutional trading
**Fibonacci/OTE:**
- Research Fibonacci retracements in trending markets
- Study the mathematical significance of the golden ratio (0.618)
- Practice identifying retracement entries on historical charts
**Session Trading:**
- Analyze volume profiles during different forex sessions
- Study typical price behavior during session overlaps
- Understand timezone conversions for your local trading hours
---
## VERSION HISTORY & UPDATES
This script represents a complete integration of multiple smart money concepts into a single, cohesive tool. Future updates will be published using the Update feature rather than creating separate scripts for minor variations.
---
## DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice or trading recommendations. All trading involves risk, and past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
The concepts presented here (liquidity sweeps, OTE zones, session analysis) are widely discussed trading theories. This indicator is an interpretation and visualization of these concepts, not a guarantee of their effectiveness.
---
## SETTINGS SUMMARY
**Master Controls:** Enable/disable each major feature independently
**Repainting Controls:** Adjust confirmation requirements for signals
**Trading Sessions:** Customize session times, colors, and display options
**External Liquidity:** Configure detection sensitivity and visual styling
**Internal Liquidity:** Adjust lookback periods and threshold sensitivity
**OTE Zones:** Select which Fibonacci levels to display and entry requirements
**Alerts:** Configure notifications for sessions, sweeps, and entries
---
## SUPPORT & FEEDBACK
If you find this indicator helpful, please leave a like and comment with your feedback. For questions about specific settings or concepts, refer to the tooltips in the indicator settings panel - each parameter includes a detailed explanation.
Remember: The best indicator is the one you understand and can apply consistently within your trading plan. Take time to practice with this tool on demo accounts before risking real capital.






















