OPEN-SOURCE SCRIPT
已更新 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.
版本注释
Added MACD with GLI as the source to help better spot Divergence版本注释
Added a GL TPI score, which is average score of the metrics. Where position Long = 1, Short = -1 and Neutral = 0.版本注释
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.
版本注释
.版本注释
Added ability to plot TPI版本注释
Added HMA smoothing option to TPI plot.版本注释
Added the ability to remove the plots, background color, or table independently. 版本注释
Cleaning up code.版本注释
Added Beta & Correlation metrics compared to BTC for the ticker loaded on the chart. Everything else is calculated off GLI.版本注释
.版本注释
Added Machine Learning to the TPI with the ability to Enable/Disable it.版本注释
Made the Machine Learning and HMA Smoothing False by default.版本注释
.版本注释
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.版本注释
Fixed some basic spelling errors throughout the script.版本注释
General Maintenance. Tightening up the calculations based on some backtesting.版本注释
..版本注释
Fixed STC table coloring conditions. 版本注释
Fixed some color coding errors on the table.版本注释
.开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。