M2 Global Liquidity Index [Extended + Offset]M2 Global Liquidity Index  
This indicator visualizes global M2 money supply, weighted in USD, based on major economic regions.
Features:
    Standard Mode: Includes M2 data from the USA, China, Eurozone, Japan, and the UK.
    Extended Mode: Adds Switzerland, Canada, India, Russia, Brazil, South Korea, Mexico, and South Africa.
    Offset Function: Adjustable time lag (78 or 108 days) to analyze the delayed impact of liquidity on financial markets.
Use Case:
Designed to help identify global liquidity cycles and assess potential turning points in financial markets. Rising global liquidity generally supports risk assets like equities and crypto, while declining liquidity can put downward pressure on these markets.
Technical Details:
    Non-USD M2 values are converted using real-time FX rates.
    All values are displayed in trillions of USD (Tn).
Note:
Not all countries release M2 data in real-time or at the same frequency. Minor delays and discrepancies may occur.
Example:
 
Tìm kiếm tập lệnh với "liquidity"
Excess Liquidity IndicatorExcess Liquidity Indicator
This script visualizes excess liquidity trends in relation to risk assets. It estimates excess liquidity by combining various macroeconomic factors such as WW M2 money supply, central bank balance sheets, and interest rates, oil, and the dollar index, and it substracts WW GDP. The tool helps traders analyze liquidity-driven market trends in a structured manner.
Note: This script is for research purposes only and does not provide financial advice.
I cannot point names cause I get banned but work is inspired by others...
Multi-Timeframe Liquidity LevelsMulti-Timeframe Liquidity Levels – Overview 
The Multi-Timeframe Liquidity Levels indicator automatically displays significant highs and lows from various timeframes (Daily, Weekly, Monthly, and Quarterly) on your current chart. This allows traders to quickly identify potential support and resistance zones without frequently switching between different timeframe charts. Additionally, the script offers extra lines for special reference points (e.g., the “Midnight” midpoint of the current day and the previous day’s open/close) to highlight potential liquidity zones even more clearly.
 1. Core Idea and Benefits 
 Time-Saving:   Instead of manually reviewing charts in different timeframes, the indicator fetches relevant high/low levels automatically and shows them on your active timeframe. 
 Clear Layout:   Traders instantly see where the Daily, Weekly, Monthly, and Quarterly highs and lows lie—areas often associated with institutional orders or liquidity hunts. 
 Customizable:   You can tailor the color scheme, line style (Solid, Dashed, Dotted), and line width, ensuring the displayed levels fit your personal charting style.
 
 2. How It Works 
 Multi-Timeframe High/Low 
 For each timeframe (Day, Week, Month, Quarter), the indicator references the previous candle’s high and low (high , low ). 
 Using request.security(...), these values are plotted on the chart you’re currently viewing. 
 Flexible Display 
 You can individually enable or disable the Daily, Weekly, Monthly, and Quarterly lines, depending on which levels are most relevant to your trading. 
 With Line Style (Solid, Dashed, Dotted) and Line Width, you can easily emphasize certain lines you consider more important. 
 Additional Lines 
 “Midnight” Line:  A theoretical midpoint between today’s high and low, which can be useful for gauging daily pivot areas. 
 Previous Day’s Open/Close:   Many traders track these reference points to anticipate market reactions. You can show or hide these lines as desired. 
 Automatic Line Removal & Creation 
 When a particular timeframe (e.g., “Show Monthly Levels”) is disabled, the script automatically removes the existing monthly lines. 
 Enabling it again recreates those lines without hassle. 
 3. Usage and Interpretation 
 Identifying Support and Resistance 
 Highs and lows from higher timeframes are often key zones for entries, exits, or major market reactions. 
A Daily level may be crucial for short-term traders, whereas Monthly or Quarterly levels can indicate long-term liquidity areas. 
 Spotting Market Shifts 
 If price decisively moves above a Higher-Timeframe line, it could signal strong momentum.
 
 Conversely, a failed breakout (where price quickly returns under or above a level) might warn of a potential reversal. 
 Extra Lines as Filters 
 The “Midnight” Line helps visualize a rough central price for the current day, aiding in intraday directional bias. 
 Previous Day’s Open/Close:   Common reference points for day traders, where swift approaches and rejections can indicate potential entries or partial take-profit zones. 
 4. Practical Tips 
 Use Color-Coding Wisely:   Assign distinct colors (e.g., Blue for Daily, Green for Weekly, Orange for Monthly, Purple for Quarterly) so you can easily discern which timeframe you’re looking at. 
 Toggle On/Off As Needed:   Day traders might focus on Daily and Weekly, while long-term traders may pay closer attention to Monthly and Quarterly. 
 Combine with Price Action:   Lines alone don’t constitute a trading strategy. Use them alongside candlestick patterns, volume analysis, or other indicators for a more complete market perspective. 
 5. Important Notes & Recommendations 
 Not Financial Advice:   This indicator simply reflects historical high/low data across multiple timeframes and does not constitute a buy or sell recommendation. 
 Trader Responsibility:   Observe how the market actually behaves around these lines and adapt your risk management accordingly.
Blockunity Stablecoin Liquidity (BSL)Monitor the liquidity of the crypto market by tracking the capitalizations of the major Stablecoins. 
Stablecoin Liquidity (BSL) is an ideal tool for visualizing data on major Stablecoins. The number of Stablecoins in circulation is one of the best indices of liquidity within the crypto market. It’s an important metric to keep an eye on, as an increase in the number of Stablecoins in circulation offers a great opportunity to see cryptoasset prices rise. The tool’s multiple on-board display modes enable analysis of its data in the best possible conditions.
 The Idea 
The goal is to provide the community with the ideal tool to visualize the liquidity of the crypto market, via the state of the market capitalizations of the major Stablecoins.
 How to Use 
The tool is very easy to use and interpret. First of all, let's distinguish two main elements:
 
  The chart as 3 distinct display modes to let you observe data in the best possible conditions.
  There is a panel that summarizes the market capitalizations of the main Stablecoins.
 
 Display Mode: Cumulative 
In Cumulative mode (default), the different capitalizations are displayed one on top of the other with colored bands.
You can see that when the number of Stablecoins in circulation increases, crypto asset prices enter an uptrend. And if the liquidity of Stablecoins dries up, the trend will become bearish.
  
 Display Mode: Aggregated 
Aggregated mode displays a single line, which is the sum of the different capitalizations, varying between green and red depending on the state of this data according to its moving average declared in the 'Aggregated MA Lengh' field.
You can thus easily see trend changes and therefore opportunities to enter or exit the crypto market.
  
 Display Mode: Independent 
The Independent mode also displays the different capitalizations, but detached from each other with labels.
This display mode is particularly interesting for studying transfers from one Stablecoin to another, as can be seen below.
  
 Other Settings 
You can choose whether or not to include each of the Stablecoins data, and configure their display color. Note that in 'Cumulative' display mode, the data is taken into account even if the box is unchecked.
 How it Works 
The tool works in a simple way: We take the market capitalization data of the Stablecoins that interest us, then we process them according to the different display modes.
Let us know if you would like other ways of visualizing this data!
Trend Channels With Liquidity Breaks [ChartPrime]Trend Channels 
This simple trading indicator is designed to quickly identify and visualize support and resistance channels in any market. The primary purpose of the Trend Channels with Liquidity Breaks indicator is to recognize and visualize the dominant trend in a more intuitive and user-friendly manner.
 Main Features 
 
 Automatically identifies and plots channels based on pivot highs and lows
 Option to extend the channel lines
 Display breaks of the channels where liquidity is deemed high
 Inclusion of volume data within the channel bands (optional)
 Market-friendly and customizable colors and settings for easy visual identification
 
 Settings 
 
 Length: Adjust the length and lookback of the channels
 Show Last Channel: Only shows the last channel
 Volume BG: Shade the zones according to the volume detected
 
 How to Interpret 
Trend Channels with Liquidity Breaks indicator uses a combination of pivot highs and pivot lows to create support and resistance zones, helping traders to identify potential breakouts, reversals or continuations of a trend.
  
These support and resistance zones are visualized as upper and lower channel lines, with a dashed center line representing the midpoint of the channel. The indicator also allows you to see the volume data within the channel bands if you choose to enable this functionality. High volume zones can potentially signal strong buying or selling pressure, which may lead to potential breakouts or trend confirmations.
To make the channels more market-friendly and visually appealing, Trend Channels indicator also offers customizable colors for upper and lower lines, as well as the possibility to extend the line lengths for further analysis.
The indicator displays breaks of key levels in the market with higher volume.
Fed Net Liquidity Indicator v2Updated script for jlb05013's original Fed Net Liquidity Indicator. TradingView was bringing in the FRED data in different units than they used to. This code fixes it.
This indicator aims to present a "Net Liquidity" indicator comprised of the Fed Balance sheet , less the TGA account and Overnight Reverse REPO agreements.
Net Liquidity = Fed Balance Sheet - ( TGA + Reverse REPO)
This is an overlay that can be added to stock or other charts (like SPY ) to see how the market may appear correlated to Net Liquidity - injection of liquidity into the markets.
This was hypothesized by Max Anderson, this is just a script realizing that posting.
New updates include a resolution feature, and an option to offset backwards by 2 days per original intent.
Fed Net Liquidity IndicatorThis indicator aims to present a "Net Liquidity" indicator comprised of the Fed Balance sheet , less the TGA account and Overnight Reverse REPO agreements.
Net Liquidity = Fed Balance Sheet - ( TGA + Reverse REPO)
This is an overlay that can be added to stock or other charts (like SPY ) to see how the market may appear correlated to Net Liquidity - injection of liquidity into the markets.
This was hypothesized by Max Anderson, this is just a script realizing that posting.
New updates include a resolution feature, and an option to offset backwards by 2 days per original intent.
Liquidity Stress Index SOFR - IORBLiquidity Stress Index (SOFR - IORB)
This indicator tracks the spread between the Secured Overnight Financing Rate (SOFR) and the Interest on Reserve Balances (IORB) set by the Federal Reserve.
A persistently positive spread may indicate funding stress or liquidity shortages in the repo market, as it suggests overnight lending rates exceed the risk-free rate banks earn at the Fed.
Useful for monitoring monetary policy transmission or market/liquidity stress.
Liquidity Grab Entry Signals [Daily Enhanced]Liquidity Grab Entry Signals   is a powerful tool designed to detect intraday reversal opportunities around daily high/low liquidity zones.
Core features: – Plots current daily high/low levels
– Identifies price interaction with these key zones
– Confirms rejection via strong engulfing candles
– Plots real-time long/short entry signals directly on chart
– Includes alerts for both long and short setups
 This script is ideal for scalpers and intraday traders looking to exploit stop hunts, liquidity sweeps, and false breakouts.
Optimized for instruments like US30, NAS100, Gold, BTC and more.
Customize the sensitivity buffer to suit your asset and timeframe.
Use this in combination with VWAP, FVG or Smart Money concepts for enhanced confirmation.
---
Built for: 1s–15m charts
Includes: Alerts + Custom Settings
Type: Non-repainting
Trade with clarity around the most manipulated price levels of the day.
 
Liquidity Volume Panel Liquidity Volume Panel – Precision Tool for Scalpers & Intraday Traders
This panel is designed to help traders quickly identify volume-driven moves, liquidity events, and fair-value zones. It combines classic volume analysis with enhanced tools like RVOL and VWAP deviation bands, making it ideal for scalping, momentum trading, and intraday strategies.
🔍 Included Features:
✅ Relative Volume (RVOL) Indicator
Displays current volume in relation to its 20-period average – excellent for spotting low-activity zones or high-pressure breakouts.
✅ Dynamic Volume Coloring & Spike Detection
Color-coded volume logic highlights normal, strong, and extremely high volume, with visual markers for volume spikes (>200% of average).
✅ VWAP with ±1σ & ±2σ Bands
Industry-standard deviation bands show overbought/oversold conditions and dynamic support/resistance based on volume-weighted pricing.
✅ Background Highlighting
Subtle orange background alerts you when volume surges beyond extreme levels – making liquidity clusters instantly recognizable.
Usage:
Use this panel as a decision-making tool for entries, reversals, or breakouts – especially in fast-moving markets.
Best used on lower timeframes for precision scalping.
CandelaCharts - Liquidity Key Zones (LKZ)📝  Overview 
The Liquidity Key Zones indicator displays the previous high and low levels for daily, weekly, monthly, quarterly, and yearly timeframes. These levels serve as crucial price zones for trading any market or instrument. They are also high-probability reaction zones, ideal for trading using straightforward confirmation patterns.
Each of these levels plays a significant role in determining whether the market continues its momentum or reverses its bias. I like to think of these levels as dual magnets—they simultaneously attract and repel price. You might wonder how having opposing views can be useful. The key is to remain neutral about direction and establish your own rules to identify when these zones are likely to attract or repel price. I have my own set of rules, and you can develop yours.
📦  Features 
 
 MTF
 Styling
 
⚙️  Settings 
 
 Day: Shows previous day levels
 Week: Shows previous week levels
 Month: Shows previous month levels
 Quarter: Shows previous quarter levels
 Year: Shows previous year levels
 Show Average: Shows previous level average price
 Show Open: Shows previous level open price
 
⚡️  Showcase 
 Daily 
 Weekly 
 Monthly 
 Quarterly 
 Yearly 
 Average 
 Open 
📒  Usage 
When the price breaks through a significant level, such as a daily, weekly, or monthly high or low, it often signals a potential reversal in market direction. This occurs because these levels represent key areas of support or resistance, where traders anticipate heightened activity, including profit-taking, stop-loss orders, or new positions being initiated.
Once the price breaches these levels, it may trigger a sharp reaction as market participants adjust their strategies, leading to a reversal. Monitoring price action and volume around these levels can provide valuable confirmation of such reversals.
Another effective approach to utilizing these pivot points is by incorporating them into a structured trading strategy, such as the X Model, which leverages multiple timeframes and technical tools to refine trade entries and exits.
X Model conditions:
 
 (D1) Previous Day High (ERL)
 (H1) Bullish FVG/IFVG/OB (IRL)
 (m15) MSS / SMT
 Only Short Above 00:00
 
By combining these elements, the X Model offers a comprehensive framework for leveraging pivot levels effectively, emphasizing confluence between liquidity zones, time-based rules, and multi-timeframe analysis to enhance trading accuracy and consistency.
🚨  Alerts 
This script provides alert options for all signals.
 Bearish Signal 
A bearish signal is generated when the price breaks below the previous low level.
 Bullish Signal 
A bullish signal is generated when the price breaks above the previous low level.
⚠️  Disclaimer 
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Liquidity ZonesLiquidity Zones Indicator
The Liquidity Zones indicator is a custom Pine Script™ tool designed to identify significant price levels where high trading volume has occurred. These zones often act as support or resistance levels, providing valuable insights for traders.
Key Features:
Window Size: The number of bars to consider for calculating the moving averages and identifying peaks.
Tolerance: The allowable percentage difference to consider peaks as unique.
Number of Peaks: The maximum number of significant peaks to identify.
Minimum Volume: The minimum volume threshold relative to the average volume to consider a peak.
Minimum Range: The minimum price range to consider a peak.
How It Works:
Input Parameters: The user can customize the window size, tolerance, number of peaks, minimum volume, and minimum range.
Moving Averages: The script calculates the simple moving average (SMA) of the volume and closing prices over the specified window.
Peak Identification:
For each bar, the script identifies the bar with the highest volume within the window.
It checks if the volume exceeds the minimum volume threshold.
It determines the peak price based on whether the bar closed higher or lower than it opened.
It ensures the price range of the bar exceeds the minimum range.
It checks if the peak is above the SMA of the closing prices.
It verifies the peak is unique within the specified tolerance.
Plotting Peaks: The identified peaks are plotted on the chart with lines and labels, color-coded based on whether the bar closed higher (green) or lower (red).
This indicator helps traders visualize key liquidity zones, aiding in making informed trading decisions.
Session LiquidityThe “Session Liquidity” TradingView indicator by Infinity Trading creates dynamic horizontal lines at the high and low points of a specified time span within the trading day. This indicator gives the user control of three separate time spans so the user can dynamically see the highs and lows of their favorite daily time spans. 
 Purpose 
This indicator is similar to my TradingView indicator “Futures Exchange Sessions 3.0”. In that indicator the user gets control of dynamic price boxes. For me, these boxes made it difficult to spot ICT’s Orderblocks. So instead of boxes I made independently controllable lines and now I can spot ICT Orderblocks and easily identify Liquidity Pools. 
 Inputs and Style 
Everything about the three dynamic lines can but independently configured. Start & End Times, Line Color, Line Style, Line Width, Text Characters, Text Size, Text Color can all be adjusted. The high and low lines as well as their text labels can be individually toggled on or off for maximum control. 
 Timezone 
All of the start and end times are in EST. Additionally, each time span line needs a specific start of each day. This is controlled by a setting called “Line Start Day Timezone” where the user sets a timezone that corresponds with the start time. In general if a timespan resides within a particular Session pick the corresponding timezone. If the users line fits in the Asian Session then choose Asia/Shanghai. If the line is within the London Session then choose Europe/London. And the same goes for the New York Session.
 Special Notes 
 
  If the Line Start Time is within one candle of the Start Day Timezone in the Settings, then the line/box won’t display. So choose the previous timezone
  Lines only display when the timeframe is <= 30 minute
 
 Gallery 
  
  
 
Unraided Liquidity and S/R PivotsThis indicator is designed to show key pivot points, also known as levels, which could provide good trade entries.
Utilising liquidity concepts, untested pivot levels can be a good place to enter a trade after the pivot is tested, liquidity is taken and the direction reverses.
Alternatively, utilising the option of viewing already tested levels, you can easily see the key support and resistance areas that price is likely to have a strong reaction to, whether it wants to go toward or bounce away from these levels.
The indicator does not give buy and sell signals, it is up to you to use the levels to form your trading plan.
Oorah.
Liquidity Pro Map - ArchitLiquidity Indicator for gauging orders volatility. It is visually highlight where buy and sell liquidity is concentrated on a chart. 
Liquidity Swings [Nix]Liquidity Swings Indicator!
It marks recent swing highs and lows on the chart using lines and labels. 
Another great feature is that it tracks whether those swing levels are SWEPT (price crosses them again) and either:
 
 Removes swept levels, or 
 Fades them to indicate they’ve been taken.
 
You can customize:
 
 Number of swings shown.
 Colors, styles, and visibility of lines/labels.
 Whether to show highs, lows, or both.
 
Useful for liquidity analysis. 
Usually when these special swings are swept, you can consider moving stops to BE. This is because there should be enough stop losses at the swing points to liquidate others and give more fuel to your trade direction!
GLOBAL LIQUIDITY (Simple Proxy)I know there are many global liquidity indicators out there similar to this one.
This one just adds a little bit of more options for visualize different central banks and either stack data, see year over year changes, or visualize separate unstacked data.
Swing Levels and Liquidity - By LeviathanThis script will plot pivot points (swing highs and lows) in the form of lines, boxes or labels to help you identify market structure, “liquidity” areas, swing failure patterns, etc. You are also able to see the volume traded at each pivot point, which will help you compare their significance.
Bars Left-Right
A pivot high (swing high) is a bar in a series of bars that has a higher value than the bars around it and a pivot low (swing low) is a bar in a series of bars that has a lower value than the bars surrounding it. The Bars Left and Bars Right parameters are used to define the number of bars on the left and right sides of a pivot point that the function should consider when identifying pivot highs and lows in a time series. For example, if Bars Left is set to 5 and Bars Right is set to 6, the function will look for a pivot point by comparing the value of the current bar with the values of the 5 bars to its left and the 6 bars to its right. If the value of the current bar is higher than all of these bars, it is considered a pivot high point. These parameter can be used to adjust the sensitivity of the script (lowering the Bars Left and Bars Right parameters will give you more swing points and increasing the Bars Left and Bars Right parameters will give you fewer swing points).
”Show Boxes” - This will draw a box above the swing high and a box below the swing low to help you visualise a large area of interest around swing points. Additional box types and the width of the box can be adjusted in Appearance settings below.
”Show Lines” - This will draw a horizontal line at the level of each swing high and swing low.
”Show Labels” - This will plot a circle at the high point of each swing high and at the low point of each swing low.
”Show Volume” - This will display the amount of volume traded in a given swing point candle. It can help you identify the significance of a given swing point by comparing it to the volumes of other swing points.
”Extend Until Filled” - This will extend the swing point levels until they are mitigated by the price. Turning it off will continue plotting the levels just a few more bars after a swing point occurs.
”Appearance” - You can show/hide swing points, choose the colors of labels, lines and boxes, choose the size and positioning of the text, choose line and box appearance (adjust the Box Width when switching between timeframes!) and more.
More updates coming soon (MTF, more data…)
USD Liquidity Conditions Index Swing Stock Strategy Original credits goes to @ElDoggo22   www.tradingview.com
I looked in the post created by him, of USD liquidity and I have noticed that if you are going to apply a percentile top and bottom to it, can become an interesting swing strategy for US Stocks.
So in this case I decided to create a 99th percentile for top and 4th percentile for bot with a big length, preferably 100+ candles, for this example i took 150.
Rules for entry :
Long : either bot or top lines are ascending
We exit long either the top line is descending, or we have sudden cross of the moving average with both top and bot within the same candle
Short: we enter short when we have a sudden cross down of the moving average with both top and bot within the same candle
We exit short when we have a cross over of the moving average with both top and bot within the same candle ( or we have a long entry condition)
If there are qny questions, please let me know !
Liquidity Engulfing Candles [upslidedown]Liquidity engulfing candles (LEC) are a variant of a common candlestick pattern: engulfing candles but with a couple extra conditions applied. These conditions expect highs/lows to be taken out in order to show a continuation or reversal signal.
Filter 1: Stop Hunt Wick Filter
This filter requires the candle to wick into the prior candles high or low ( bullish = wick below prior candle lows). This is the stop hunt.
Filter 2: Close Filter
This filter requires the candle to close above or below above the prior candle ( bullish = close above prior candle high). This is the confirmation.
This idea was introduced to me by @attrk632. Thanks, mate!
HTF LQ SweepThe following script recognises QL sweeps in the desired time frame with alarm function!
Theory:
There is liquidity above highs and below lows. If this is tapped and the market reacts strongly immediately, the probability of a reversal is greatly increased! In the chart, this is defined in such a way that a candle has its wicks BELOW the old low, but the close is ABOVE the old low. the same applies to the high, of course!
In such a case we have an "LQ Sweep"
  
  
How does the script work?
Williams 3 fractals are used as a basis. These are meaningful as lows or highs. Whenever a fractal is created, the price level is saved.
This means that not only the last fractal is relevant, but all historical fractals as long as they have not been reached!
If a candle reaches the level, but shows a rejection and closes within the level again, we have our "LQ Sweep" setup.
In the script you can select the timeframe in which the market has to be analysed. When the QL sweep occurs, an alert is triggered. This saves a lot of time because you can analyse different markets in different timeframes at the same time!
Each QL Sweep is marked in the chart when we are in the selected timeframe. These can also be deactivated so that only the last sweep is displayed.
Benefits for the trader:
An LQ sweep is a nice confirmation for a reversal.
If we have such an LQ sweep, we can wait in the lower timeframe for further confirmation, such as a structural break, to position our entries there.
The alarm function saves us a lot of time and we only go to the chart when a potential setup has been created.
You can set different time frames in the script: The selected time frame is then scanned and sends a signal when the event occurs.
LiquidityFlow Dominance+Alerts (btc.d, T3, Stables)LiquidityFlow Dominance+Alerts: Overview & Usage Guide
 
 Overview 
The LiquidityFlow Dominance+Alerts indicator provides a dynamic view of liquidity flow across Bitcoin, Altcoins, and Stablecoins, helping track liquidity shifts and identify market sentiment. By integrating moving averages, custom alerts, and thresholds for extreme outliers, this indicator helps to anticipate bullish and bearish shifts in liquidity and alert market tops and bottoms.
 Key features include: 
1.  Liquidity Flow Monitoring : Track liquidity flow across Bitcoin (BTC), Altcoins (TOTAL3), and Stablecoins (USDT, USDC, DAI).
2.  Custom Alerts : Set alerts for key liquidity shifts and extreme conditions in Stablecoin dominance, both with static and moving average (MA)-based calculations.
3.  Moving Averages : Use Simple, Exponential, or Weighted Moving Averages to smooth out market data for more reliable signals.
4.  Outlier Detection : Identify potential tops and bottoms using thresholds for Stablecoin dominance, with alerts for extreme movements.
 Functionality
 
Data Inputs and Key Metrics
- Symbols Monitored: 
  - Bitcoin Dominance (BTC.D)
  - Altcoin Market Cap (TOTAL3)
  - Stablecoins (USDT.D, USDC.D, DAI.D)
- Liquidity Flow Conditions: 
  - Track percentage changes in dominance across sectors to detect liquidity flow into Bitcoin, Altcoins, or Stablecoins.
- Custom Metrics:
  - Liquidity Flow Index: BTC Dominance minus Stablecoin Dominance.
  - Liquidity Flow Ratio: BTC Dominance divided by the combined dominance of Stablecoins and Altcoins.
Moving Average Integration
- Select from SMA, EMA, or WMA to apply moving averages to the dominance metrics. Moving averages help smooth out short-term volatility and provide more consistent signals.
- Moving averages are applied to each sector (BTC, Altcoins, and Stablecoins) and compared to their previous period values to determine shifts in liquidity.
Alerts and Thresholds
- % Change Lookback Period: Adjust the lookback period to align with the timeframe of your chart. Shorter timeframes may require a lower lookback period, while higher timeframes may benefit from longer periods.
- Stables Bull/Bear % for Alerts: Set a threshold for when Stablecoin dominance becomes a bullish or bearish signal relative to BTC and Altcoins. A higher threshold may be used in volatile markets to filter out noise.
- Extreme Outliers Detection: Use the **Stables Up/Down Extreme Threshold** to identify potential market tops or bottoms when Stablecoin dominance deviates significantly from historical trends. The **Extreme Lookback Period** controls the time window for detecting these anomalies.
 How to Use the Indicator
 
Adjusting the % Change Lookback Period
- The `% Change Lookback Period` should be adjusted based on your chart’s timeframe. For example, a shorter period (e.g., 7) works well for intraday charts, while longer periods (e.g., 14) might be more suitable for daily or weekly charts.
Setting Thresholds for Alerts
- Stables Bull/Bear % for Alerts: Adjust this setting to define when Stablecoin dominance triggers bullish or bearish alerts. A value like 1% could be a good starting point for most market conditions but can be fine-tuned based on volatility.
- Extreme Lookback Period: Define the lookback period for detecting extreme moves in Stablecoin dominance. This will help identify major tops and bottoms in the market. For shorter-term trades, consider using a shorter extreme lookback (e.g., 7-10 periods).
Alerts for Liquidity Shifts
- The indicator supports alerts for key liquidity shifts, which are useful for staying ahead of market movements. Alerts can be set to notify you when liquidity moves into:
  - Bitcoin: Indicating a potential bullish trend for Bitcoin.
  - Altcoins: Signaling altcoins are bullish.
  - Stablecoins: Suggesting a risk-off environment or market correction.
Extreme Alerts for Stables
- Extreme Up/Down Alerts: These are triggered when Stablecoin dominance crosses extreme thresholds. For example, if Stablecoin dominance rises more than 14% over a set period, it could signal a market top, while a significant drop could indicate a market bottom.
  
Moving Average Calculations
- In addition to static percentage changes, moving averages can be applied to smooth out dominance values. The type and length of the moving average can be customized:
  - SMA (Simple Moving Average): Best for smoothing out volatility in a linear way.
  - EMA (Exponential Moving Average): More responsive to recent data, making it useful in faster markets.
  - WMA (Weighted Moving Average): Emphasizes more recent data, but less reactive than the EMA.
Additional Usage Tips:
- Background Colors: The indicator visually highlights the dominant liquidity flow:
  - Orange: Liquidity is shifting toward Bitcoin.
  - Aqua: Liquidity is flowing into Altcoins.
  - Red: Liquidity is moving into Stablecoins.






















