OPEN-SOURCE SCRIPT
Aggiornato Global Liquidity on Crypto Markets - Impact Gauge {DCAquant}

Global Liquidity on Crypto Markets - Impact Gauge {DCAquant}
This Pine Script indicator visualizes global liquidity trends and their impact on the crypto markets. The indicator includes several metrics and tools to help traders assess market conditions and make informed decisions. Below is a detailed description of each component and how they function.
General Settings and Inputs
Plotting Options: Choose between different indicators (RSI, ALMA, APSI) to plot.
Background Color Options: Select the trend indicator to plot as the background color.
Table Position and Size: Customize the position and size of the trend probability table.
Global Liquidity Index Components: Enable or disable various central banks and money supply metrics that contribute to the global liquidity index.
Relative Strength Index (RSI): Configure the RSI settings, including length, overbought/oversold thresholds, and standard deviation options. Using the Global Liquidity Index as its source.
ALMA/RSI Crossover: Customize the settings for the ALMA (Arnaud Legoux Moving Average) and RSI crossover strategy. Using the Global Liquidity Index as its source.
Alt Peak Strength Index (APSI): Configure the settings for APSI, which measures alternative market strength. The main risk ON signal for this indicator is when the blue plot is #1. Risk off when below either of the other 2 plots.
Global Liquidity Index (GLI)
The GLI is calculated by aggregating data from various central banks and money supply metrics. This data is normalized and logged for further analysis.
Relative Strength Index (RSI)
Calculation: RSI is calculated based on the GLI or its standard deviation.
Color Coding: The RSI plot and background color change based on predefined thresholds (overbought, oversold, neutral).
Plots: Displays the RSI along with overbought and oversold lines.
ALMA vs. RSI Crossover
This strategy compares the ALMA and RSI to determine potential long or short signals.
Calculation: Uses the ALMA smoothed data and compares it with the RSI.
Signal Generation: Generates long or short signals based on the crossover of ALMA and RSI values.
Alt Peak Strength Index (APSI)
APSI measures the strength of alternative markets relative to major benchmarks.
Calculation: Combines the rate of change (RoC) and RSI values of total market benchmarks and others.
Omega Ratio: Calculates the omega ratio to assess risk and performance.
Plots: Displays the APSI values and the risk-on signal.
Table of Global Liquidity Trend Probability
A table summarizing the current market conditions based on RSI, ALMA, and APSI.
Metrics: Shows metrics such as position, reversal likelihood, and risk status for each indicator.
Colors: The table cells are color-coded to provide quick visual cues about market conditions.
Alerts
The script includes alert conditions to notify traders when certain thresholds are met:
RSI Alerts: Notifies when RSI is in a neutral, long, or short condition.
ALMA Alerts: Notifies when ALMA signals a long or short condition.
APSI Alerts: Notifies when APSI signals a long or short condition.
Risk Alerts: Notifies when the market is in a risk-on or risk-off condition.
This indicator is designed to provide a comprehensive view of market liquidity and trends, aiding traders in making informed decisions based on a combination of technical analysis and global economic factors.
Note di rilascio
Added MACD with GLI as the source to help better spot DivergenceNote di rilascio
Added a GL TPI score, which is average score of the metrics. Where position Long = 1, Short = -1 and Neutral = 0.Note di rilascio
Added Momentum, Bollinger Bands and Stochastic Oscillator.7 Indicator TPI using GL as source. load onto a chart to compare how that asset reacts to GL.
Note di rilascio
.Note di rilascio
Added ability to plot TPINote di rilascio
Added HMA smoothing option to TPI plot.Note di rilascio
Added the ability to remove the plots, background color, or table independently. Note di rilascio
Cleaning up code.Note di rilascio
Added Beta & Correlation metrics compared to BTC for the ticker loaded on the chart. Everything else is calculated off GLI.Note di rilascio
.Note di rilascio
Added Machine Learning to the TPI with the ability to Enable/Disable it.Note di rilascio
Made the Machine Learning and HMA Smoothing False by default.Note di rilascio
.Note di rilascio
The bottom half of the table is now analysis for the ticker chart. It shows Correlation, Beta, and 3D AVG RoC for both metrics for ticker vs BTC & ETH.Note di rilascio
Fixed some basic spelling errors throughout the script.Note di rilascio
General Maintenance. Tightening up the calculations based on some backtesting.Note di rilascio
..Note di rilascio
Fixed STC table coloring conditions. Note di rilascio
Fixed some color coding errors on the table.Note di rilascio
.Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.