Blockchain Fundamentals: Liquidity Cycle MomentumLiquidity Cycle Momentum Indicator
Overview:
This indicator analyzes global liquidity trends by calculating a unique Liquidity Index and measuring its year-over-year (YoY) percentage change. It then applies a momentum oscillator to the YoY change, providing insights into the cyclical momentum of liquidity. The indicator incorporates a limited historical data workaround to ensure accurate calculations even when the chart’s history is short.
Features Breakdown:
1. Limited Historical Data Workaround
Function: The limit(length) function adjusts the lookback period when there isn’t enough historical data (i.e., near the beginning of the chart), ensuring that calculations do not break due to insufficient data.
2. Global Liquidity Calculation
Data Sources:
TVC:CN10Y (10-year yield from China)
TVC:DXY (US Dollar Index)
ECONOMICS:USCBBS (US Central Bank Balance Sheet)
FRED:JPNASSETS (Japanese assets)
ECONOMICS:CNCBBS (Chinese Central Bank Balance Sheet)
FRED:ECBASSETSW (ECB assets)
Calculation Methodology:
A ratio is computed (cn10y / dxy) to adjust for currency influences.
The Liquidity Index is then derived by multiplying this ratio with the sum of the other liquidity components.
3. Year-over-Year (YoY) Percent Change
Computation:
The indicator determines the number of bars that approximately represent one year.
It then compares the current Liquidity Index to its value one year ago, calculating the YoY percentage change.
4. Momentum Oscillator on YoY Change
Oscillator Components:
1. Calculated using the Chande Momentum Oscillator (CMO) applied to the YoY percent change with a user-defined momentum length.
2. A weighted moving average (WMA) that smooths the momentum signal.
3. Overbought and Oversold zones
Signal Generation:
Buy Signal: Triggered when the momentum crosses upward from an oversold condition, suggesting a potential upward shift in liquidity momentum.
Sell Signal: Triggered when crosses below an overbought condition, indicating potential downward momentum.
State Management:
The indicator maintains a state variable to avoid repeated signals, ensuring that a new buy or sell signal is only generated when there’s a clear change in momentum.
5. Visual Presentation and Alerts
Plots:
The oscillator value and signalline are plotted for visual analysis.
Overbought and oversold levels are marked with dashed horizontal lines.
Signal Markers:
Buy and sell signals are marked with green and maroon circles, respectively.
Background Coloration:
Optionally, the chart’s background bars are colored (yellow for buy signals and fuchsia for sell signals) to enhance visual cues when signals are triggered.
Conclusion
In summary, the Liquidity Cycle Momentum Indicator provides a robust framework to analyze liquidity trends by combining global liquidity data, YoY changes, and momentum oscillation. This makes it an effective tool for traders and analysts looking to identify cyclical shifts in liquidity conditions and potential turning points in the market.
Btccycle
Leonid's Bitcoin Full Cycle Simple SMA IndicatorThis is a straight-forward and customizable indicator to track Bitcoin cycles, specifically used for helping investors understand where to buy and sell. This is done by using a two year SMA period as the base calculation. With that calculation you create lower and upper bounds for bull market peaks and bear market bottoms.
The novel idea here is that you can customize the SMA "strength" for both the upper and lower bounds as alpha decays over time and price get's less volatile with adoption increasing. The multiples are customizable for both the upper and lower bounds along with a mid-line that will adjust based on the settings input.
Indicators don't always have to rely on crazy math or outlandish ideas to be useful, sometimes even the simplest of inputs can give investors (especially those that are new) a great base case for their strategy. Something being simple does not diminish the idea or strength behind the data.
How to use this indicator: This script must be used on INDEX:BTCUSD (Bitcoin All-Time History Index) with the y-axis being set to Logarithmic scale.
Details & how to interpret: The price is colored green when Bitcoin enters a "value zone" meaning it is heavily oversold and likely near a bottom for the bear market cycle. The price is colored red when Bitcoin enters an "overbought zone" meaning it is heavily overbought and is likely near a top for the bull market cycle.
Along with the upper and lower bound I have plotted a mid-line (in orange) to establish a neutral zone which helps depict what phase of the cycle we're in (under mid-line = bearish/accumulation phase, over mid-line = bullish/distribution phase).
The inputs for the upper and lower bound are customizable and will need to be adjusted over time as alpha decay will occur as time goes on. Currently the numbers are as follows:
0.2 for the lower bound
4.675 for the upper bound
Both inputs can be modified depending on your risk tolerance. Mathematically it is safe to assume these numbers will decrease as time goes on and volatility during cycle peaks & troughs is reduced.
I've also plotted an upper bound "heat zone" which is shaded in green, this area is great for signaling when you should be preparing to begin taking profits. It takes the upper bound and subtracts the lower bound to derive the band.
All the colors are customizable and this indicator is best used on a line chart but can be customized to use on a bar chart/candlestick as well.
Simple Moving Averages are a very basic indicator but are often extremely powerful because the majority of traders/investors are looking at such levels which creates a psychological/herd effect. Another good example is the law of round numbers.
Regardless this script can be adapted with EMAs or additional standard deviations if necessary. If you have any questions or concerns please don't hesitate to message me.
Accumulation/Distribution Bands & Signals (BTC, 1D, BITSTAMP) This is an accumulation/distribution indicator for BTC/USD (D) based on variations of 1400D and 120D moving averages and logarithmic regression. Yellow plot signals Long Term Accumulation, which is based on 1400D (200W) ALMA, orange plot signals Mid Term Accumulation and is based on 120D ALMA, and finally the red plot signals Long Term Distribution that's based on log regression. It should be noted that for red plot to work BTC 1D BITSTAMP graph must be used, because the function of the logarithmic regression was modified according to the x axis of the BITSTAMP data.
Signal bands have different coefficients; long term accumulation (yellow) and and the log regression (red) plots have the highest coefficients and mid term accumulation (orange) has the lowest coefficients. Coefficients are 6x, 3x and 1.5x for the red (sell) and yellow (buy) plots and 1x, 2x and 3x for the orange (buy) plot. Selling coefficient for the yellow and the orange plots are respectively 2x and 1x. Buy and sell signals are summed up accordingly and plotted at the top of the highest band.
Acknowledgement: Credits for the logarithmic regression function are due @memotyka9009 and Benjamin Cowen