Night Low Liquidity Congestions with 4 Trading SessionsThis indicator is designed to help traders visualize and analyze key market periods of low liquidity during the night and identify high-activity zones in the morning. It also includes customizable time sessions for major global markets, including the European and American sessions, as well as the London Close session.
T he main functionalities include:
- Night Low Liquidity Phase: This highlights periods with typically low market activity during the night (default: 20:01–5:59). It also displays the total range (in pips) during this phase, allowing traders to identify potential price consolidations.
- Morning Hot Zone: This focuses on high-activity periods in the early morning (default: 6:00–7:59), providing visual cues without altering bar colors.
- European Trading Session: Displays the European market’s open hours (default: 8:00–12:00), shaded in blue, to mark increased volatility typically seen during this period.
- American Trading Session: Marks the active hours of the U.S. market (default: 12:01–16:59), where market activity tends to peak.
- London Close Area: Highlights the closing hours of the London market (default: 17:00–20:00), allowing traders to track potential liquidity shifts.
Key Features:
1. Customizable Time Sessions:
- The indicator allows for full customization of the start and end times for each market session, making it adaptable to different instruments and trading style.
- Traders can choose their preferred color and opacity for each time zone to suit their charting preferences.
2. Night Low Liquidity Pip Range Calculation:
- Automatically calculates and displays the pip range for the Night Low Liquidity phase.
- The range is colored red if it exceeds the specified threshold and green if it remains below it.
3. Alarm System:
- Customizable alerts for H1, M15, and M5 timeframes.
- Traders can set alerts to trigger just before a bar closes during specific sessions (European, American, or London Close) and on selected days of the week (Monday–Friday).
- The alarm system allows for full customization of active hours and days, giving traders full control over their notifications.
4. Clear Visual Cues:
- The indicator uses transparent shading to differentiate market sessions, making it easy to spot different phases of the trading day.
- Each session is visually distinct and can be toggled on or off based on trader preferences.
Ideal For:
- Traders who focus on intraday strategies and want to understand how market sessions affect liquidity and volatility.
- Those looking to trade during specific time windows like the Night Low Liquidity or Morning Hot Zones.
- Traders who need to automate their alerts based on specific market hours and close events for major timeframes.
Cerca negli script per "liquidity"
Global Liquidity Index and DEMA1001. Global Liquidity Index:
The code calculates global liquidity from economic data from multiple countries and regions. Specifically, it aggregates money supply data from major economies such as the United States, Europe, China, and Japan, and sums and adjusts them to get a global liquidity index.
This index is calculated by summing data from different sources and subtracting the impact of some financial instruments (such as reverse repurchase agreements, etc.), and then converting the result into a number in trillions. This can help analyze the liquidity conditions in global money markets.
2. ROC SMA (Simple Moving Average of Rate of Change):
The code calculates the rate of change (ROC) of the global liquidity index, which is a way to measure the speed of change of the index.
Then, a simple moving average (SMA) is applied to the rate of change, which helps smooth the data and identify trends.
The ROC SMA curve is displayed in yellow to help users observe the trend of liquidity changes.
3. DEMA (Double Exponential Moving Average):
DEMA is a more complex moving average that attempts to reduce the lag of the moving average and provide a more sensitive trend response.
The calculation method is to first calculate a standard exponential moving average (EMA), then calculate the EMA of this EMA, and use these two results to calculate DEMA.
The code allows users to set the period length of DEMA (default is 100), which can adjust the speed of DEMA's response to price changes.
The DEMA curve is displayed in blue, helping users to more accurately capture the trends and changes of global liquidity indicators.
[DarkTrader] Swing OrderflowSwing Orderflow is a indicator that helps traders detect key swing highs and lows in price action. It is designed to enhance your charting experience by highlighting important support and resistance levels while providing clear visual cues on market structure changes. By tracking swing pivots and price trends, this indicator enables traders to make more informed decisions regarding potential entry and exit points in the market.
This indicator is inspired by @Fractalyst Indicator :
The core functionality of the script revolves around detecting swing highs and lows based on a customizable swing period. It identifies these pivots by comparing price movements over a specific time window, marking the points where price either peaks or bottoms out. Swing highs are plotted as resistance levels when the price breaks above a certain threshold, while swing lows are plotted as support levels when price breaks below it. These key points are represented with dotted lines and labels on the chart for easy reference.
Indicator In Use :
Swing High Calculation
A swing high occurs when the high of a specific bar (or candle) is greater than the highs of the surrounding bars within a defined range (called the swing period).
Function used to find the highest price within a specified range : ta.highest(period)
If the current price is greater than the highest price of this period, it's marked as a potential swing high.
A swing high generally represents a resistance level, where the price has reached a peak before declining.
Swing Low Calculation
A swing low occurs when the low of a specific bar is lower than the lows of the surrounding bars within the swing period.
Function used to find the lowest price within a specified range : ta.lowest(period)
If the current price is lower than this lowest price, it's identified as a swing low.
Swing lows represent support levels, where the price reaches a bottom before bouncing back.
These points are plotted on the chart, and the script also tracks whether price breaks above the swing high or below the swing low to determine trends or possible reversals.
BSL (Buy Side Liquidity)
BSL represents the Buy Side Liquidity, where traders are expected to have their buy orders (usually stop-loss orders for short positions).
When the price reaches a swing high, traders who are short may have stop orders placed above this level. Once these levels are breached, the script identifies this as a liquidity area where stop orders get triggered, causing potential upward price movement.
The script marks the swing high with a "BSL" label and line to indicate this key resistance and liquidity zone.
SSL (Sell Side Liquidity)
SSL refers to the Sell Side Liquidity, where traders place sell orders (usually stop-loss orders for long positions).
Swing lows are important levels where traders holding long positions place their stop orders. When the price drops below a swing low, it triggers these sell orders, causing potential downward price movement.
The script marks the swing low with an "SSL" label and line, signaling this key support and liquidity zone.
In essence, BSL and SSL represent areas where liquidity is pooled, making them critical points in price action. These liquidity areas, when breached, often lead to aggressive price moves, allowing traders to anticipate trends.
Change in State of Delivery CISD ICT [TradingFinder] Liquidity 1🔵 Introduction
🟣 What is CISD ?
Change in State of Delivery (CISD) is a key concept in technical analysis, similar to Change of Character (ChoCh) and Market Structure Shift (MSS) in the ICT (Inner Circle Trader) and Smart Money trading styles. Like ChoCh and MSS, CISD helps traders identify critical changes in market structure and make timely entries into trades.
To determine the CISD Level, traders typically review the last 1 to 4 candles to identify the first positive or negative candle. The CISD Level is then set using the opening price of the next candle.
In this version of the indicator, support and resistance levels are defined based on liquidity, which includes patterns such as SFP (Swing Failure Pattern), fake breakout, and false breakout.
Bullish CISD :
Bearish CISD :
🔵 How to Use
🟣 Bullish CISD (Change in State of Delivery Upward)
In Bullish CISD, the trend shifts from bearish to bullish after the price hits a liquidity zone, typically indicated by patterns such as SFP, fake breakout, or false breakout.
The steps to identify Bullish CISD are as follow s:
Identify the liquidity zone (SFP, fake breakout).
Review the candles and find the first positive candle.
Set the CISD Level using the opening price of the next candle after the positive candle.
Confirm the change in state of delivery when the price closes above the CISD Level.
Enter the trade after CISD confirmation.
🟣 Bearish CISD (Change in State of Delivery Downward)
In Bearish CISD, the trader looks for a shift from a bullish to a bearish trend. This change typically occurs when the price hits a liquidity level, indicated by patterns such as SFP or false breakout.
The steps to identify Bearish CISD are :
Identify the liquidity zone.
Review the candles and find the first negative candle.
Set the CISD Level using the opening price of the next candle after the negative candle.
Confirm the change in state of delivery when the price closes below the CISD Level.
Enter a short trade after CISD confirmation.
🟣 CISD Compared to ChoCh and MSS (CISD Vs ChoCh/ MSS)
CISD, ChoCh, and MSS are all tools for identifying trend changes in the market, but they have some differences :
CISD: Focuses on a change in the state of delivery and uses liquidity patterns (SFP, fake breakout) and key candles to confirm trend reversals.
ChoCh: Identifies a change in the market’s character, often signaling rapid shifts in trend direction.
MSS: Focuses on changes in market structure and identifies the breaking of key levels as a signal of trend shifts.
🔵 Settings
🟣 CISD Logical settings
Bar Back Check : Determining the return of candles to identify the CISD level.
CISD Level Validity : CISD level validity period based on the number of candles.
🟣 SFP Logical settings
Swing period : You can set the swing detection period.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Back : You can set the number of swings that will go back for checking.
🟣 CISD Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 SFP Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🔵 Conclusion
CISD is a powerful tool for identifying trend reversals using liquidity patterns and key candle analysis. Traders can use the CISD Level to detect trend changes and find optimal entry and exit points.
This concept is similar to ChoCh and MSS but stands out with its focus on confirming trend changes through liquidity and specific patterns. With the right approach, CISD helps traders capitalize on market movements more effectively.
M2 Global Liquidity Index (Candles)M2 Global Liquidity Index (Candles)
In this enhanced version of the original M2 Global Liquidity Index script by Mik3Christ3ns3n , I've taken the foundational concept and expanded its capabilities for more in-depth analysis and user flexibility. This updated script aggregates M2 money supply data from major global economies—China, the U.S., the Eurozone, Japan, and the U.K.—adjusted by their respective exchange rates, into a customizable global liquidity index.
Key Enhancements:
Candlestick Visualization:
• Instead of a simple line chart, I've implemented a candlestick chart, providing a more detailed representation of liquidity trends with open, high, low, and close values for each period. This allows traders to analyze the index with the same technical tools used for price charts.
Customizable Components:
• Users can now select which components (M2 data and exchange rates) to include in the index calculation, giving you the flexibility to tailor the index to specific economic factors or regions of interest.
Dynamic Color Coding:
• Candles are color-coded based on their performance (bullish or bearish), with customized wick and border colors to enhance visual clarity, making it easier to spot liquidity trends at a glance.
Overlay Option:
• This script is designed to be an overlay, allowing you to plot the Global Liquidity Index directly on your price charts, facilitating comparison between liquidity trends and asset prices.
This enhanced script is ideal for traders and analysts who want a deeper understanding of global liquidity trends and their impact on financial markets.
God's of LiquidityHere’s a detailed description for your script, following the guidelines for clarity and originality:
---
**Title:** God's of Liquidity
**Description:**
The "Gods of Liquidity" script is a comprehensive trading tool designed to help traders identify high-probability buy and sell opportunities based on a combination of liquidity levels, RSI-based sentiment analysis, and session-specific filters.
**Key Features:**
1. **Liquidity Zones Identification:**
- The script dynamically calculates the previous day's high and low levels, which serve as critical liquidity zones. Traders can use these levels to spot potential breakout points and reversals.
2. **RSI-Based Sentiment Analysis:**
- The script incorporates a sophisticated RSI-based sentiment model that differentiates between institutional (Banker) and retail (Hot Money) activity. This dual RSI approach allows traders to gauge market sentiment and anticipate shifts in momentum.
- **Banker RSI:** Measures the sentiment of institutional traders, with customizable sensitivity and period parameters.
- **Hot Money RSI:** Measures retail trader sentiment, with its own adjustable settings to tailor the script to various market conditions.
3. **Session and Day Filters:**
- Traders can restrict signals to specific trading sessions and days of the week, providing greater control and precision in executing trades. This feature is particularly useful for aligning trading activity with market conditions that best suit the strategy.
4. **Breakout and Reversal Signals:**
- The script generates buy signals when the price breaks above the previous day's high, accompanied by bullish RSI sentiment from institutional traders. Conversely, sell signals are generated when the price breaks below the previous day's low, with bearish institutional sentiment.
- These signals are visually marked on the chart, making it easier for traders to identify potential trading opportunities.
5. **Customizable Moving Averages:**
- The script allows users to customize the moving averages used in the RSI calculations, giving traders the flexibility to adapt the tool to their specific trading style and market conditions.
6. **Alert System:**
- Alerts are integrated to notify traders when buy or sell conditions are met, ensuring that traders can react promptly to potential trading opportunities without constantly monitoring the charts.
**How It Works:**
- The script uses the previous day's high and low as key liquidity levels. The price crossing these levels, combined with RSI-based signals, indicates potential buy or sell opportunities.
- The sentiment analysis is derived from the RSI values, with separate calculations for institutional and retail activities. The crossover points of these RSI values against their respective moving averages trigger buy or sell signals.
- The session and day filters allow traders to focus on the most relevant times for trading, enhancing the effectiveness of the strategy.
**Usage:**
- This indicator is designed for Forex traders who want to integrate liquidity zones and sentiment analysis into their trading strategy. It is particularly effective on daily or higher timeframes where liquidity levels and RSI-based sentiment analysis can provide strong indications of market direction.
- The script's flexibility in adjusting session times, days, and RSI parameters makes it suitable for a wide range of trading styles, from day trading to swing trading.
---
**License:**
This source code is subject to the terms of the Mozilla Public License 2.0 at (mozilla.org).
© bankbaguitarcrazy
---
This description should provide sufficient detail to comply with the publication guidelines, offering clear insight into how the script works and its unique features.
Daily Liquidity Peaks and Troughs [ST]Daily Liquidity Peaks and Troughs
Description in English:
This indicator identifies peaks and troughs of highest liquidity on a daily timeframe by analyzing volume data. It helps traders visualize key points of high buying or selling pressure, which could indicate potential reversal or continuation areas.
Detailed Explanation:
Configuration:
Lookback Length: This input defines the period over which the highest high and lowest low are calculated. The default value is 14. This means the script will look at the past 14 bars to determine if the current high or low is a pivot point.
Volume Threshold Multiplier: This input defines the multiplier for the average volume. For example, a multiplier of 1.5 means the volume needs to be 1.5 times the average volume to be considered a significant peak or trough.
Peak Color: This input sets the color for liquidity peaks. The default color is red.
Trough Color: This input sets the color for liquidity troughs. The default color is green.
Volume Calculation:
Average Volume: The script calculates the simple moving average (SMA) of the volume over the lookback period. This helps to identify periods of significantly higher volume.
Volume Threshold: The threshold is determined by multiplying the average volume by the volume threshold multiplier. Only volumes exceeding this threshold are considered significant.
Identifying Peaks and Troughs:
Liquidity Peak: A peak is identified when the current high is the highest high over the lookback period and the current volume exceeds the volume threshold. This indicates a potential area of strong selling pressure.
Liquidity Trough: A trough is identified when the current low is the lowest low over the lookback period and the current volume exceeds the volume threshold. This indicates a potential area of strong buying pressure.
These peaks and troughs are marked on the chart with labels and shapes for easy visualization.
Plotting Peaks and Troughs:
Labels: The script uses labels to mark peaks and troughs on the chart. Peaks are marked with a red label and troughs with a green label.
Shapes: The script plots triangles above peaks and below troughs to highlight these areas visually.
Indicator Benefits:
Liquidity Identification: Helps traders identify key areas of high liquidity, indicating strong buying or selling pressure.
Visual Cues: Provides clear visual signals for potential reversal or continuation points, aiding in making informed trading decisions.
Customizable Parameters: Allows traders to adjust the lookback length and volume threshold to suit different trading strategies and market conditions.
Justification of Component Combination:
Peaks and Troughs Identification: Combining pivot points with volume analysis provides a robust method to identify significant liquidity areas. This helps in detecting potential market reversals or continuations.
Volume Analysis: Utilizing average volume and volume threshold ensures that only significant volume spikes are considered, enhancing the accuracy of identified peaks and troughs.
How Components Work Together:
The script first calculates the average volume over the specified lookback period.
It then checks each bar to see if it qualifies as a liquidity peak or trough based on the highest high, lowest low, and volume threshold.
When a peak or trough is identified, it is marked on the chart with a label and a shape, providing clear visual cues for traders.
Título: Picos e Fundos de Liquidez Diários
Descrição em Português:
Este indicador identifica picos e fundos de maior liquidez no gráfico diário, analisando os dados de volume. Ele ajuda os traders a visualizar pontos-chave de alta pressão de compra ou venda, o que pode indicar áreas potenciais de reversão ou continuação.
Explicação Detalhada:
Configuração:
Comprimento de Retrocesso: Este input define o período sobre o qual a máxima e mínima são calculadas. O valor padrão é 14. Isso significa que o script analisará os últimos 14 candles para determinar se a máxima ou mínima atual é um ponto de pivô.
Multiplicador de Limite de Volume: Este input define o multiplicador para o volume médio. Por exemplo, um multiplicador de 1.5 significa que o volume precisa ser 1.5 vezes o volume médio para ser considerado um pico ou fundo significativo.
Cor do Pico: Este input define a cor para os picos de liquidez. A cor padrão é vermelha.
Cor do Fundo: Este input define a cor para os fundos de liquidez. A cor padrão é verde.
Cálculo do Volume:
Volume Médio: O script calcula a média móvel simples (SMA) do volume ao longo do período de retrocesso. Isso ajuda a identificar períodos de volume significativamente mais alto.
Limite de Volume: O limite é determinado multiplicando o volume médio pelo multiplicador de limite de volume. Apenas volumes que excedem esse limite são considerados significativos.
Identificação de Picos e Fundos:
Pico de Liquidez: Um pico é identificado quando a máxima atual é a máxima mais alta no período de retrocesso e o volume atual excede o limite de volume. Isso indica uma potencial área de forte pressão de venda.
Fundo de Liquidez: Um fundo é identificado quando a mínima atual é a mínima mais baixa no período de retrocesso e o volume atual excede o limite de volume. Isso indica uma potencial área de forte pressão de compra.
Esses picos e fundos são marcados no gráfico com etiquetas e formas para fácil visualização.
Plotagem de Picos e Fundos:
Etiquetas: O script usa etiquetas para marcar picos e fundos no gráfico. Os picos são marcados com uma etiqueta vermelha e os fundos com uma etiqueta verde.
Formas: O script plota triângulos acima dos picos e abaixo dos fundos para destacar essas áreas visualmente.
Benefícios do Indicador:
Identificação de Liquidez: Ajuda os traders a identificar áreas-chave de alta liquidez, indicando forte pressão de compra ou venda.
Cues Visuais: Fornece sinais visuais claros para pontos potenciais de reversão ou continuação, auxiliando na tomada de decisões informadas.
Parâmetros Personalizáveis: Permite que os traders ajustem o comprimento de retrocesso e o limite de volume para se adequar a diferentes estratégias de negociação e condições de mercado.
Justificação da Combinação de Componentes:
Identificação de Picos e Fundos: A combinação de pontos de pivô com análise de volume fornece um método robusto para identificar áreas significativas de liquidez. Isso ajuda na detecção de potenciais reversões ou continuações de mercado.
Análise de Volume: Utilizar o volume médio e o limite de volume garante que apenas picos de volume significativos sejam considerados, aumentando a precisão dos picos e fundos identificados.
Como os Componentes Funcionam Juntos:
O script primeiro calcula o volume médio ao longo do período especificado de retrocesso.
Em seguida, verifica cada barra para ver se ela se qualifica como um pico ou fundo de liquidez com base
Smart Money Liquidity Heatmap [AlgoAlpha]🌟📈 Introducing the Smart Money Liquidity Heatmap by AlgoAlpha! 🗺️🚀
Dive into the depths of market liquidity with our innovative Pine Script™ indicator designed to illuminate the trading actions of smart money! This meticulously crafted tool provides an enhanced visualization of liquidity flow, highlighting the dynamics between smart and retail investors directly on your chart! 🌐🔍
🙌 Key Features of the Smart Money Liquidity Heatmap:
🖼️ Visual Clarity: Uses vibrant heatmap colors to represent liquidity concentrations, making it easier to spot significant trading zones.
🔧 Customizable Settings: Adjust index periods, volume flow periods, and more to tailor the heatmap to your trading strategy.
📊 Dynamic Ratios: Computes the ratio of smart money to retail trading activity, providing insights into who is driving market movements.
👓 Transparency Options: Modify color intensity for better visibility against various chart backgrounds.
🛠 How to Use the Smart Money Liquidity Heatmap:
1️⃣ Add the Indicator:
Add the indicator to favourites. Customize settings to align with your trading preferences, including periods for index calculation and volume flow.
2️⃣ Market Analysis:
Monitor the heatmap for high liquidity zones signalled by the heatmap. These are potential areas where smart money is actively engaging, providing crucial insights into market dynamics.
Basic Logic Behind the Indicator:
The Smart Money Liquidity Heatmap utilizes the Smart Money Interest Index Indicator and operates by differentiating between the trading behaviors of informed (smart money) and less-informed (retail) traders. It calculates the differences between specific volume indices—Positive Volume Index (PVI) for retail investors and Negative Volume Index (NVI) for institutional players—and their respective moving averages, highlighting these differences using the Relative Strength Index (RSI) over user-specified periods. This calculation generates a ratio that is then normalized and compared against a threshold to identify areas of high institutional trading interest, visually representing these zones on your chart as vibrant heatmaps. This enables traders to visually identify where significant trading activities among smart money are occurring, potentially signalling important buying or selling opportunities.
🎉 Elevate your trading experience with precision, insight, and clarity by integrating the Smart Money Liquidity Heatmap into your toolkit today!
NZTVolumeDESCRIPTION IN ENGLISH
🔶 INTRODUCTION
NZTVolume is an advanced indicator for TradingView , inspired by the mentor Almaz . It is intended to facilitate the analytical work of traders who actively use data on real trading volumes in their analysis. The indicator also has many features that simplify operation and provide great opportunities for analysis , including the key function - identification of effective and ineffective movements, which are described below.
🔶 CONTENT
This tool provides detailed visualization of real volume . Other features such as candlestick color change depending on volume, histogram display percentage change in volume , and display candles that have gained liquidity, but the most unique function is the determination of effective and ineffective movements, alerts for them are built into the indicator, and traders will have a unique opportunity by setting alerts to wait for the first effective movement (its meaning and description below) , all this is implemented through advanced computational algorithms applied in the code.
Key features include Real Volume Histogram, Dynamic Candle Color Change, Average Volume Table, Volume Percent Change, Liquidity taken Candle, Volume Moving Averages, Effective and ineffective movements with their lines, 3 types of customizable Volume Alerts.
🔶 LOGIC
🔹 Dynamic Candle Color Change (Изменять цвет свечей)
Candles change to a contrasting color if their volume exceeds that of the previous candle , differentiated into bullish and bearish , including settings for transparency and colors . Can be configured, enabled of or disabled.
🔹 Real Volume Histogram (Показывать гистограмму объемов)
Automatically retrieves data on volumes and shows it on a chart. Can be configured, enabled of or disabled.
🔹 Liquidity Taken Candle (Показывать свечу собравшую ликвидность)
A candle that has taken/captured liquidity , which is determined in the code by the high and low prices of the candle and the volume it has , is displayed on the histogram . Can be configured, enabled or disabled.
🔹 Percent Change Volume (Показывать гистограмму процентного изменения объема)
Calculates and displays volume percent changes on a histogram. Can be configured, enabled or disabled.
🔹 Effective and Ineffective movement/column (Показывать эффективные и неэффективные движения)
By calculating the average volatility of the last bars, as well as calculating the average volume of the last bars, comparing and contrasting them, we obtain the principle of effective and ineffective movement/column. The code includes alerts that allow you to notify the user when the first effective movement/candle appears, which can significantly improve trading and maintain concentration. Basically it's a specific column on histogram, but is called movement so that's it's easier to understand its logic.
🔹 Line of efficiency and inefficiency (Показывать линии эффективности и неэффективности)
These lines connect all effective and ineffective movements' highs on the histogram, allowing traders to practice, as well as build their trading strategy for the trading day.
🔹 Average Volume Table (Показывать таблицу со средним объемом)
Displays the average volume per bar for selected time intervals with the ability to customize the period . Can be configured, enabled or disabled.
🔹 Volume Moving Averages (Показывать среднюю скользящую объема)
Three lines corresponding to users' set time intervals show the change in volume with color and thickness settings. Can be configured, enabled or disabled.
🔹 Alerts (Во сколько раз объем свечи должен превышать предыдущую для алерта)
Alerts can be triggered by 3 conditions
1. if on the selected timeframe the volume of the current candle exceeds the volume of the previous candle by a user-specified number of times , an alert will be triggered.
2. if a liquidity candle appears on the selected timeframe , an alert is triggered.
3. if an effective column/movement appears on the selected timeframe, an alert is triggered.
It can be configured, enabled or disabled.
🔶 TECHNICAL SPECIFICATION AND UNIQUENESS
At the core of NZTVolume is a series of advanced algorithms that analyze volume data in real-time.
Some of them are:
Calculate average volumes by given time period (in hours).
Candles, that took liquidity - considers high volume and wicks' size.
Percent volume change histogram - calculate percent change of volume for every bar and shows it on graph.
Effective and ineffective movement - calculates by algorithm that considers average volume and average volatility, assuming that big market players will contribute the volume.
🔶 DEMONSTRATION OF HOW THE INDICATOR WORKS ON DIFFERENT ASSETS
NZTLevel + NZTVolume Together
🔶 SETTINGS
🔹 Candles (Свечи)
Enable/disable color changes of candles based on volume . Customize colors of contrasting and standard candles, adjust transparency.
🔹 Histogram Settings (Настройки Гистограммы)
Show volume histogram , show liquidity taken candle, show volume percent change histogram, show effective, ineffective movements, show efficiency/inefficiency line.
🔹 Display settings on the Histogram (Настройки отображения на Гистограмме)
Customizable colors for bullish, bearish, liquidity taken columns as well as for effective and ineffective movement/columns and for lines that connect them.
🔹 Table (Таблица)
Toggle the display of the average volume table, customize the background, and set time ranges (3 parameters, multi-timeframe support). Tables shows "average volume over 24/48/72 hours" in translation
🔹 Lines (Линии)
Option to display/hide average volume lines , select colors and thickness for each of the three lines.
🔹 Alerts (Алерты)
As was said before, there are 3 types of alerts , that can be turned off , there is a parameter can be chosen - How many times volume of the current candle should exceeds the volume of the previous candle to trigger alert
🔶 RECOMMENDATIONS FOR USE
It is recommended to set and save the indicator settings that best match your trading preferences to ensure efficiency and ease of use.
NZTVolume stands out among other indicators for its universal functions, versatility, simplicity of installation and setup, high performance, and extensive customization capabilities, making it an indispensable tool for traders of all levels.
The indicator was developed by Temirlan Tolegenov for NZT Trader Community, April 2024, Prague, Czech Republic
ОПИСАНИЕ НА РУССКОМ ЯЗЫКЕ
🔶 ВСТУПЛЕНИЕ
NZTVolume — это продвинутый индикатор для TradingView , вдохновленный ментором Алмазом . Он предназначен для облегчения аналитической работы трейдеров, которые активно используют данные о реальных объёмах торгов в своем анализе. Индикатор также имеет множество функций, которые упрощают работу и предоставляют большие возможности для анализа , включая ключевую функцию - выявление эффективных и неэффективных движений, которые описаны ниже.
🔶 СОДЕРЖАНИЕ
Индикатор обеспечивает детальную визуализацию реального объема . Другие функции, такие как изменение цвета свечей в зависимости от объема, отображение гистограммы процентное изменение объема и отображение свечи, собравшей ликвидность, но самой уникальной функцией является определение эффективных и неэффективных движений, оповещения по ним встроены в индикатор, и у трейдеров появится уникальная возможность установить оповещения на ожидание первого эффективного движения (его смысл и описание ниже). ) , всё это реализовано посредством продвинутых вычислительных алгоритмов, примененных в коде.
Ключевые функции включают в себя гистограмму реального объема, динамическое изменение цвета свечи, таблицу среднего объема, процентное изменение объема, свечу, взявшую ликвидности, скользящие средние объема, эффективные и неэффективные движения с их линиями, 3 типа настраиваемых параметров. Оповещения об объеме.
🔶 ЛОГИКА
🔹 Динамическое изменение цвета свечей (Изменить цвет свечей)
Свечи меняют цвет на контрастный , если их объем превышает объем предыдущей свечи , дифференцируются на бычьи и медвежьи , включая настройки прозрачности и цвета . Можно настроить, включить или отключить.
🔹 Гистограмма реального объёма (Показывать гистограмму объёмов)
Автоматически извлекает данные по объемам и отображает их на графике. Можно настроить, включить или отключить.
🔹 Свеча, собравшая ликвидность (Показывать свечу собравшую ликвидность)
Свеча, собравшая ликвидность , которая определена в коде максимальной и минимальной ценой свечи и объемом, который она имеет , отображается на гистограмма . Можно настроить, включить или отключить.
🔹 Процентное изменение объема (Показывать гистограмму процентного изменения объема)
Вычисляет и отображает процентные изменения объема на гистограмме. Можно настроить, включить или отключить.
🔹 Эффективные и неэффективные движения(Показать Эффективныеи неэффективные движения)
Рассчитав среднюю волатильность последних баров, а также вычислив средний объем последних баров, сравнивая и противопоставляя их, мы получаем принцип эффективного и неэффективного движения/столбца. В код включены оповещения, которые позволяют оповещать пользователя при появлении первого эффективного движения/свечи, что позволяет существенно улучшить торговлю и сохранить концентрацию. По сути, это отдельный столбец на гистограмме, но он называется движением, потому что так, его логику будет легче понять.
🔹 Линия эффективности и неэффективности (Показывать линии эффективности и неэффективности)
Эти линии соединяют хаи всех эффективных и неэффективных движений на гистограмме, позволяя трейдерам практиковаться, а также строить свою торговую стратегию на торговый день.
🔹 Таблица среднего объема (Показать таблицу со значением определения)
Отображает средний объем на бар для выбранных временных интервалов с возможностью настройки периода . Можно настроить, включить или отключить.
🔹 Скользящие средние объёма (Показать среднюю скользящую объём)
Три линии, соответствующие установленным пользователем временным интервалам , показывают изменение объема с настройками цвета и толщины. Можно настроить, включить или отключить.
🔹 Оповещения (Во сколько раз объем свечи должен превышать предыдущую для оповещения)
Оповещения могут быть вызваны тремя условиями
1. Если на выбранном таймфрейме объем текущей свечи превысит объем предыдущей свечи в заданное пользователем количество раз , сработает оповещение
2. Если на выбранном таймфрейме появляется свеча ликвидности , срабатывает оповещение
3. Если на выбранном таймфрейме появляется эффективный столбец/движение , срабатывает оповещение.
Это можно настроить, включить или отключить.
🔶 ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ И УНИКАЛЬНОСТЬ
В основе NZTVolume лежит серия продвинутых алгоритмов, которые анализируют данные об объемах в режиме реального времени.
Некоторые из них:
Рассчёт средние объёмы за заданный период времени (в часах).
Свечи, снявшие ликвидность - учитывает большой объем и размер шпилей.
Процентное изменение объема на гистограмме — рассчитывает процентное изменение объема для каждого бара и отображает его на графике.
Эффективное и неэффективное движение - рассчитывается по алгоритму, учитывающему средний объем и среднюю волатильность, предполагая, что объем крупных игроков будет сигнализировать о намерении рынка и силе движения.
🔶 НАСТРОЙКИ
🔹 Свечи
Включить/отключить изменение цвета свечей в зависимости от объема . Настройте цвета контрастных и стандартных свечей, настройте прозрачность.
🔹 Настройки гистограммы
Показать гистограмму объема , показать свечу взятой ликвидности, показать гистограмму процентного изменения объема, показать эффективные и неэффективные движения, показать линию эффективности/неэффективности.
🔹 Настройки отображения на гистограмме
Настраиваемые цвета для бычьих, медвежьих, свечей, собравших ликвидность столбцов, а также для эффективных и неэффективных движений/столбцов и линий, которые их соединяют.
🔹 Таблица
Переключайте отображение таблицы среднего объема, настраивайте фон и устанавливайте временные диапазоны (3 параметра, мультитаймфрейм).
🔹 Линии
Возможность отобразить/скрыть линии среднего объема , выбрать цвет и толщину для каждой из трех линий.
🔹 Алерты
Как было сказано ранее, есть 3 типа оповещений , которые можно отключить , можно выбрать параметр — во сколько раз объем текущей свечи должен превышать объем предыдущей свечи, чтобы сработало оповещение.
🔶 РЕКОМЕНДАЦИИ К ИСПОЛЬЗОВАНИЮ
Рекомендуется установить и сохранить настройки индикатора, которые лучше всего соответствуют вашим торговым предпочтениям, чтобы обеспечить эффективность и простоту использования.
NZTVolume выделяется среди других индикаторов своими универсальными функциями, универсальностью, простотой установки и настройки, высокой производительностью и широкими возможностями настройки, что делает его незаменимым инструментом для трейдеров всех уровней.
Индикатор разработан Темирланом Толегеновым для международного сообщества NZT Trader , Апрель 2024, Прага, Чешская Республика.
The indicator is published in accordance and respect to all House Rules of the TradingView platform.
Индикатор опубликован в соответствии и уважением ко всем внутренним правилами платформы TradingView.
Market Structure with Inducements & Sweeps [LuxAlgo]The Market Structure with Inducements & Sweeps indicator is a unique take on Smart Money Concepts related market structure labels that aims to give traders a more precise interpretation considering various factors.
Compared to traditional market structure scripts that include Change of Character (CHoCH) & Break of Structures (BOS) -- this script also includes the detection of Inducements (IDM) & Sweeps which are major components of determining other structures labeled on the chart.
SMC & price action traders have historically considered this a more accurate representation of market structure by including these components.
🔶 USAGE
Below we can see a diagram for how market structure is displayed within the Market Structure with Inducements & Liquidity indicator.
Change of Characters (CHoCH) are based on swing points detection, while Break of Structures (BOS) are based on trailing maximum & minimums from the detected Change of Characters. We do this for a more dynamic & timely display of market structure.
🔹 Inducements (IDM)
Traders that consider inducements as a part of their analysis of Change of Characters & Break of Structures can more easily avoid fakeouts within trends as shown below.
In this script IDM's are always required between each market structures.
🔹 Sweeps of Liquidity (x)
SMC traders looking to properly analyze market structure need to look for sweeps of liquidity to ensure levels that are wicked are noted as sweeps, while levels that are fully closed above / below are labeled as confirmed market structures.
In the chart below we can see a Sweep of Liquidity which typically can occur on the longer term price action and indicate a potential reversal.
Notably, since labels such as CHoCH or BOS's can occur at the same level as a Sweep of liquidity, we have allowed the indicator to display the market structure label at the current bar in the event this happens.
The Sweeps of Liquidity are also based on trailing maximum / minimum, which allows for a continuous evaluation of areas for liquidity sweeps to occur.
This can be helpful for traders looking for longer term & shorter term sweeps.
🔶 SETTINGS
CHoCH Detection Period: Detection period for CHoCH's, higher values will return longer term CHoCH's.
IDM Detection Period: Detection period for IDM's, higher values will return longer term IDM's.
Thank you all for 500k followers on TradingView! Enjoy!
BigBeluga - Smart Money ConceptsSmart Money Concepts (SMC) is a comprehensive toolkit built around the around the principles of "smart money" behavior, which refers to the actions and strategies of institutional investors.
SMC transcends traditional technical analysis by delving deeper into this framework. This approach allows users to decipher the actions of these influential players, anticipate their potential impact on market dynamics, and gain insights beyond just price movements.
This all-in-one toolkit provide 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 edger to make informed trading decisions based on multi-timeframe liquidity dynamics
🔶 FEATURES
The indicator has quite a lot of features that are provided below:
Swing market structure
Internal market structure
Mapping structure
Discount/Premium zone
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
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').
Dotted lines: 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.
🔶 USAGE & EXAMPLES
The image above showcases a detailed example of several features from our toolkit that can be used in conjunction for a comprehensive analysis.
Price rejecting from the bullish order block (POC), while printing inside a bullish SFP and internal structure turning bullish (Internal CHoCH).
The image further demonstrates how two bearish order blocks could potentially act as resistance zones when prices approach those levels. These areas might also offer attractive locations to place take-profit orders.
The price has reached our first take-profit level, but is exhibiting some signs of weakness, suggesting a potential pullback which could put the trade at higher risk.
On the other hand, the price action currently exhibits strong bullish sentiment, suggesting favorable entry points and a potential upward trend.
The price has now fully reached our take-profit zone and is also exhibiting bearish confluence, indicating a potential price reversal or trend shift.
🔶 USING CONFLUENCE
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.
In the image above we can see a few examples of the indicator used in confluence with other metrics included in the toolkit.
Liquidity Prints within order blocks
SFP close to the POC
Sweep in liquidity close to a fair value gaps
These are just a few examples of what applying confluence can look like.
🔶 SETTINGS
Window: limit calculation period
Swing: limit drawing function
Internal: a period of the beginning of the internal structure
Mapping structure: show structural points
Algorithmic Logic: (Extreme-Adjusted) Use max high/low or pivot point calculation
Algorithmic loopback: pivot point look back
Premium / Discount: Lookback period of the pivot point calculation
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
Any Alert(): Trigger alerts based on the selected inputs
Normalized Global Net Liquidity + HMA Smoothed RoCThis script calculates "Global Net Liquidity" using various financial data sources, and integrates Rate of Change (RoC) visualization alongside an Equity Hull Moving Average (HMA) plot. It also features an additional "Global Liquidity" metric that is subsequently scaled and plotted.
First, several financial indicators are requested and combined to form the "Global Net Liquidity Indicator." A Rate of Change (RoC) is then calculated, and this RoC, alongside the Equity Hull Moving Average (HMA), is plotted. Next, a "Global Liquidity" measure is formed by combining various financial data.
In summary, this script involves achieving a comprehensive visualization of liquidity-related indicators and measures, providing an inclusive outlook into the nature of global liquidity trends.
The main plot is the 3 liquidity metrics averaged together and normalized then scaled between -1 and 1 for TPI scoring.
You can customize the weighting for each metric, as well as the lookback period for all 3 metrics.
-1 = Negative Trend
1 = Positive Trend
Yellow = Global Net Liquidity
Blue = RoC
Red = Equity HMA
This is insight into global liquidity, and not to be taken in anyway as trading signals. This is an analysis tool to be combined with further research.
ICT HTF MSS & Liquidity (fadi)ICT HTF MSS & Liquidity provides higher timeframe view of where the liquidity may reside and when higher timeframe market structure shift has occurred.
In his 2022 mentorship, ICT has advocated used the 15m chart to watch for liquidity and looking for lower timeframes for entry (5m,4m,3m,2m,1m).
Liquidity will reside above pivot points and ICT pivot points are based on 3 candle formation for the short term, three short term formation for intermediate, and three intermediate formation for the long terms.
Options
Timeframe Timeframe to monitor
Use the Short, Intermediate, or Long Term highs and lows
Liquidity Styles
Open liquidity line style, size, and color
Claimed liquidity line style, size, and color
Extend the open liquidity line beyond the current candle
Number of lines to display, this includes claimed and open
Lune Technical Analysis Premium⬛️ Overview
Lune Technical Analysis is a state-of-the-art TradingView indicator, meticulously designed to provide real-time market insights. Distinguished by its non-repainting features that operate in real-time, this tool brings enhanced accuracy and timeliness to your market analysis.
🟦 Features
Lune Technical Analysis equips traders with an array of innovative features:
🔹 Candle Coloring: The Candle Coloring feature introduces an innovative approach to visualizing market sentiment by coloring chart candles. It is devised to streamline your market analysis, offering a readily digestible snapshot of market trends. For example, if you aim to gauge the predominant market sentiment promptly, enable this feature for instant candle color-coding in accordance with prevailing bullish or bearish market structures. Though it currently supports only Market Structure-based Candle Coloring, its settings can be manipulated for enabling or disabling this feature. This feature operates by applying predefined algorithms that interpret market sentiment, coloring the candles accordingly.
🔹 Chart Pattern Detection: This sophisticated tool automatically detects and illustrates common chart patterns on your chart, simplifying the process of pattern identification. It identifies a range of patterns such as Head & Shoulders, Inverted Head & Shoulders, Ascending/Descending Wedges, Broadening Wedges, various Triangles, and Double Tops/Bottoms, enhancing your confluence detection in the market. For example, upon detecting a Double Top pattern, you could anticipate a potential price reversal due to this bearish signal. The sensitivity of this tool can be customized according to your trading style, with lower settings for short-term changes and higher for long-term. This feature leverages predefined formulas and price action analysis to identify these patterns.
🔹 Trendlines: With the Automatic Trendline Drawing tool, your technical analysis becomes significantly more efficient and precise. This feature is engineered to identify upward and downward Trendlines, aiding in locating potential pivots, and market support/resistance. For instance, if the price consistently rebounds off a Trendline, it may continue to do so, serving as a support/resistance level. However, a break through the Trendline could signal potential volatility and trend change. This feature's sensitivity to price changes can be adjusted to either short or long-term. It works by tracing Trendlines based on price action and wick formations to detect potential pivots.
🔹 Liquidity Bubbles: Liquidity Bubbles is an advanced tool that pinpoints key liquidity areas and large positions in real-time. This feature significantly contributes to effective trading strategy formulation by highlighting potential entry and exit points. It operates in real-time, ensuring zero repaint or lag, and supports two modes: Enhanced Bubbles and Basic Bubbles. For instance, the detection of multiple bullish Liquidity Bubbles during a ranging market could suggest an upward price movement due to dominant bullish volume. This feature's settings include thresholds for insignificant bubble filtering and a mode selection feature. Liquidity Bubbles operates by applying a proprietary formula to volume data, determining general volume direction and potential positions.
🔹 Market Structure: The Market Structure tool identifies key market structures such as Break of Structures (BoS) and Change of Character (ChoCh), thereby enhancing your ability to read market trends and sentiment. This smart money concept gives you a unique insight into short-term and long-term market trends. For instance, the appearance of a bullish Break of Structure and Change of Character after a predominantly bearish market sentiment could suggest a new bullish trend. This feature allows users to select which Market Structures to display and calculates these structures based on the market's high and low points.
🔹 Order Blocks: Order Blocks provide a visual representation of areas where large market participants are likely to place orders. These zones, where significant buying or selling activity has occurred in the past, offer insightful data for future price movements. The Order Blocks feature operates in real-time, providing real-time Order Blocks without any lag. For instance, if the price enters a large Order Block with predominantly bullish volume, an upward price movement can be anticipated. However, if the price breaks through the block, it could suggest the block's invalidation and a likely continued price fall. You can configure the settings to enable an additional Order Block, customize timeframes, overlap functions, and apply a quality filter. This feature calculates Order Blocks using the volume and candle size data.
🔹 Supply/Demand Zones: This real-time tool identifies crucial supply and demand zones, revealing potential price reaction points. These zones, where supply (selling pressure) and demand (buying pressure) have historically impacted price significantly, provide traders with insights into potential areas of strong support (demand) and resistance (supply). For example, if the price enters a large supply zone, a price rejection could be anticipated due to historical selling pressure at this zone. The settings enable users to add an additional Supply/Demand Zone, customize the timeframe, and apply a quality filter. This feature identifies common Supply/Demand Zones patterns based on volume and the size of the zone and displays them on the chart.
🔹 Fair Value Gaps: The Fair Value Gaps tool is designed to identify potential price correction zones or "gaps". These areas, where the market price sharply deviated from the fair value, suggest potential price adjustments in the future. For instance, the formation of a bullish Fair Value Gap could indicate a future price drop to fill this gap, potentially followed by an upward movement if the gap was of fair value. The settings allow users to enable additional Fair Value Gaps, customize the timeframe, and apply a quality filter. This feature measures large market gaps based on the size of the gap and its volume.
These features and tools collectively offer a comprehensive solution for traders to understand and navigate the financial markets. It's important to remember that they are designed to assist in making informed trading decisions and should be used as part of a balanced trading strategy.
🟧 Usage
Lune Technical Analysis's unique feature set can be leveraged both individually and synergistically. It is important to understand each feature and experiment with different configurations to best suit your unique trading needs.
🔸 Example #1: The following example demonstrates how the Order Block and Liquidity Bubbles feature can be used together to enhance your market analysis.
Order Blocks work in real-time to identify key order zones based on price action. These zones are often crucial for predicting price fluctuations. Meanwhile, Liquidity Bubbles act as real-time visual cues that detect significant market positions, facilitating an understanding of market accumulation, distribution, and trapped positions.
In this instance, at point 1, a bearish Basic and Enhanced Liquidity Bubble is visible within a crucial Order Block. The combination of these indicators augments the bearish sentiment, leading to a potential price decrease. Similarly, at point 2, the conjunction of two bullish Basic Liquidity Bubbles within an Order Block strengthens the bullish sentiment, culminating in a subsequent price increase.
🔸 Example #2: The following example demonstrates how Supply and Demand Zones can be used to detect strong and quality supports and resistance.
Supply and Demand Zones operate in real-time, detecting crucial zones based on price action and volume. This feature is invaluable for predicting potential price reaction points.
At point 1, the price enters a Supply Zone, a historical hotspot for selling activity, which usually leads to a price rejection and consequent decrease. At point 2, a Demand Zone indicating a bullish sentiment suggests a potential reversal when the price touches this level.
🔸 Example #3: The following example demonstrates how the Chart Pattern Detection feature is able to detect chart patterns to help enhance your trades.
Chart Pattern Detection employs formulas and price action analysis to identify common chart patterns as they form. Here, it successfully detects a 'Head and Shoulders' pattern, a conventionally bearish pattern, indicating a potential price drop.
🟥 Conclusion
Lune Technical Analysis stands as an exceptional blend of real-time insights into market activity. Its real-time, non-repainting features offer traders a more precise and timely approach to market analysis, promoting improved decision making in ever-changing market conditions.
🔻 Access
You can see the Author's instructions below to get instant access to this indicator & our Premium Suite.
🔻 Disclaimer
Lune Technical Analysis is a tool for aiding in market analysis and is not a guarantee of future market performance or individual trading success. We strongly recommend that users combine our tool with their trading strategies and do their due diligence before making any trading decisions.
Remember, past performance is not indicative of future results. Please trade responsibly.
BTCUSD Price prediction based on central bank liquidityIn recent months the idea that Bitcoin prices are increasingly linked to liquidity provided by central banks has gained strength. Multiple opinion leaders in the bitcoin space have shared their thoughts to explain why this is happening and why it makes sense. Some of these people I'm talking about are Preston Pysh, Dr. Jeff Ross, Steven McClurg, Lynn Alden among others.
The reality is that the correlation between market liquidity, measured as Assets held by the Federal Reserve, Bank of Japan and European Central bank, and Bitcoin prices is high. This made me wonder whether a regression between "market liquidity" and BTCUSD prices made sense in order to understand where Bitcoin prices are in relation to the liquidity in the market. After several trials I ended up fitting a polynomial regression of degree 5 between Market Liquidity and BTCUSD prices since 2013. This regression resulted in r-squared value of 90.93%. I initially visualized the results in python notebooks but then I thought it would be cool to be able to see them in real-time in tradingview.
That's where this script comes handy...
This script takes the coefficients and intercept from the polynomial regression I built and applies them to the "market_liquidity" index. In addition, it adds upper and lower bound lines to the prediction based on a 95% confidence interval. As you will see, particularly since 2020, the price of bitcoin has rarely been above or below the lines representing the 95% confidence interval. When price has actually crossed these lines it's been in moments where Bitcoin was highly overbought or oversold. Therefore this indicator could be used to understand when it's a good moment to enter or exit the market based on central bank fundamentals.
Here's the detailed step-by-step description of what the script does
1) It defines the coefficients obtained from running the regression betweeen "market liquidity" and BTCUSD. Market liquidity is defined as:
Market liquidity = FRED:WALCL + FX_IDX:JPYUSD*FRED:JPNASSETS + FX:EURUSD*FRED:ECBASSETSW - FRED:RRPONTSYD - FRED:WTREGEN
2) It defines a scale factor. The reason for this is that coefficients from the regression are very small numbers, given the huge numbers of the value of assets held by central banks. Pinescript doesn't support numbers with many decimals and rounds them to 0, so the coefficients had to be scaled up in order to be able to calculate the regression results.
3) It calculates market liquity with the formula defined above. Market liquidity is calculated in US Dollars.
4) It calculates the predicted BTCUSD price based on the coefficients and the market liquidity values.
5) It scales down the values by the same factor used to scale the coefficients up
6) It defines the standard deviation of the "potential_btcusd_price_scaled" and the actual BTCUSD prices.
7) It defines upper and lower bounds to the BTCUSD price prediction using a z-score of 1.96, which is equivalent to 95% confidence interval.
8) Lastly it plots the BTCUSD price prediction (orange) and the upper (red) and lower(green) confidence intervals.
The script can be updated as the correlation of BTCUSD to central bank assets changes (the slope values can be updated).
How to use it:
When actual BTCUSD price (blue line in the chart) crosses over the red line (upper bound) or crosses under the green line (lower bound) it should be taken as a sign that the price of BTCUSD may be overvalued or undervalued based on the value of assets held by major central banks.
ICT 2022 Mentorship Model [TFO]An attempt at programming the logic from the Inner Circle Trader (ICT) 2022 Mentorship Model. It's not perfect by any means, and NOT intended as a substitute for learning the model itself. I just wanted to share what I’ve been able to make thus far. PLEASE read this description thoroughly before reaching out with questions.
How it works, as of the initial release (bullish example):
When major Sell Side Liquidity (SSL) is taken, this script will start looking for displacement through a recent swing high, marking a potential Market Structure Shift (MSS)
From the bar that created the MSS, displacement is deemed valid if the range of that bar is greater than the standard deviation of recent price history, multiplied by the “Displacement Strength” parameter. Valid displacement also requires that a Fair Value Gap (FVG) was created
Once the above conditions are met, the script will assume we are now seeking Buy Side Liquidity (BSL), and will continue to look for long entries in an FVG after subsequent displacement through swing highs. *This script will keep looking for long entries until price takes out BSL*
Similarly, if price took out BSL and displaced through a swing low, the script will only look for short entries in an FVG until an SSL pivot is reached (alerts can be configured to show these potential entries)
Settings:
Show Structure Breaks: show breaks of structure on the current timeframe
Show Liquidity Taken: show when major liquidity has been traded through
Show Liquidity Pivots: show all pivots that are being considered as liquidity
Structure Pivot Strength: determines how strong a local high/low must be for structural pivots on the current timeframe
Liquidity Multiplier: this number, multiplied by Structure Pivot Strength, will determine the pivot strength used to find valid liquidity, which should always be greater than the Structure Pivot Strength
BOS Type: “Close” will only count structure breaks when price closes through a prior pivot, whereas “Wick” will include structure breaks even if price only wicks through the prior pivot
Show Displacement: show bar coloring for valid displacement through a swing high/low
Show Displacement FVG: show FVGs that results from valid displacement
Displacement Type: use “Open to Close” to look for displacement using only the body of a candle, or “High to Low” to use the candle’s entire price range
Displacement Strength: higher values will look for more significant displacement candles, and vice versa
Max Bars to Extend FVG: if an FVG has not been overwritten or invalidated, it will extend to the right for a maximum of this many bars
I recommend lowering the values for Structure Pivot Strength and Liquidity Multiplier for larger chart timeframes, and increasing the values for smaller timeframes. I prefer keeping the displacement strength to >= 3, which would be 3 times the standard deviation of recent price history.
Liquidation Levels v2 [LG]The main premise of this indicator is to identify when large cryptocurrency futures positions are opened, and then plot the liquidation levels of those positions. Market makers know this data and tend to push price towards these levels, as there is guaranteed liquidity at or approaching those levels.
Remember, we want to buy when others are forced to sell, not when they want to sell, and vice versa. Whales want to position, but need to do so in areas of larger liquidity, as they want to minimize slippage and detection as much as possible.
This indicator is very useful during times of chop, when the market is taking liquidity anywhere it exists as whales are forcing retail players out of their positions.
This indicator will also plot where positions with a total value in excess of the user-defined threshold are opened or closed, so you are able to better gauge how market participants are reacting to price levels.
Commonly used leverage levels are 100x, 50x, and 25x, but can be adjusted by the user depending on what they are noticing is attracting price levels.
This indicator is recommended for use on the 1 minute chart of the Binance BTCUSD perpetual contract pair. This will allow for as much precision as possible for the majority of users. Note: The only supported coin at this point is BTC - other coins to follow soon.
SUMMARY
1) View liquidation levels of large positions opened
2) View exact moments where large positions are opened or closed
3) Gauge available liquidity to upside or downside to better assist in determining longer term reversal points
COMING SOON
1) Additional coins
2) VPVR inspired vertical histogram or other visualization tool summarizing total available liquidity at specific price level
3) Total delta of available long and short liquidity
4) Push notifications when price takes liquidity
5) Requests as outlined in the comments
This indicator was inspired by the Hyblock Capital liquidation levels and offers an improvement upon the popular existing Liquidation Levels indicator by mlapplications.
Smart Money Concepts(v0.01) - SoldiSmart Money Concepts
We are very pleased to be releasing our latest addition to the Soldi tools, called Smart Money Concepts. What this indicator was built to be is a guideline and tool to help a trader develop the mental mind state of a Smart Money Trader. Picking up on the digital footprints that they might have missed! This is our first iteration of this tool but we have so so much more coming to bring to this tool! So much that we might need to release 2 scripts to be able to efficiently fit it all in. As always Soldi/MMCFX always try to raise the bar on what is possible with PineScript and what advanced concepts we can bring to the retail market with ease, this project was insanely fun trying to get together and we spent a lot of months talking with and doing sessions with very well versed traders who only specialize and solely trade live with Smart Money/ICT Concepts. After many months of talking with and working with these traders we believe we have put together a very unique tool that any SMC trader would love to have in their tool belt.
What is Smart Money Concepts?
Smart Money Concepts (SMC) is the practice of trying to track the digital footprints left by Market Makers and large money traders like Institutional bodies and brokers. I believe this concept was originally developed by Inner Circle Trading (ICT), who has some great great content for free on YouTube. To my knowledge he was the father of the concepts being taken mainstream to retail individuals. Since then, there has been many other who have released content on these theories. For the sake of congruency we have only developed these tools based off the knowledge and practices taught by ICT.
What is Included within this tool?
What is currently Included with this tool are the following.
Market Structure - This includes Break of Structures (BOS) and Change of Characters (CHoCH), It was really important for us to define the different shifts that SMC traders track and follow so we built a unique customizable system that allows the traders to track these Market Structure shifts in real-time. Part of this module includes the option to plot the High/Low labels, by putting this settings on you will mark out the swing points as their respective Higher High(HH), High Low(HL), Lower Low(LL) and Lower High(LH) . This feature is a great way to help familiarize yourself with spotting these instances, there is a slight lag due to the nature of the calculations for tracking the Swing Points. By default we track 4 left bars and 4 right bars, on the 5th bar if the swing point returns true you will see the label plot itself. If you have a higher bar count you will need to wait till x+1 to see the label be plotted. eg. 7 bar count on the left and right, you will need to wait till the 8th bar to see the label be plotted.
By changing the bar counts you also change how the Market Structure module picks up the Market shifts (BOS/CHoCH)
4 bar left, 4 bar right example:
7 bar left, 7 bar right example:
Liquidity Sweep - This part of the Market Structure module is still being worked on and built out, this feature is meant to help a trader identify potential liquidity sweeps that have taken place past or present by switching the bar color to the user defined color (default yellow). There are many different types of liquidity sweeps that can take place and we are still working on the different profiles of these! More profiles will be added to the the updates in the future to help identify these potential trade areas
Liquidity Sweep example:
Trend Bars - This part of the Market Structure module helps traders identify structure trends based on the breaks of existing structure. Again this will shift as you play with the bar count settings, low bar count will identify faster swing points and shifts where as higher bar counts will identify longer term structures. By having this setting on it will change the bar colors to Red(Bearish) or Blue(Bullish) by default, we recommend to change your candles border settings to make this more visible.
7 bar left, 7 bar right. With High Low Labels and Trend Bars
Fair Value Gaps - This module will track the Fair Value Gaps and Imbalances that will take place in real-time. Once the final candle closes it will plot the FVG. Unlike other FVG indicators on TradingView we hold and store ALL the FVG's that take place, other indicators will only hold on to x amount of the FVG's and as new ones enter the list the old ones get bumped out. We didn't like this idea, so what we did was instead store all of the FVG's but create a threshold to where they would be plotted, eg. if you set the threshold to 4% it will only show you the FVG's within a 4% range from the current price. This way you still have access to all the data with out compromising but it helps you focus on the current data at hand.
Fair Value Gap/Imbalance - 3% threshold example
Fair Value Gap/Imbalance - 8% threshold example
Order Blocks - This was an especially interesting module to build, just like the FVG's we found that a lot if not all the authors on TradingView haven't actually been coming close to tracking and plotting true ICT style Order blocks. We set out to change that though, again through a unique approach we have built this Order Block indicator. To also comment on the other scripts out there that claim to track Order Blocks, not a SINGLE script mentions anything about Validated Order Blocks , which was especially important to all the SMC traders I have talked to and had help from building this indicator. Just like the FVG piece this also has a 'threshold' plot, but not only that it gives you the option to look at "No Validation" and "Validated" Order Blocks. With soon another style of Validation to choose from. If you choose the "Validated" option the script will actively seek Order Blocks that have a POI/liquidity sitting above it. I also want to make it clear that based on your bar count settings the order blocks will differ, as they are also based from structure breaks!
Order Blocks with "No Validation" example
Order Blocks with "Validation" example
Advanced Session Tracking - We always seek to out do what has been done and what we have already done, that being said we built our Advanced Session Tracking module to follow each user define Session's Open, High, Low, Close, Liquidity threshold and extend that into the next session . As per our last KillZone indicator we also included the Forward Plotting feature which will plot the defined sessions 24 hours in advance vs only showing you real time. Many if not all Session tracking tools on TradingView only show you real-time and in the past when the define sessions are but we find that to be a very silly practice because as SMC traders you know how important it is the relation between time and price. Instead of reacting to the sessions you and prepare for the sessions ahead of time anticipating when price might react to time.
note: There is a small bug with tracking the crypto based sessions, this is working to be fixed for the next update, check the release notes to see when the fix occurs
Session Background plots with forward plotting example
Session Backgrounds with High/Lows and Liquidity range example
What is to come with the updates?
We are always looking to improve anything, even if it is just a fraction better. That is why we are continuing to work with our SMC traders to refine the concepts, profiles, coding as well as the logic behind the calculations.
Here is a list of what we are planning and working on to be released in the updates to come!
Intra-Day Profiling - Each day has a profile, what we want to achieve is to track and predict these profiles
Liquidity Scanner - There are different types of liquidity that form and we want to be able to find and track these
Smart Trend Alerts - We want to combine quant methods into SMC to provide high probability trade ideas
User Suggestions - We are always open to work with the community to bring features they want
If it's not Soldi, it isn't money
Power Law Global Liquidity Price Model & OscillatorDescription:
This Pine Script implements a predictive Bitcoin (BTC) price model derived from an observed power-law relationship between BTC price and Global Liquidity (specifically Global M2).
To clarify, the indicator doesn't show M2 directly as many indicators do, but uses an empirical observed relationship between BTC price and M2. This is an important difference from other Global Liquidity indicators and makes it very useful because it allows for making predictions on the future of Bitcoin price.
The model is based on the relationship BTC ~ GL^9.3, where GL represents Global M2, and the best correlation is achieved with an 85-period lead in GL, making it a leading indicator for BTC price movements. The observed correlation is higher than 0.92, giving high confidence in the model's validity. The 85-day lead was chosen by calculating the predictive rate of the model (how many times a positive/negative return in the model correlates with the price) with a given lead. The relationship between a chosen delay and predictive power has a maximum at 85 days.
Features:
BTC Price Model:
Calculates a BTC price model using the power-law relationship (BTC ~ GL^9.3) with an 85-period lead in Global Liquidity data.
The model is superimposed on the chart using forced overlay for clear visualization of the predicted BTC price trend relative to actual price.
Directional Oscillator:
Displayed in a lower panel, the oscillator compares the structural similarity between the actual BTC price and the GL-based price model.
Computes the win rate of the averaged BTC price (over a 1-year period) versus the price model to highlight structural alignment.
Projects future oscillator values based on the 85-period lead in the GL model, providing insight into potential price direction.
This feature is also very unique, and it is not present in most Global Liquidity indicators. The reason to choose the win rate is that this parameter doesn't depend on a precise scaling
between the BTC price and GL. This allows for better identification of changes in features between the 2 time series (for example, a downturn, a run up, peaks, bottoms, and similar).
Purpose:
This script serves as a predictive tool for traders and analysts by leveraging the leading relationship between Global Liquidity and BTC price. The overlay model and oscillator provide both a visual and quantitative framework to anticipate BTC price trends and assess structural alignment with global economic indicators.
The indicator allows for early identification of bottoms, peaks, and possible local bull or bear runs.
Usage Notes:
This indicator works best when used with the "All Time History" BTCUSD index.
The 85-period lead in GL allows for forward-looking projections, making this tool suitable for strategic planning.
The oscillator aids in confirming the structural validity of the model, enhancing confidence in its projections.
Quantify [Trading Model] | FractalystNote: In this description, "TM" refers to Trading Model (not trademark) and "EM" refers to Entry Model
What’s the indicator’s purpose and functionality?
You know how to identify market bias but always struggle with figuring out the best exit method, or even hesitating to take your trades?
I've been there. That's why I built this solution—once and for all—to help traders who know the market bias but need a systematic and quantitative approach for their entries and trade management.
A model that shows you real-time market probabilities and insights, so you can focus on execution with confidence—not doubt or FOMO.
How does this Quantify differentiate from Quantify ?
Have you managed to code or even found an indicator that identifies the market bias for you, so you don’t have to manually spend time analyzing the market and trend?
Then that’s exactly why you might need the Quantify Trading Model.
With the Trading Model (TM) version, the script automatically uses your given bias identification method to determine the trend (bull vs bear and neutral), detect the bias, and provide instant insight into the trades you could’ve taken.
To avoid complications from consecutive signals, it uses a kNN machine learning algorithm that processes market structure and probabilities to predict the best future patterns.
(You don’t have to deal with any complexity—it’s all taken care of for you.)
Quantify TM uses the k-Nearest Neighbors (kNN) machine learning algorithm to learn from historical market patterns and adapt to changing market structures. This means it can recognize similar market conditions from the past and apply those lessons to current trading decisions.
On the other hand, Quantify EM requires you to manually select your directional bias. It then focuses solely on generating entry signals based on that pre-determined bias.
While the entry model version (EM) uses your manual bias selection to determine the trend, it then provides insights into trades you could’ve taken and should be taking.
Trading Model (TM)
- Uses `input.source()` to incorporate your personal methodology for identifying market bias
- Automates everything—from bias detection to entry and exit decisions
- Adapts to market bias changes through kNN machine learning optimization
- Reduces human intervention in trading decisions, limiting emotional interference
Entry Model (EM)
- Focuses specifically on optimizing entry points within your pre-selected directional bias
- Requires manual input for determining market bias
- Provides entry signals without automating alerts or bias rules
Can the indicator be applied to any market approach/trading strategy?
Yes, if you have clear rules for identifying the market bias, then you can code your bias detection and then use the input.source() user input to retrieve the direction from your own indicator, then the Quantify uses machine-learning identify the best setups for you.
Here's an example:
//@version=6
indicator('Moving Averages Bias', overlay = true)
// Input lengths for moving averages
ma10_length = input.int(10, title = 'MA 10 Length')
ma20_length = input.int(20, title = 'MA 20 Length')
ma50_length = input.int(50, title = 'MA 50 Length')
// Calculate moving averages
ma10 = ta.sma(close, ma10_length)
ma20 = ta.sma(close, ma20_length)
ma50 = ta.sma(close, ma50_length)
// Identify bias
var bias = 0
if close > ma10 and close > ma20 and close > ma50 and ma10 > ma20 and ma20 > ma50
bias := 1 // Bullish
bias
else if close < ma10 and close < ma20 and close < ma50 and ma10 < ma20 and ma20 < ma50
bias := -1 // Bearish
bias
else
bias := 0 // Neutral
bias
// Plot the bias
plot(bias, title = 'Identified Bias', color = color.blue,display = display.none)
Once you've created your custom bias indicator, you can integrate it with Quantify :
- Add your bias indicator to your chart
- Open the Quantify settings
- Set the Bias option to "Auto"
- Select your custom indicator as the bias source
The machine learning algorithms will then analyze historical price action and identify optimal setups based on your defined bias parameters. Performance statistics are displayed in summary tables, allowing you to evaluate effectiveness across different timeframes.
Can the indicator be used for different timeframes or trading styles?
Yes, regardless of the timeframe you’d like to take your entries, the indicator adapts to your trading style.
Whether you’re a swing trader, scalper, or even a position trader, the algorithm dynamically evaluates market conditions across your chosen timeframe.
How Quantify Helps You Trade Profitably?
The Quantify Trading Model offers several powerful features that can significantly improve your trading profitability when used correctly:
Real-Time Edge Assessment
It displays real-time probability of price moving in your favor versus hitting your stoploss
This gives you immediate insight into risk/reward dynamics before entering trades
You can make more informed decisions by knowing the statistical likelihood of success
Historical Edge Validation
Instantly shows whether your trading approach has demonstrated an edge in historical data
Prevents you from trading setups that historically haven't performed well
Gives confidence when entering trades that have proven statistical advantages
Optimized Position Sizing
Analyzes each setup's success rate to determine the adjusted Kelly criterion formula
Customizes position sizing based on your selected maximum drawdown tolerance
Helps prevent account-destroying losses while maximizing growth potential
Advanced Exit Management
Utilizes market structure-based trailing stop-loss mechanisms
Maximizes the average risk-reward ratio profit per winning trade
Helps capture larger moves while protecting gains during market reversals
Emotional Discipline Enforcement
Eliminates emotional bias by adhering to your pre-defined rules for market direction
Prevents impulsive decisions by providing objective entry and exit signals
Creates psychological distance between your emotions and trading decisions
Overtrading Prevention
Highlights only setups that demonstrate positive expectancy
Reduces frequency of low-probability trades
Conserves capital for higher-quality opportunities
Systematic Approach Benefits
By combining machine learning algorithms with your personal bias identification methods, Quantify helps transform discretionary trading approaches into more systematic, probability-based strategies.
What Entry Models are used in Quantify Trading Model version?
The Quantify Trading Model utilizes two primary entry models to identify high-probability trade setups:
Breakout Entry Model
- Identifies potential trade entries when price breaks through significant swing highs and swing lows
- Captures momentum as price moves beyond established trading ranges
- Particularly effective in trending markets when combined with the appropriate bias detection
- Optimized by machine learning to filter false breakouts based on historical performance
Fractals Entry Model
- Utilizes fractal patterns to identify potential reversal or continuation points
- Also uses swing levels to determine optimal entry locations
- Based on the concept that market structure repeats across different timeframes
- Identifies local highs and lows that form natural entry points
- Enhanced by machine learning to recognize the most profitable fractal formations
- These entry models work in conjunction with your custom bias indicator to ensure trades are taken in the direction of the overall market trend. The machine learning component analyzes historical performance of these entry types across different market conditions to optimize entry timing and signal quality.
How Does This Indicator Identify Market Structure?
1. Swing Detection
• The indicator identifies key swing points on the chart. These are local highs or lows where the price reverses direction, forming the foundation of market structure.
2. Structural Break Validation
• A structural break is flagged when a candle closes above a previous swing high (bullish) or below a previous swing low (bearish).
• Break Confirmation Process:
To confirm the break, the indicator applies the following rules:
• Valid Swing Preceding the Break: There must be at least one valid swing point before the break.
3. Numeric Labeling
• Each confirmed structural break is assigned a unique numeric ID starting from 1.
• This helps traders track breaks sequentially and analyze how the market structure evolves over time.
4. Liquidity and Invalidation Zones
• For every confirmed structural break, the indicator highlights two critical zones:
1. Liquidity Zone (LIQ): Represents the structural liquidity level.
2. Invalidation Zone (INV): Acts as Invalidation point if the structure fails to hold.
How does the trailing stop-loss work? what are the underlying calculations?
A trailing stoploss is a dynamic risk management tool that moves with the price as the market trend continues in the trader’s favor. Unlike a fixed take profit, which stays at a set level, the trailing stoploss automatically adjusts itself as the market moves, locking in profits as the price advances.
In Quantify, the trailing stoploss is enhanced by incorporating market structure liquidity levels (explain above). This ensures that the stoploss adjusts intelligently based on key price levels, allowing the trader to stay in the trade as long as the trend remains intact, while also protecting profits if the market reverses.
What is the Kelly Criterion, and how does it work in Quantify?
The Kelly Criterion is a mathematical formula used to determine the optimal position size for each trade, maximizing long-term growth while minimizing the risk of large drawdowns. It calculates the percentage of your portfolio to risk on a trade based on the probability of winning and the expected payoff.
Quantify integrates this with user-defined inputs to dynamically calculate the most effective position size in percentage, aligning with the trader’s risk tolerance and desired exposure.
How does Quantify use the Kelly Criterion in practice?
Quantify uses the Kelly Criterion to optimize position sizing based on the following factors:
1. Confidence Level: The model assesses the confidence level in the trade setup based on historical data and sample size. A higher confidence level increases the suggested position size because the trade has a higher probability of success.
2. Max Allowed Drawdown (User-Defined): Traders can set their preferred maximum allowed drawdown, which dictates how much loss is acceptable before reducing position size or stopping trading. Quantify uses this input to ensure that risk exposure aligns with the trader’s risk tolerance.
3. Probabilities: Quantify calculates the probabilities of success for each trade setup. The higher the probability of a successful trade (based on historical price action and liquidity levels), the larger the position size suggested by the Kelly Criterion.
How can I get started to use the indicator?
1. Set Your Market Bias
• Choose Auto.
• Select the source you want Quantify to use as for bias identification method (explained above)
2. Choose Your Entry Timeframes
• Specify the timeframes you want to focus on for trade entries.
• The indicator will dynamically analyze these timeframes to provide optimal setups.
3. Choose Your Entry Model and BE/TP Levels
• Choose a model that suits your personality
• Choose a level where you'd like the script to take profit or move stop-loss to BE
4. Set and activate the alerts
What tables are used in the Quantify?
• Quarterly
• Monthly
• Weekly
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data.
Built-in components, features, and functionalities of our charting tools are the intellectual property of @Fractalyst Unauthorized use, reproduction, or distribution of these proprietary elements is prohibited.
- By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer and agrees to respect our intellectual property rights and comply with all applicable laws and regulations.
Global Liquidity Index with Editable DEMA + 107 Day OffsetGlobal Liquidity DEMA (107-Day Lead)
This indicator visualizes a smoothed version of global central bank liquidity with a forward time shift of 107 days. The concept is based on the macroeconomic observation that markets tend to lag changes in global liquidity — particularly from central banks like the Federal Reserve, ECB, BOJ, and PBOC.
The script uses a Double Exponential Moving Average (DEMA) to smooth the combined balance sheets and money supply inputs. It then offsets the result into the future by 107 days, allowing you to visually align liquidity trends with delayed market reactions. A second plot (ROC SMA) is included to help identify liquidity momentum shifts.
🔍 How to Use:
Add this indicator to any chart (S&P 500, BTC, Gold, etc.)
Compare price action to the forward-shifted liquidity trend
Look for divergence, confirmation, or crossovers with price
Use as a macro timing tool for long-term entries/exits
📌 Included Features:
Editable DEMA smoothing length
ROC + SMA overlay for momentum signals
Fixed 107-day forward projection
Includes main DEMA and ROC SMA both real-time and shifted
Master Global Liquidity Shifted 75 DaysThe Global Liquidity Index is a Pine Script (version 5) technical indicator designed to measure and visualize global financial liquidity by aggregating data from various central bank balance sheets and money supply metrics. The indicator is plotted as an overlay on the price chart using the left scale, with the entire line shifted left by 75 days.
Key features:
Data Sources: Incorporates balance sheet data from major central banks including the Federal Reserve (FED), European Central Bank (ECB), People's Bank of China (PBC), Bank of Japan (BOJ), and other central banks, along with optional M2 money supply data from various countries.
Components: Includes options to toggle specific liquidity factors such as FED balance sheet, Treasury General Account (TGA), Reverse Repurchase Agreements (RRP), and regional M2 money supplies, all converted to USD.
75-Day Shift: The indicator's output is shifted left by 75 days on the chart, aligning historical liquidity data with earlier price action, with this shift period adjustable via the "Shift Days Left" input.
Calculations:
Computes a total liquidity value by summing enabled central bank and M2 data (adjusted for RRP and TGA as drains)
Scales the total by dividing by 1 trillion (10^12)
Applies a Simple Moving Average (SMA) and Rate of Change (ROC) with user-defined periods
Final output is either the SMA of ROC or SMA alone, depending on ROC length
Visualization: Plots the shifted result as a yellow line with a linewidth of 2.
Average Daily LiquidityIt is important to ensure sufficient stock trading liquidity so that you have sufficient volume to enter the trade and most importantly sufficient liquidity to exit the trade. Because daily trading liquidity can jump around so much by price changes and volume changes, it is important to smooth out the liquidity by using a moving average. Some use a 5 days (trading week) moving average, others use 10 day (2 weeks), 20 day ("month") and some use 65 day (quarter). The default is 10 days based upon the work of Colin Nicholson (The Aggressive Investor and Building Wealth in the Stock Market). Liquidity line changes color dependent upon the chart background luminescence. The amount you are planning to invest in a stock should have a liquidity of 10 (default) times that amount.