Triangulation : Statistically Approved ReversalsA lot of calculation, but a simple and effective result displayed on the chart.
It automatically identifies a very favorable period for a price reversal, by analyzing the daily and intraday price action statistics from the maximum of the most recent bars from the historical data. No repainting. Alerts can be set.
The statistical study is done in real time for each instrument. The probabilities therefore vary over time and adapt to the latest information collected by the indicator.
The time range of the data study can be changed by simply changing the UT :
- 30m = 3.5 last months feed statistics
- 15m = 52 last days feed statistics
- 5m = 17 last days feed statistics (recommanded)
HOW TO USE
This indicator informs when we are in a time period strongly favorable to reversal.
==> Crossing probabilities of different kinds, in price and in time => Triangulation of top and bottom !
HOW It WORK :
fractal statistics on high and low formation.
hour's probabilities of making the high/low of the day are crossed with day's probabilities of making the high/low of the week.
First for the day, we study:
- value of the probability compared to the average probabilities
- value of the coefficient between the high probability and the low probability
which we then refine for the hour, with the same calculation.
Result: bright color for a day + hour with high probability, weak color if the probability is low but remains the only possible bias. Between these two possibilities, intermediate colors are possible - just like looking for shorts if the day is bullish, if it is a high probability hour!
This color is displayed in the background, only if we are forming the high of the day for tops, and the low of the day for bottoms - detected with a stochastic.
All probabilities are studied in real time for the current asset.
We will call this signal "killstats", for "killzones statistics"
fractal statistics on the probability of closure under specific predefined levels according to 36 cycles.
the probabilities of several cycles are studied, for example:
NY session versus London and Asian sessions, London session compared to its opening, NY session compared to its opening, "algorithmic cycles" ( 1h30), Opening of NY compared to its intersection with London..
Each cycle producing a probability of closing with respect to the opening price of each period. The periods are : (Etc/UTC)
15-18h / 15-16h / 9-13h / 14-17h / 18-22h / 10-12h / 9-10h30 / 10h30-12h / 12-13h30 / 13h30-15h / 15h-16h30 / 16h30-18h
The cycles can be superimposed, which allows to support or attenuate a signal for the key periods of the day: 9am-12pm, and 3pm-6pm. The period of the day covered by the study of cycles is 9h-22h.
Result : ==> a straight line with a half bell. Colors = almost transparent for 53% probability (low), and very intense for a high probability (75%). The line displayed corresponds to the opening price, which we are supposed to close within the time limit - before the end of the period, where the line stops.
If the price goes in the opposite direction to the one predicted by the statistics, then a background connects the price to the close level to be respected.
if direction and close is respected, nothing is displayed : there is no opportunity, no divergence between statistics and actual price moves.
By unchecking the "light mode", you can see each close level displayed on the chart, with the corresponding probability and the number of times the cycle was detected. The color varies from intense for a high probability (75%), to light for a low probability (53%)
We will call this signal "cyclic anomalies"
By default, as shown in the indicator presentation image, the "intersection only" option is checked: only the intersection between 1) killstats and 2) cyclic anomalies is displayed. (filter +-30% of killstats signals)
MORE INFORMATIONS
/!\ : during a backtest, it is necessary to refresh the studied data to benefit from the real time signals, and for that you have to use the replay mode. if "Backtesting informations?"is checked, labels are displayed on the graph to warn of the % distortion of the signals. I recommend using the replay mode every 250 candles, and every 1000 candles for premium accounts, to have real signals.
- Alerts can be set for killzone, or intersections ( As in presentation picture)
- The ideal use is in m5. It can trigger several times a day, sometimes in opposite directions, and sometimes not trigger for several days.
- Premium account have 20k candles data, and not 5k => signals may vary depending on your tradingview subscription.
Cari dalam skrip untuk "Cycle"
Ehlers Adaptive Relative Strength Index (RSI) [Loxx]Ehlers Adaptive Relative Strength Index (RSI) is an implementation of RSI using Ehlers Autocorrelation Periodogram Algorithm to derive the length input for RSI. Other implementations of Ehers Adaptive RSI rely on the inferior Hilbert Transformer derive the dominant cycle.
In his book "Cycle Analytics for Traders Advanced Technical Trading Concepts", John F. Ehlers describes an implementation for Adaptive Relative Strength Index in order to solve for varying length inputs into the classic RSI equation.
What is an adaptive cycle, and what is the Autocorrelation Periodogram Algorithm?
From his Ehlers' book mentioned above, page 135:
"Adaptive filters can have several different meanings. For example, Perry Kaufman’s adaptive moving average (KAMA) and Tushar Chande’s variable index dynamic average (VIDYA) adapt to changes in volatility. By definition, these filters are reactive to price changes, and therefore they close the barn door after the horse is gone.The adaptive filters discussed in this chapter are the familiar Stochastic, relative strength index (RSI), commodity channel index (CCI), and band-pass filter.The key parameter in each case is the look-back period used to calculate the indicator.This look-back period is commonly a fixed value. However, since the measured cycle period is changing, as we have seen in previous chapters, it makes sense to adapt these indicators to the measured cycle period. When tradable market cycles are observed, they tend to persist for a short while.Therefore, by tuning the indicators to the measure cycle period they are optimized for current conditions and can even have predictive characteristics.
The dominant cycle period is measured using the autocorrelation periodogram algorithm. That dominant cycle dynamically sets the look-back period for the indicators. I employ my own streamlined computation for the indicators that provide smoother and easier to interpret outputs than traditional methods. Further, the indicator codes have been modified to remove the effects of spectral dilation.This basically creates a whole new set of indicators for your trading arsenal."
What is Adaptive RSI?
From his Ehlers' book mentioned above, page 137:
"The adaptive RSI starts with the computation of the dominant cycle using the autocorrelation periodogram approach. Since the objective is to use only those frequency components passed by the roofing filter, the variable "filt" is used as a data input rather than closing prices. Rather than independently taking the averages of the numerator and denominator, I chose to perform smoothing on the ratio using the SuperSmoother filter. The coefficients for the SuperSmoother filters have previously been computed in the dominant cycle measurement part of the code."
Happy trading!
ASI - Large-CapsAltcoin Season Indicator (ASI) — Large Caps (1D)
Purpose-built for top-tier, established altcoins (typically Top 10–30, ≳ $15B market cap) that have lived through multiple cycles and move differently than small/mid caps.
---
Why this preset:
Calibrated for large-cap behavior: longer bases, steadier trends, and fewer whipsaws.
Highlights true bottoming and genuine overheating on the daily chart—without overreacting to short-term noise.
Ideal when you want clean timing on names that dominate liquidity and follow broader cycle dynamics.
---
Usage:
Timeframe: 1D (primary).
Best fit: mature, high-cap projects (Top 10–30; ≳ $15B).
Playbook: Use Large Caps (1D) as your default for majors. If a name becomes more volatile or “mid-cap-like,” you can compare against the Mid Caps (1D) preset; for very young listings, start with Small Caps (8h) until history builds.
---
Reading:
Green zone → Entry (credible bottom formation / early uptrend)
Red zone → Exit (overheating / distribution risk)
---
Who is it for?
Investors and active traders who want disciplined, visual BUY/EXIT timing on the market’s most established altcoins—capturing the meat of the move while avoiding premature signals.
*(ASI is a timing tool, not financial advice.)*
Quarterly Theory ICT 05 [TradingFinder] Doubling Theory Signals🔵 Introduction
Doubling Theory is an advanced approach to price action and market structure analysis that uniquely combines time-based analysis with key Smart Money concepts such as SMT (Smart Money Technique), SSMT (Sequential SMT), Liquidity Sweep, and the Quarterly Theory ICT.
By leveraging fractal time structures and precisely identifying liquidity zones, this method aims to reveal institutional activity specifically smart money entry and exit points hidden within price movements.
At its core, the market is divided into two structural phases: Doubling 1 and Doubling 2. Each phase contains four quarters (Q1 through Q4), which follow the logic of the Quarterly Theory: Accumulation, Manipulation (Judas Swing), Distribution, and Continuation/Reversal.
These segments are anchored by the True Open, allowing for precise alignment with cyclical market behavior and providing a deeper structural interpretation of price action.
During Doubling 1, a Sequential SMT (SSMT) Divergence typically forms between two correlated assets. This time-structured divergence occurs between two swing points positioned in separate quarters (e.g., Q1 and Q2), where one asset breaks a significant low or high, while the second asset fails to confirm it. This lack of confirmation—especially when aligned with the Manipulation and Accumulation phases—often signals early smart money involvement.
Following this, the highest and lowest price points from Doubling 1 are designated as liquidity zones. As the market transitions into Doubling 2, it commonly returns to these zones in a calculated move known as a Liquidity Sweep—a sharp, engineered spike intended to trigger stop orders and pending positions. This sweep, often orchestrated by institutional players, facilitates entry into large positions with minimal slippage.
Bullish :
Bearish :
🔵 How to Use
Applying Doubling Theory requires a simultaneous understanding of temporal structure and inter-asset behavioral divergence. The method unfolds over two main phases—Doubling 1 and Doubling 2—each divided into four quarters (Q1 to Q4).
The first phase focuses on identifying a Sequential SMT (SSMT) divergence, which forms when two correlated assets (e.g., EURUSD and GBPUSD, or NQ and ES) react differently to key price levels across distinct quarters. For example, one asset may break a previous low while the other maintains structure. This misalignment—especially in Q2, the Manipulation phase—often indicates early smart money accumulation or distribution.
Once this divergence is observed, the extreme highs and lows of Doubling 1 are marked as liquidity zones. In Doubling 2, the market gravitates back toward these zones, executing a Liquidity Sweep.
This move is deliberate—designed to activate clustered stop-loss and pending orders and to exploit pockets of resting liquidity. These sweeps are typically driven by institutional forces looking to absorb liquidity and position themselves ahead of the next major price move.
The key to execution lies in the fact that, during the sweep in Doubling 2, a classic SMT divergence should also appear between the two assets. This indicates a weakening of the previous trend and adds an extra layer of confirmation.
🟣 Bullish Doubling Theory
In the bullish scenario, Doubling 1 begins with a bullish SSMT divergence, where one asset forms a lower low while the other maintains its structure. This divergence signals weakening bearish momentum and possible smart money accumulation. In Doubling 2, the market returns to the previous low and sweeps the liquidity zone—breaking below it on one asset, while the second fails to confirm, forming a bullish SMT divergence.
f this move is followed by a bullish PSP and a clear market structure break (MSB), a long entry is triggered. The stop-loss is placed just below the swept liquidity zone, while the target is set in the premium zone, anticipating a move driven by institutional buyers.
🟣 Bearish Doubling Theory
The bearish scenario follows the same structure in reverse. In Doubling 1, a bearish SSMT divergence occurs when one asset prints a higher high while the other fails to do so. This suggests distribution and weakening buying pressure. Then, in Doubling 2, the market returns to the previous high and executes a liquidity sweep, targeting trapped buyers.
A bearish SMT divergence appears, confirming the move, followed by a bearish PSP on the lower timeframe. A short position is initiated after a confirmed MSB, with the stop-loss placed
🔵 Settings
⚙️ Logical Settings
Quarterly Cycles Type : Select the time segmentation method for SMT analysis.
Available modes include : Yearly, Monthly, Weekly, Daily, 90 Minute, and Micro.
These define how the indicator divides market time into Q1–Q4 cycles.
Symbol : Choose the secondary asset to compare with the main chart asset (e.g., XAUUSD, US100, GBPUSD).
Pivot Period : Sets the sensitivity of the pivot detection algorithm. A smaller value increases responsiveness to price swings.
Pivot Sync Threshold : The maximum allowed difference (in bars) between pivots of the two assets for them to be compared.
Validity Pivot Length : Defines the time window (in bars) during which a divergence remains valid before it's considered outdated.
🎨 Display Settings
Show Cycle :Toggles the visual display of the current Quarter (Q1 to Q4) based on the selected time segmentation
Show Cycle Label : Shows the name (e.g., "Q2") of each detected Quarter on the chart.
Show Labels : Displays dynamic labels (e.g., “Q2”, “Bullish SMT”, “Sweep”) at relevant points.
Show Lines : Draws connection lines between key pivot or divergence points.
Color Settings : Allows customization of colors for bullish and bearish elements (lines, labels, and shapes)
🔔 Alert Settings
Alert Name : Custom name for the alert messages (used in TradingView’s alert system).
Message Frequenc y:
All : Every signal triggers an alert.
Once Per Bar : Alerts once per bar regardless of how many signals occur.
Per Bar Close : Only triggers when the bar closes and the signal still exists.
Time Zone Display : Choose the time zone in which alert timestamps are displayed (e.g., UTC).
Bullish SMT Divergence Alert : Enable/disable alerts specifically for bullish signals.
Bearish SMT Divergence Alert : Enable/disable alerts specifically for bearish signals
🔵 Conclusion
Doubling Theory is a powerful and structured framework within the realm of Smart Money Concepts and ICT methodology, enabling traders to detect high-probability reversal points with precision. By integrating SSMT, SMT, Liquidity Sweeps, and the Quarterly Theory into a unified system, this approach shifts the focus from reactive trading to anticipatory analysis—anchored in time, structure, and liquidity.
What makes Doubling Theory stand out is its logical synergy of time cycles, behavioral divergence, liquidity targeting, and institutional confirmation. In both bullish and bearish scenarios, it provides clearly defined entry and exit strategies, allowing traders to engage the market with confidence, controlled risk, and deeper insight into the mechanics of price manipulation and smart money footprints.
Alt Coin Season Indicator v2Trend Core Strategy with Alt Season Filter
This script is a comprehensive trend-following strategy designed to identify high-probability long entries for altcoins. It combines a core mean-reversion setup with a powerful, two-layer "Alt Season" filter to ensure trades are only considered when macro conditions are most favorable.
The primary goal is to enter a trade during a short-term dip (oversold RSI) but only when the broader market structure (Halving Cycle and BTC Dominance) confirms that capital is flowing into altcoins.
How It Works: The Logic
The strategy is built on two distinct layers that must align for a signal to be valid.
1. The Core Trading Setup
A potential LONG ENTRY signal is identified when a specific set of trend and momentum conditions are met:
Long-Term Trend: The price must be trading above the 200-period Slow Moving Average.
Mean Reversion Entry: The RSI must be in an oversold state (below 35).
Favorable Dominance: BTC.D must be trending down, and ETH.D must be trending up, indicating a "risk-on" environment.
2. The "Alt Season" Master Filter
This is the master switch that confirms the macro environment. A trade setup is only considered valid if the "Alt Season" filter is active. This filter has two sub-layers:
Bitcoin Halving Cycle: The script tracks the 4-year cycle and only allows signals during the two most bullish phases:
Post-Halving Accumulation (Yellow Background): The period immediately following a halving.
Parabolic Uptrend (Green Background): The primary bull market phase.
Signals are automatically disabled during the "Distribution" (Red) and "Bear Market" (Dark Red) phases.
BTC Dominance State: This defines the precise start and end of an alt season based on capital flows.
START (🚀): Alt Season becomes active when BTC.D crosses below 60%.
RESET (⚠️): The state is temporarily disabled if BTC.D reclaims 60%, acting as a warning signal.
END (🛑): The season is officially over when BTC.D crosses back above 40% from below.
On-Chart Visuals
The script provides a rich visual interface for at-a-glance analysis:
Background Colors: The chart background changes color to reflect the current Halving Cycle phase. A bright cyan overlay indicates when the "Alt Season" filter is fully active.
Dynamic Shapes:
🚀 (Rocket): Signals the start of a confirmed Alt Season. The size is dynamic—a larger rocket appears if the RSI is more deeply oversold, indicating a higher-conviction setup.
⚠️ (Warning Sign): Appears if BTC.D reclaims the 60% start level, indicating a temporary pause or "reset" of the alt season.
🛑 (Stop Sign): Marks the official end of the Alt Season.
On-Screen Table: A real-time dashboard in the top-right corner shows the status of every single condition, providing full transparency into the script's logic.
How to Use
Wait for the "Alt Season Active" (cyan) background to appear. This is your primary confirmation that macro conditions are favorable.
Look for LONG ENTRY labels. These appear when the core trading setup aligns with an active Alt Season.
Use the on-screen table to understand why a signal is or is not firing.
Set Alerts: The script includes three distinct alerts for "Alt Season Activated," "Alt Season Warning," and "Alt Season Officially Over" to keep you updated on the macro environment.
Disclaimer: This tool is for educational purposes only and should not be considered financial advice. All trading involves risk. Always conduct your own research and backtesting before making any trading decisions.
Fractal Market Model [BLAZ]Version 1.0 – Published August 2025: Initial release
1. Overview & Purpose
1.1. What This Indicator Does
The Fractal Market Model is an original multi-timeframe technical analysis tool that bridges the critical gap between macro-level market structure and micro-level price execution. Designed to work across all financial markets including Forex, Stocks, Crypto, Futures, and Commodities. While traditional Smart Money Concepts indicators exist, this implementation analyses multi-timeframe liquidity zones and price action shifts, marking potential reversal points where Higher Timeframe (HTF) liquidity sweeps coincide with Low Timeframe (LTF) price action dynamics changes.
Snapshot details: NASDAQ:GOOG , 1W Timeframe, Year 2025
1.2. What Sets This Indicator Apart
The Fractal Market Model analyses multi-timeframe correlations between HTF structural events and LTF price action. This creates a dynamic framework that reveals patterns observed historically in price behaviour that are believed to reflect institutional activity across multiple time dimensions.
The indicator recognizes that markets move in fractal cycles following the AMDX pattern (Accumulation, Manipulation, Distribution, Continuation/Reversal). By tracking this pattern across timeframes, it flags zones where price action dynamics characteristics have historically shown shifts. In the LTF, the indicator monitors for price closing through the open of an opposing candle near HTF swing highs or lows, marking this as a Change in State of Delivery (CISD), a threshold event where price action historically transitions direction.
Practical Value:
Multi-Timeframe Integration: Connects HTF structural events with LTF execution patterns.
Fractal Pattern Recognition: Identifies AMDX cycles across different time dimensions.
Price Behavior Analysis: Tracks CISD patterns that may reflect historical shifts in order flow commonly associated with institutional activity.
Range-Based Context: Analyses price action within established HTF liquidity zones.
1.3. How It Works
The indicator employs a systematic 5-candle HTF tracking methodology:
Candles 0-1: Accumulation phase identification.
Candle 2: Manipulation detection (raids previous highs/lows).
Candle 3: Distribution phase recognition.
Candle 4: Continuation/reversal toward opposite liquidity.
The system monitors for CISD patterns on the LTF when HTF manipulation candles close with confirmed sweeps, highlighting zones where order flow dynamics historically shifted within the established HTF range.
Snapshot details: FOREXCOM:AUDUSD , 1H Timeframe, 17 to 28 July 2025
Note: The Candle 0-5 and AMDX labels shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
2. Visual Elements & Components
2.1. Complete FMM Setup Overview
A fully developed Fractal Market Model setup displays multiple analytical components that work together to provide comprehensive market structure analysis. Each visual element serves a specific purpose in identifying and tracking the AMDX cycle across timeframes.
2.2. Core Visual Components
Snapshot details: FOREXCOM:EURUSD , 5 Minutes Timeframe, 27 May 2025.
Note: The numbering labels 1 to 14 shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
2.2.1. HTF Structure Elements
(1) HTF Candle Visualization: Displays the 5-candle sequence being tracked (configurable quantity up to 10).
(2) HTF Candle Labels (C2-C4): Numbered identification for each candle in the AMDX cycle.
(3) HTF Resolution Label: Shows the higher timeframe being analysed.
(4) Time Remaining Indicator: Countdown to HTF candle closure.
(5) Vertical Separation Lines: Clearly delineates each HTF candle period.
2.2.2. Key Price Levels
(6) Liquidity Levels: High/low levels from HTF candles 0 and 1 representing potential target zones.
(7) Sweep Detection Lines: Marks where previous HTF candle extremes have been breached on both HTF and LTF.
(8) HTF Candle Mid-Levels: 50% retracement levels of previous HTF candles displayed on current timeframe.
(9) Open Level Marker: Shows the opening price of the most recent HTF candle.
2.2.3. Institutional Analysis Tools
(10) CISD Line: Marks the Change in State of Delivery pattern identification point.
(11) Consequent Encroachment (CE): Mid-level of identified institutional order blocks.
(12) Potential Reversal Area (PRA): Zone extending from previous candle close to the mid-level.
(13) Fair Value Gap (FVG): Identifies imbalance areas requiring potential price revisits.
(14) HTF Time Labels: Individual time period labels for each HTF candle.
2.3. Interactive Features
All visual elements update dynamically as new price data confirms or invalidates the tracked patterns, providing real-time market structure analysis across the selected timeframe combination.
3. Input Parameters and Settings
3.1. Alert Configuration
Setup Notifications: Users can configure alerts to receive notifications when new FMM setups form based on their selected bias, timeframes, and filters. Enable this feature by:
Configure the bias, timeframes and filters and other settings as desired.
Toggle the "Alerts?" checkbox to ON in indicator settings.
On the chart, click the three dots menu beside the indicator's name or press Alt + A.
Select "Add Alert" and click “Create” to activate the alert.
3.2. Display Control Settings
3.2.1. Historical Setup Quantity
Setup Display Control: Customize how many historical setups appear on the chart, with support for up to 50 combined entries. The indicator displays both bullish and bearish FMM setups within the selected limit, including invalidated scenarios. For example, selecting "3 setups" will display the most recent combination of bullish and bearish patterns based on the model's detection logic.
Snapshot details: BINANCE:BTCUSD , 1H Timeframe, 27-Feb to 11-Mar 2025
Note: The labels “Setup 1, 2 & 3: Bullish or Bearish” shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
3.2.2. Directional Bias Filter
Bias Filter: Control which setups are displayed based on directional preference:
Bullish Only: Shows exclusively upward bias setups.
Bearish Only: Shows exclusively downward bias setups.
Balanced Mode: Displays both directional setups.
This flexibility helps align the indicator's output with broader market analysis or trading framework preferences. The chart below illustrates the same chart in 3.2.1. but when filtered to show only bullish setups.
Snapshot details: BINANCE:BTCUSD , 1H Timeframe, 27-Feb to 11-Mar 2025
Note: The labels “Setup 1, 2 & 3: Bullish” shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
3.2.3. Invalidated Setup Display
Invalidation Visibility: A setup becomes invalidated when price moves beyond the extreme high or low of the Manipulation candle (C2), indicating that the expected fractal pattern has been disrupted. Choose whether to display or hide setups that have been invalidated by subsequent price action. This feature helps maintain chart clarity while preserving analytical context:
Amber Labels: Setups invalidated at Candle 3 (C3).
Red Labels: Setups invalidated at Candle 4 (C4).
Count Preservation: Invalidated setups remain part of the total setup count regardless of visibility setting.
Below image illustrates balanced setups:
Left side: 1 bearish valid setup, with 2 invalidated setups visible.
Right side: 1 bearish valid setup, with 2 invalidated setups hidden for chart clarity.
Snapshot details: FOREXCOM:GBPJPY , 5M Timeframe, 30 July 2025
3.3. Timeframe Configuration
3.3.1. Multi-Timeframe Alignment
Custom Timeframe Selection: Configure preferred combinations of Higher Timeframe (HTF) and Lower Timeframe (LTF) for setup generation. While the indicator includes optimized default alignments (1Y –1Q, 1Q –1M, 1M –1W, 1M –1D, 1W–4H, 1D–1H, 4H-30m, 4H –15m, 1H –5m, 30m –3m, 15m –1m), users can define custom HTF-LTF configurations to suit their analysis preferences and market focus.
The image below illustrates two different HTF – LTF configuration, both on the 5 minutes chart:
Right side: Automatic multi-timeframe alignment, where the indicator autonomously sets the HTF pairing to 1H when the current chart timeframe is the 5 minutes.
Left side: Custom Timeframe enabled, where HTF is manually set to 4H, and LTF is manually set to 15 minutes, while being on the 5 minutes chart.
Snapshot details: FOREXCOM:GBPJPY , 5 minutes timeframe, 30 July 2025
3.3.2. Session-Based Filtering
Visibility Filters: Control when FMM setups appear using multiple filtering options:
Time-Based Controls:
Show Below: Limit setup visibility to timeframes below the selected threshold.
Use Session Filter: Enable session-based time window restrictions.
Session 1, 2, 3: Configure up to three custom time sessions with start and end times.
These filtering capabilities help concentrate analysis on specific market periods or timeframe contexts.
The image below illustrates the application of session filters:
Left side: The session filter is disabled, resulting in four setups being displayed throughout the day—two during the London session and two during the New York session.
Right side: The session filter is enabled to display setups exclusively within the New York session (8:00 AM – 12:00 PM). Setups outside this time window are hidden. Since the total number of setups is limited to four, the indicator backfills by identifying and displaying two qualifying setups from earlier price action that occurred within the specified New York session window.
Snapshot details: COMEX:GC1! , 5 minutes Timeframe, 29 July 2025
3.4. Annotation Systems
3.4.1. Higher Timeframe (HTF) Annotations
HTF Display Control: Enable HTF visualization using the "HTF candles" checkbox with quantity selector (default: 5 candles, expandable to 10). This displays all HTF elements detailed in the Visual Components section 2.2. above.
Customisation Categories:
Dimensions: Adjust candle offset, gap spacing, and width for optimal chart fit.
Colours: Customize body, border, and wick colours for bullish/bearish candle differentiation.
Style Options: Control line styles for HTF opens, sweep lines, and equilibrium levels.
Feature Toggles: Enable/disable Fair Value Gaps, countdown labels, and individual candle labelling.
All HTF annotation elements support individual styling controls to maintain visual clarity while preserving analytical depth. The image below shows two examples: the left side has customized styling applied, while the right side shows the default appearance.
Snapshot details: CME_MINI:NQ1! , 5 minutes Timeframe, 29 July 2025
3.4.2. Lower Timeframe (LTF) Annotations
LTF Display Control: Comprehensive annotation system for detailed execution analysis, displaying all LTF elements outlined in the Visual Components section 2.2. above.
Customization Categories:
Core Elements: Control HTF separation lines, sweep markers, CISD levels, and candle phase toggles (C2, C3, C4) to selectively show or hide the LTF annotations for each of these specific HTF candle phases.
Reference Levels: Adjust previous equilibrium lines, CISD consequent encroachment, and HTF liquidity levels.
Analysis Tools: Enable potential holding area (PHA) markers.
Styling Options: Individual visibility toggles, colour schemes, line styles, and thickness controls for each element.
All LTF components support full customization to maintain chart clarity while providing precise execution context. The image below shows two examples: the left side has customized styling applied, while the right side shows the default appearance.
Snapshot details: TVC:DXY , 5 minutes Timeframe, 28 July 2025
3.5. Performance Considerations
Higher setup counts and extended HTF displays may impact chart loading times. Adjust settings based on device performance and analysis requirements.
4. Closed-Source Protection Justification
4.1. Why This Indicator Requires Protected Source Code
The Fractal Market Model is the result of original research, development, and practical application of advanced price action frameworks. The indicator leverages proprietary algorithmic systems designed to interpret complex market behavior across multiple timeframes. To preserve the integrity of these innovations and prevent unauthorized replication, the source code is protected.
4.1.1. Key Proprietary Innovations
Real-Time Multi-Timeframe Correlation Engine: A dynamic logic system that synchronizes higher timeframe structural behaviour with lower timeframe execution shifts using custom correlation algorithms, adaptive thresholds, and time-sensitive conditions, supporting seamless fractal analysis across nested timeframes.
CISD Detection Framework: A dedicated mechanism for identifying Change in State of Delivery (CISD), where price closes through the open of an opposing candle at or near HTF swing highs or lows after liquidity has been swept. This is used to highlight potential zones of directional change based on historical order flow dynamics.
Fractal AMDX Cycle Recognition: An engineered structure that detects and classifies phases of Accumulation, Manipulation, Distribution, and Continuation/Reversal (AMDX) across configurable candle sequences, allowing traders to visualize market intent within a repeatable cycle model.
Dynamic Invalidation Logic: An automated monitoring system that continually evaluates the validity of active setups. Setups are invalidated in real time when price breaches the extreme of the manipulation phase (C2), ensuring analytical consistency and contextual alignment.
4.1.2. Community Value
The closed-source nature of this tool protects the author’s original intellectual property while still delivering value to the TradingView community. The indicator offers a complete, real-time visual framework, educational annotations, and intuitive controls for analysing price action structure and historically observed patterns commonly attributed to institutional behaviour across timeframes.
5. Disclaimer & Terms of Use
This indicator, titled Fractal Market Model , has been independently developed by the author based on their own study, interpretation, and practical application of the smart money concepts. The code and structure of this indicator are original and were written entirely from scratch to reflect the author's unique understanding and experience. This indicator is an invite-only script. It is closed-source to protect proprietary algorithms and research methodologies.
This tool is provided solely for educational and informational purposes. It is not intended—and must not be interpreted—as financial advice, investment guidance, or a recommendation to buy or sell any financial instrument. The indicator is designed to assist with technical analysis based on market structure theory but does not guarantee accuracy, profitability, or specific results.
Trading financial markets involves significant risk, including the possibility of loss of capital. By using this indicator, you acknowledge and accept that you are solely responsible for any decisions you make while using the tool, including all trading or investment outcomes. No part of this script or its features should be considered a signal or assurance of success in the market.
By subscribing to or using the indicator, you agree to the following:
You fully assume all responsibility and liability for the use of this product.
You release the author from any and all liability, including losses or damages arising from its use.
You acknowledge that past performance—real or hypothetical—does not guarantee future outcomes.
You understand that this indicator does not offer personalised advice, and no content associated with it constitutes a solicitation of financial action.
You agree that all purchases are final. Once access is granted, no refunds, reimbursements, or chargebacks will be issued under any circumstance.
You agree to not redistribute, resell, or reverse engineer the script or any part of its logic.
Users are expected to abide by all platform guidelines while using or interacting with this tool. For access instructions, please refer to the Author's Instructions section or access the tool through the verified vendor platform.
Detrended Rhythm Oscillator (DRO)How to detect the current "market beat" or market cycle?
A common way to capture the current dominant cycle length is to detrend the price and look for common rhythms in the detrended series. A common approach is to use a Detrended Price Oscillator (DPO). This is done in order to identify and isolate short-term cycles.
A basic DPO description can be found here:
www.tradingview.com
Improvements to the standard DPO
The main purpose of the standard DPO is to analyze historical data in order to observe cycle's in a market's movement. DPO can give the technical analyst a better sense of a cycle's typical high/low range as well as its duration. However, you need to manually try to "see" tops and bottoms on the detrended price and measure manually the distance from low-low or high-high in order to derive a possible cycle length.
Therefore, I added the following improvements:
1) Using a DPO to detrend the price
2) Indicate the turns of the detrended price with a ZigZag lines to better see the tops/bottoms
3) Detrend the ZigZag to remove price amplitude between turns to even better see the cyclic turns ("rhythm")
4) Measure the distance from last detrended zigzag pivot (high-high / low-low) and plot the distance in bars above/below the turn
Now, you can clearly see the rhythm of the dataset indicated by the Detrended Rhythm Oscillator including the exact length between the turns. This makes the procedure to "spot" turns and "measure" distance more simple for the trader.
How to use this information
The purpose is to check if there is a common rhythm or beat in the underlying dataset. To check that, look for recurring pattern in the numbers. E.g. if you often see the same measured distance, you can conclude that there is a major dominant cycle in this market. Also watch for harmonic relations between the numbers. So in the example above you see the highlighted cluster of detected length of around 40,80 and 120. There three numbers all have a harmonic relation to 40.
Once you have this cyclic information, you can use this number to optimize or tune technical indicators based on the current dominant cycle length. E.g. set the length parameter of a technical indicator to the detected harmonic length with the DRO indicator.
Example Use-Case
You can use this information to set the input for the following free public open-source script:
Disclaimer
This is not meant to be a technical indicator on its own and the derived cyclic length should not be used to forecast the next turn per se. The indicator should give you an indication of the current market beat or dominant beats which can be use to further optimize other oscillator or trading related settings.
Options & settings
The indicator allows to plot different versions. It allows to plot the original DPO, the DRO with ZigZag lines, the DRO with detrended ZigZag lines and length labels on/off. You can turn on or off these version in the indicator settings. So you can tweak it visually to your own needs.
Gabriel's Global Market CapGabriel's Global Market Cap is a comprehensive financial indicator designed to track and analyze the total market capitalization across multiple asset classes. It incorporates various financial markets, including stocks, bonds, real estate, cryptocurrencies, commodities, derivatives, private equity, insurance, OTC markets, and natural resources, to provide a holistic view of global market dynamics.
This indicator integrates Ehlers' Adaptive Dominant Cycle Detection and a custom VIX formula to adjust market values based on volatility and volume fluctuations, allowing for a more refined understanding of market conditions.
Key Features
✅ Multi-Market Analysis – Tracks 10+ global financial sectors, each represented by a key ETF or index.
✅ Normalization & Readability – Converts market cap values into an easy-to-read format (Millions, Billions, Trillions, Quadrillions).
✅ Volatility & Volume Adjustments – Optional VIX-based smoothing and relative volume adjustment for more dynamic readings.
✅ Ehlers’ Cycle Detection – Utilizes dominant cycle length detection to uncover market rhythms and cyclic behavior.
✅ Risk Thresholds & Background Coloring – Identifies overbought and oversold conditions with cyclic bands and background shading.
✅ Customizable Inputs – Users can toggle different market categories on/off for focused analysis.
✅ Interactive Data Table – Displays real-time values for each asset class in a structured table format.
Market Categories & Data Sources
📈 Global Stock Market – iShares MSCI ACWI ETF (ACWI)
💰 Global Bond Market – Vanguard Total World Bond ETF (BNDW)
🏡 Real Estate Market – iShares Global REIT ETF (REET)
₿ Cryptocurrency Market – Total Crypto Market Cap (CRYPTOCAP:TOTAL)
🌾 Commodities Market – Invesco DB Commodity Index Fund (DBC)
📊 Derivatives Market – CME Group (CME)
🏦 Private Equity & VC – ProShares Global Listed Private Equity ETF (PEX)
🛡️ Insurance Market – SPDR S&P Insurance ETF (KIE)
💹 OTC Markets – OTC Markets Group (OTCM)
⛽ Natural Resources – iShares Global Energy ETF (IXC)
Technical Enhancements
1️⃣ Custom Volatility Index (VIX) Calculation (Work In Progress)
Adjusts asset values based on volatility conditions using Ehlers' Cycle Detection.
Higher VIX reduces market cap, while lower VIX stabilizes it.
2️⃣ Adaptive Market Normalization
Converts absolute market values into a relative strength scale (0-100) for better visual analysis.
Uses historical min/max values to adjust dynamically.
3️⃣ Cyclic Analysis & Overbought/Oversold Levels
Detects hidden market rhythms & time cycles.
Calculates upper and lower risk bands based on dominant cycle length.
Applies background shading for visualizing low or high risk periods.
Customization Options
🔧 Enable/Disable Market Categories – Select which asset classes to track.
📊 Toggle VIX & Volume Smoothing – Adjust how market cap reacts to volatility & volume.
🎨 Cyclic Risk Bands – Highlight overbought/oversold conditions with dynamic background colors.
Visual Elements
📉 Market Cap Trends – Each category is plotted with a unique color.
🌎 Total Global Value (TGV) – A combined index representing all selected markets.
🎨 Background Coloring – Indicates high/low risk periods.
📋 Real-Time Data Table – Displays normalized & raw market cap values in an easy-to-read format.
Practical Applications
📊 Macroeconomic Analysis – Track global liquidity and investment shifts across asset classes.
💹 Volatility & Risk Assessment – Identify high-risk market conditions based on cyclic behavior.
📈 Cross-Market Comparisons – See which sectors are leading or lagging in value growth.
🔍 Crypto & Stock Market Trends – Analyze how traditional and digital assets correlate.
Regime Classifier Oscillator (AiBitcoinTrend)The Regime Classifier Oscillator (AiBitcoinTrend) is an advanced tool for understanding market structure and detecting dynamic price regimes. By combining filtered price trends, clustering algorithms, and an adaptive oscillator, it provides traders with detailed insights into market phases, including accumulation, distribution, advancement, and decline.
This innovative tool simplifies market regime classification, enabling traders to align their strategies with evolving market conditions effectively.
👽 What is a Regime Classifier, and Why is it Useful?
A Regime Classifier is a concept in financial analysis that identifies distinct market conditions or "regimes" based on price behavior and volatility. These regimes often correspond to specific phases of the market, such as trends, consolidations, or periods of high or low volatility. By classifying these regimes, traders and analysts can better understand the underlying market dynamics, allowing them to adapt their strategies to suit prevailing conditions.
👽 Common Uses in Finance
Risk Management: Identifying high-volatility regimes helps traders adjust position sizes or hedge risks.
Strategy Optimization: Traders tailor their approaches—trend-following strategies in trending regimes, mean-reversion strategies in consolidations.
Forecasting: Understanding the current regime aids in predicting potential transitions, such as a shift from accumulation to an upward breakout.
Portfolio Allocation: Investors allocate assets differently based on market regimes, such as increasing cash positions in high-volatility environments.
👽 Why It’s Important
Markets behave differently under varying conditions. A regime classifier provides a structured way to analyze these changes, offering a systematic approach to decision-making. This improves both accuracy and confidence in navigating diverse market scenarios.
👽 How We Implemented the Regime Classifier in This Indicator
The Regime Classifier Oscillator takes the foundational concept of market regime classification and enhances it with advanced computational techniques, making it highly adaptive.
👾 Median Filtering: We smooth price data using a custom median filter to identify significant trends while eliminating noise. This establishes a baseline for price movement analysis.
👾 Clustering Model: Using clustering techniques, the indicator classifies volatility and price trends into distinct regimes:
Advance: Strong upward trends with low volatility.
Decline: Downward trends marked by high volatility.
Accumulation: Consolidation phases with subdued volatility.
Distribution: Topping or bottoming patterns with elevated volatility.
This classification leverages historical price data to refine cluster boundaries dynamically, ensuring adaptive and accurate detection of market states.
Volatility Classification: Price volatility is analyzed through rolling windows, separating data into high and low volatility clusters using distance-based assignments.
Price Trends: The interaction of price levels with the filtered trendline and volatility clusters determines whether the market is advancing, declining, accumulating, or distributing.
👽 Dynamic Cycle Oscillator (DCO):
Captures cyclic behavior and overlays it with smoothed oscillations, providing real-time feedback on price momentum and potential reversals.
Regime Visualization:
Regimes are displayed with intuitive labels and background colors, offering clear, actionable insights directly on the chart.
👽 Why This Implementation Stands Out
Dynamic and Adaptive: The clustering and refit mechanisms adapt to changing market conditions, ensuring relevance across different asset classes and timeframes.
Comprehensive Insights: By combining price trends, volatility, and cyclic behaviors, the indicator provides a holistic view of the market.
This implementation bridges the gap between theoretical regime classification and practical trading needs, making it a powerful tool for both novice and experienced traders.
👽 Applications
👾 Regime-Based Trading Strategies
Traders can use the regime classifications to adapt their strategies effectively:
Advance & Accumulation: Favorable for entering or holding long positions.
Decline & Distribution: Opportunities for short positions or risk management.
👾 Oscillator Insights for Trend Analysis
Overbought/oversold conditions: Early warning of potential reversals.
Dynamic trends: Highlights the strength of price momentum.
👽 Indicator Settings
👾 Filter and Classification Settings
Filter Window Size: Controls trend detection sensitivity.
ATR Lookback: Adjusts the threshold for regime classification.
Clustering Window & Refit Interval: Fine-tunes regime accuracy.
👾 Oscillator Settings
Dynamic Cycle Oscillator Lookback: Defines the sensitivity of cycle detection.
Smoothing Factor: Balances responsiveness and stability.
Disclaimer: This information is for entertainment purposes only and does not constitute financial advice. Please consult with a qualified financial advisor before making any investment decisions.
Wall Street Cheat Sheet IndicatorThe Wall Street Cheat Sheet Indicator is a unique tool designed to help traders identify the psychological stages of the market cycle based on the well-known Wall Street Cheat Sheet. This indicator integrates moving averages and RSI to dynamically label market stages, providing clear visual cues on the chart.
Key Features:
Dynamic Stage Identification: The indicator automatically detects and labels market stages such as Disbelief, Hope, Optimism, Belief, Thrill, Euphoria, Complacency, Anxiety, Denial, Panic, Capitulation, Anger, and Depression. These stages are derived from the emotional phases of market participants, helping traders anticipate market movements.
Technical Indicators: The script uses two key technical indicators:
200-day Simple Moving Average (SMA): Helps identify long-term market trends.
50-day Simple Moving Average (SMA): Aids in recognizing medium-term trends.
Relative Strength Index (RSI): Assesses the momentum and potential reversal points based on overbought and oversold conditions.
Clear Visual Labels: The current market stage is displayed directly on the chart, making it easy to spot trends and potential turning points.
Usefulness:
This indicator is not just a simple mashup of existing tools. It uniquely combines the concept of market psychology with practical technical analysis tools (moving averages and RSI). By labeling the psychological stages of the market cycle, it provides traders with a deeper understanding of market sentiment and potential future movements.
How It Works:
Disbelief: Detected when the price is below the 200-day SMA and RSI is in the oversold territory, indicating a potential bottom.
Hope: Triggered when the price crosses above the 50-day SMA, with RSI starting to rise but still below 50, suggesting an early uptrend.
Optimism: Occurs when the price is above the 50-day SMA and RSI is between 50 and 70, indicating a strengthening trend.
Belief: When the price is well above the 50-day SMA and RSI is between 70 and 80, showing strong bullish momentum.
Thrill and Euphoria: Identified when RSI exceeds 80, indicating overbought conditions and potential for a peak.
Complacency to Depression: These stages are identified based on price corrections and drops relative to moving averages and declining RSI values.
Best Practices:
High-Time Frame Focus: This indicator works best on high-time frame charts, specifically the 1-week Bitcoin (BTCUSDT) chart. The longer time frame provides a clearer picture of the overall market cycle and reduces noise.
Trend Confirmation: Use in conjunction with other technical analysis tools such as trendlines, Fibonacci retracement levels, and support/resistance zones for more robust trading strategies.
How to Use:
Add the Indicator: Apply the Wall Street Cheat Sheet Indicator to your TradingView chart.
Analyze Market Stages: Observe the dynamic labels indicating the current stage of the market cycle.
Make Informed Decisions: Use the insights from the indicator to time your entries and exits, aligning your trades with the market sentiment.
This indicator is a valuable tool for traders looking to understand market psychology and make informed trading decisions based on the stages of the market cycle.
TASC 2022.11 Phasor Analysis█ OVERVIEW
TASC's November 2022 edition Traders' Tips includes an article by John Ehlers titled "Recurring Phase Of Cycle Analysis". This is the code that implements the phasor analysis indicator presented in this publication.
█ CONCEPTS
The article explores the use of phasor analysis to identify market trends.
An ordinary rotating phasor diagram is a two-dimensional vector, anchored to the origin, whose rotation rate corresponds to the cycle period in the price data stream. Similarly, Ehlers' phasor is a representation of angular phase rotation along the course of time. Its angle reflects the current phase of the cycle. Angles -180, -90, +90 and +180 degrees correspond to the beginning, valley, peak and end of the cycle, respectively.
If the observed cycle is very long, the market can be considered trending . In his article, John Ehlers defined trending behavior to occur when the derived instantaneous cycle period value is greater that 60 bars. The author also introduced guidelines for long and short entries in a trending state. Depending on the tuning of the indicator period input, a long entry position may occur when the phasor angle is around the approximate vicinity of −90 degrees, while a short entry position may occur when the phasor angle will be around the approximate vicinity of +90 degrees. Applying these definitive guidelines, the author proposed a state variable that is indicated by +1 for a trending long position, 0 for cycling, and −1 for a trending short position (or out).
The phasor angle, the cycle period, and the state variable are made available with three selectable display modes provided for this TradingView indicator.
█ CALCULATIONS
The calculations are carried out as follows.
First, the price data stream is correlated with cosine and sine of a fixed cycle period. This produces two new data streams that correspond to the projections of the frequency domain phasor diagram to the horizontal (so-called real ) and vertical (so-called imaginary ) axis respectively. The wavelength of the cycle period input should be set for the midrange vicinities of the phasor to coincide with the peaks and valleys of the charted price data.
Secondly, the phase angle of the phasor is easily computed as the arctangent of the ratio of the imaginary component to the real component. The difference between the current phasor values and its last is then employed to calculate a derived instantaneous period and market state. This computation is then repeated successively for each individual bar over the entire duration of the data set.
Market HackThis indicator is intended to only be used in any timeframe between the 1 minute and the 15 minute. If greater than 15 minute, or less than 1 minute, then the table will disappear!
Furthermore, this is a very simple table containing 4 varying emojis:
🔱- This is a gold crossing, indicative of bullish momentum.
💀 - This is a death crossing, indicative of bearish momentum.
🟩 - This represents a bullish cycle, which reinforces the currently active bullish momentum.
🟥 - This represents a bearish cycle, which supports an active bearish momentum.
In summary, 🔱🟩 is perfect confirmation for CALL entry, but even better when at minimum the 1m and 3m care confirmed. Similarly, 💀🟥 confirms an upcoming entry for a PUT. Bear in mind, this indicator is not meant for any financial advice and is only meant to present market direction, or at least a few specific tickers' direction with the market.
ASI - Meme-CoinsAltcoin Season Indicator (ASI) — Meme Coins (Multi-Timeframe)
Purpose-built for meme coins, which often move off-cycle, with explosive volatility and crowd-driven momentum.
---
Why this preset:
Tuned for fast, outsized swings and sharper euphoria/capitulation than standard altcoins.
Prioritizes early trend confirmation and strict overheating exits to help avoid round-trips.
Designed to keep you rational when headlines and social spikes dominate price.
---
Usage:
Timeframes: 1D for established memes; 8h for active phases/younger listings; 1h optional for event-driven bursts (expect more noise—confirm with 8h/1D).
Best fit: high-volatility meme coins with sufficient trading activity/liquidity.
---
Reading:
Green zone → Entry (credible bottoming / early impulse)
Red zone → Exit (overheating / distribution risk)
---
Who is it for?
Intermediate to advanced crypto traders who focus on memes and want a disciplined, visual BUY/EXIT framework that captures big moves while respecting risk.
*(ASI is a timing tool, not financial advice.)*
BTC Regime Phase [HY|YC|GLI]The correlation between global liquidity and INDEX:BTCUSD has attracted a lot of attention. Building on this insight, I developed an indicator that not only tracks global liquidity but also integrates the high‑yield spread and yield‑curve slope to capture credit risk and growth expectations.
Essence and Logic
At its core, the Risk‑On Composite Z‑Score converts three macro factors global liquidity momentum, the US high‑yield spread and the slope of the US yield curve into standardized Z‑scores, weights them, and tracks moving‑average crossovers. Each factor has a rationale: high‑yield spreads are powerful business‑cycle indicators and often outperform other financial variables (Gertler & Lown, 2000). Yield‑curve steepness reflects investor optimism and prompts shifts toward riskier assets global liquidity drives cross‑border flows and risk sentiment (Goldberg, 2023; Lee, 2024). Combining these measures gives a composite signal that has historically aligned well with Bitcoin’s tops and bottoms. Usable also for other crypto coins: INDEX:ETHUSD CRYPTO:SOLUSD CRYPTO:LINKUSD
Limitations and My Current Model Outlook
I want to be transparent: the three model sections are highly correlated. Currently, the high‑yield spread and yield curve data come only from the US; I may add Euro or Japanese spreads later. I’m also aware that macro dynamics are evolving. Fiscal policy and political choices could shorten bear markets and make the current sell signals less relevant. In a stagflationary world, inflation‑adjusted liquidity may swing more violently and require an asset‑inflation adjustment. Yet, the model has captured Bitcoin’s tops and bottoms almost to the week—future patterns may rhyme, not repeat.
Questions and Ideas:
Do you think this model will still be useful as fiscal and monetary regimes shift?
Should I add a stagnation modulation perhaps real yields or inflation‑adjusted liquidity—to better capture a stagflation scenario?
Are there high‑yield spreads on TV beyond the US that I should include? (Euro and Japan indices do exist.)
Would it make sense to incorporate Bitcoin halving events or a stock‑to‑flow module?
The indicator is free to use. If it brings you value, you’re welcome to follow for updates. I appreciate your support and feedback. When you are interested in the source code, feel free to contact me for more details. When you feel like supporting me with some sats, contact me and I will give you a Lightning address. I am a student and that would help a lot – but please only if you can afford it!
♡ Thanks to everyone who contributes insight on TradingView ♡
© Robinhodl21
Features: Users can enable or disable each component, adjust weights and choose a short‑tenor (1‑year or 2‑year) for the yield curve. The script automatically scales lookback windows based on the chart timeframe (daily, weekly or monthly). It offers visual plots of each Z‑score, the composite score, and smoothed moving averages, with background colours highlighting regimes and markers for entries and exits. Trade logic includes optional dip‑buy triggers when the composite falls below a threshold, Friday‑only execution on daily charts to reduce whipsaws. A trend table summarises current Z‑scores and their trends. Settings are tuned for BTC weekly data but should be adjusted for other assets or timeframes. Because some inputs (e.g., GLI weights) have limited historical data, long backtests may be less reliable when using on other Risk On Assets like NASDAQ:NDX NCDEX:COPPER
‼ Disclaimer: This indicator is for educational purposes and does not constitute investment advice. Markets involve risk; past performance is not indicative of future results. Users should not rely solely on this script for trading decisions. Always test and adapt settings to your asset, timeframe and risk tolerance. The author assumes no liability for any trading losses.
Literature:
Gertler, M., & Lown, C. S. (2000). The information in the high yield bond spread for the business cycle: Evidence and some implications. NBER Working Paper 7549.
Lee, B. (2024). Staying ahead of the yield curve. CME Group.
McCauley, R. N. (2012). Risk‑on/risk‑off, capital flows, leverage and safe assets. BIS Working Paper 382.
Goldberg, L. (2023). Global liquidity: Drivers, volatility and toolkits. Federal Reserve Bank of New York Staff Report 1064.
FRED (2025). ICE BofA Euro High Yield Index Option‑Adjusted Spread (BAMLHE00EHYIOAS). St. Louis Fed Data.
Office of Financial Research (2025). Financial Stress Index sources: High yield indices..
Tashev, T. (2025). The Bitcoin Stock‑to‑Flow Model: A comprehensive guide. Webopedia.
Bitcoin Power Law Clock [LuxAlgo]The Bitcoin Power Law Clock is a unique representation of Bitcoin prices proposed by famous Bitcoin analyst and modeler Giovanni Santostasi.
It displays a clock-like figure with the Bitcoin price and average lines as spirals, as well as the 12, 3, 6, and 9 hour marks as key points in the cycle.
🔶 USAGE
Giovanni Santostasi, Ph.D., is the creator and discoverer of the Bitcoin Power Law Theory. He is passionate about Bitcoin and has 12 years of experience analyzing it and creating price models.
As we can see in the above chart, the tool is super intuitive. It displays a clock-like figure with the current Bitcoin price at 10:20 on a 12-hour scale.
This tool only works on the 1D INDEX:BTCUSD chart. The ticker and timeframe must be exact to ensure proper functionality.
According to the Bitcoin Power Law Theory, the key cycle points are marked at the extremes of the clock: 12, 3, 6, and 9 hours. According to the theory, the current Bitcoin prices are in a frenzied bull market on their way to the top of the cycle.
🔹 Enable/Disable Elements
All of the elements on the clock can be disabled. If you disable them all, only an empty space will remain.
The different charts above show various combinations. Traders can customize the tool to their needs.
🔹 Auto scale
The clock has an auto-scale feature that is enabled by default. Traders can adjust the size of the clock by disabling this feature and setting the size in the settings panel.
The image above shows different configurations of this feature.
🔶 SETTINGS
🔹 Price
Price: Enable/disable price spiral, select color, and enable/disable curved mode
Average: Enable/disable average spiral, select color, and enable/disable curved mode
🔹 Style
Auto scale: Enable/disable automatic scaling or set manual fixed scaling for the spirals
Lines width: Width of each spiral line
Text Size: Select text size for date tags and price scales
Prices: Enable/disable price scales on the x-axis
Handle: Enable/disable clock handle
Halvings: Enable/disable Halvings
Hours: Enable/disable hours and key cycle points
🔹 Time & Price Dashboard
Show Time & Price: Enable/disable time & price dashboard
Location: Dashboard location
Size: Dashboard size
Clock&Flow MM+InfoThis script is an indicator that helps you visualize various moving averages directly on the price chart and gain some additional insights.
Here's what it essentially does:
Displays Different Moving Averages: You can choose to see groups of moving averages with different periods, set to nominal cyclical durations. You can also opt to configure them for instruments traded with classic or extended trading hours (great for Futures), and they'll adapt to your chosen timeframe.
Colored Bands: It allows you to add colored bands to the background of the chart that change weekly or daily, helping you visualize time cycles. You can customize the band colors.
Information Table: A small table appears in a corner of the chart, indicating which cycle the moving averages belong to (daily, weekly, monthly, etc.), corresponding to the timeframe you are using on the chart.
Customization: You can easily enable or disable the various groups of moving averages or the colored bands through the indicator's settings.
It's a useful tool for traders who use moving averages to identify trends and support/resistance levels, and who want a quick overview of market cycles.
Questo script è un indicatore che aiuta a visualizzare diverse medie mobili direttamente sul grafico dei prezzi e a ottenere alcune informazioni aggiuntive.
In pratica, fa queste cose:
Mostra diverse medie mobili: Puoi scegliere di vedere gruppi di medie mobili con periodi diversi impostati sulle durate cicliche nominali. Puoi scegliere se impostarle per uno strumento quotato con orario di negoziazione classico o esteso (ottimo per i Futures) e si adattano al tuo timeframe).
Bande colorate: Ti permette di aggiungere delle bande colorate sullo sfondo del grafico che cambiano ogni settimana o ogni giorno, per aiutarti a visualizzare i cicli temporali. Puoi scegliere il colore delle bande.
Tabella informativa: In un angolo del grafico, compare una piccola tabella che indica a quale ciclo appartengono le medie mobili (giornaliero, settimanale, mensile, ecc.) e corrispondono in base al timeframe che stai usando sul grafico.
Personalizzazione: Puoi facilmente attivare o disattivare i vari gruppi di medie mobili o le bande colorate tramite le impostazioni dell'indicatore.
È uno strumento utile per i trader che usano le medie mobili per identificare trend e supporti/resistenze, e che vogliono avere un colpo d'occhio sui cicli di mercato.
ICTProTools | ICT Insight - Momentum Structures🚀 INTRODUCTION
The Momentum Structures Indicator builds upon the principles of ICT (Inner Circle Trader) and Smart Money Concepts (SMC) to give traders a clearer view of market dynamics. These methods reveal how institutional trading activity shapes price movements, particularly through different types of market liquidity.
The indicator is designed to provide traders with advanced insights into market dynamics by focusing on key price imbalances and higher-timeframe structures . By combining these elements, the indicator allows users to analyze price behavior across multiple timeframes, helping them anticipate potential liquidity pools and price reversals. The emphasis on price imbalances and liquidity zones makes it a versatile tool for both intraday and longer-term strategies, providing critical insights for understanding market cycles and potential turning points.
💎 FEATURES
Imbalance Bar Colors / Zones
Imbalances are fundamental components of the ICT methodology, highlighting areas where price accelerates, creating gaps that may indicate a lack of liquidity . These voids often point to potential reversal or continuation zones in the price action.
An imbalance typically arises when supply and demand are out of balance, resulting in a gap between price levels. Traders keep a close eye on these gaps, as they could present opportunities to enter trades when the price revisits them , as they suggest a strong institutional interest.
We can notice two types of imbalances… A Fair Value Gap (FVG) usually forms from three consecutive candles, defining the space between the wicks of the first and last candle. Conversely, a Volume Imbalance (VI) occurs when a gap appears between the opening and closing prices of two consecutive candles. When these imbalances align with FVGs, they offer a well-rounded framework for assessing market strength.
By analyzing both FVGs and VIs together, traders can gain valuable insight into potential price movements and better evaluate the likelihood of continuation or reversal.
This chart illustrates the Fair Value Gaps (FVG) and Volume Imbalances (VI) within the GBPUSD price action. The FVG Bar Color and FVG Zone represent the same Fair Value Gaps, and similarly, the VI Bar Color and VI Zone display the same Volume Imbalances. They highlight areas where rapid price movements have created gaps in the market. These gaps indicate potential zones for trade entries or exits as the price may return to fill them. As we can see on the chart, the major part of imbalances created has already been filled. They constitute really interesting Point of Interest (POI).
The 50% FVG line marks the midpoint of the gap, which is often considered an important level for price action. A clear example appears in the Bearish FVG on the top left, where price first filled it below the midline, creating a small reaction. The price then liquidated this "fake mitigation" by moving just above the midline before beginning its significant downward movement. This demonstrates the crucial role of imbalances and how precisely price interacts with them.
Traders can use this information to identify potential buying or selling opportunities based on the interaction of price with these gaps and volume imbalances, aiding in the development of their trading strategies.
PO3 Candles (Power of Three)
The Power of Three is a critical concept in the ICT methodology that analyzes Higher Timeframe (HTF) candles focusing on the opening price, high wick, low wick, and closing price. This framework helps traders understand the current market cycle, in three phases , and its trading implications.
Accumulation Phase: In this initial phase, the price consolidates around the opening price as the market gathers liquidity. This often signals that larger players are positioning for the next move.
Manipulation Phase: Represented by the candle wicks, this phase indicates the extreme points where liquidity grabs often occur. Observing these wicks helps traders identify the end of the accumulation phase and potential turning points.
Distribution Phase: The candle body reflects a decisive price movement in one direction , following accumulation and manipulation. Traders align with the direction of this phase to capture the “real candle move”.
Our indicator provides you with the valuable capability to integrate the True Day Range, as defined by ICT. This concept, rooted in institutional logic, defines a trading day as starting at 00:00 New York time. You can customize it to match your trading style and analysis needs.
You can also overlay imbalances (FVG and VI) directly onto PO3 Candles, seamlessly combining imbalance detection with high-timeframe price action. This approach gives you a sharper market perspective, uncovering potential turning points with greater clarity.
In summary, PO3 Candles help traders assess the market structure and identify cycle positions on HTF candles, enabling them to make more strategic trading decisions, which allows for better entry and exit timing, avoiding traps, and seizing the best opportunities to capture significant market moves.
This chart illustrates the application of the Power of Three concept to EURUSD price action, highlighting key phases of market behavior.
In this example, we observe the Daily candles, where a significant Bullish imbalance appears from previous days, forming a Fair Value Gap (FVG). Additionally, there’s a small Volume Imbalance (VI) at the candle's opening, signaling liquidity that the price needs to fill.
Now, focusing on the Weekly candle, we can clearly identify its phases. First, there's an accumulation phase around the opening price, which, as shown by the Daily candles, took some time to develop. Then, the manipulation phase occurs, signaled by the upper wick of the Weekly candle, which liquidates the previously created accumulation. It’s time to look for a potential selling position... Finally, the price falls, beginning to form its bearish body and completing the real move of the week.
This framework allows traders to better understand the market structure and make informed decisions based on the current cycle.
Standard Deviation (STD)
The Standard Deviation (STD) is a concept within the ICT methodology that focuses on identifying periods of consolidation within the market. Specifically, it examines the Central Bank Dealers Range (CBDR) , which occurs between 13:00 and 23:00 New York time. During this period, the market often exhibits consolidation , creating an environment where price action stabilizes before making significant moves.
This consolidation forms the basis of the Standard Deviation (STD) concept. This is based on the idea that the volatility observed during this consolidation phase can be used to anticipate future market volatility. Once this consolidation is identified, the STD framework duplicates the established range both above and below the consolidation area.
As price approaches these duplicated levels, it offers traders critical information on where to anticipate potential reactions. If the price nears the upper boundary of the consolidation, it suggests a potential reversal point, indicating an opportunity to consider selling. Conversely, if the price approaches the lower boundary, it may signal an opportunity to look for buying positions . This duplication could enable traders to determine potential high and low points for the trading day or week for example.
Finally, the Standard Deviation (STD) concept provides a valuable framework for identifying potential key reaction points in the market by leveraging consolidation within the CBDR. By duplicating these ranges, traders can anticipate significant price movements and refine their strategies.
This chart illustrates the Standard Deviation (STD) concept applied to EURUSD price action. The highlighted areas in blue indicate high duplications and low duplications derived from the consolidation identified during the Central Bank Dealing Range (CBDR), marked by the dark gray rectangle.
The high duplications represent potential resistance levels, suggesting areas where the price may encounter selling pressure, while the low duplications signify potential support levels, indicating where buying interest could emerge.
The annotations emphasize how price reacts at these duplicated levels, showing the critical role of the STD in determining where price movements may stall or reverse. In this example, the price responded perfectly to both an upward and a downward duplication, confirming that these levels could represent the day's high and low, an observation validated here. This highlights the precision of price movements, with the price stopping exactly at the full duplication levels (but we can not that the price could also have paused at the midline levels, indicated by the dashed gray lines).
This visualization helps traders anticipate potential reactions and align their strategies with market dynamics, ensuring informed decision-making based on established price behavior.
✨ SETTINGS
Imbalance Bar Colors / Zones: Choose to display FVGs, VIs, or both, with customizable color settings. Choose to extend zones or set them to be removed when mitigated.
PO3 Candles: Customize the PO3 Candles for different timeframes (Daily, Weekly, Monthly), including the calculation Mode (Classic or True Day Range) and timezone associated, and set your body, border, and wick preferred colors. The Imbalance Bar Color and FVG Zones can also be displayed on these HTF candles, as they are configured in their settings.
STD: Select the timeframe on which to base it and configure the number of duplications and midline settings. You can also define the time range and timezone related to consolidation detection, giving you control over when and where the STD should apply.
🎯 CONCLUSION
The Momentum Structures Indicator combines the core principles of ICT and Smart Money Concepts to provide traders with advanced tools for understanding market dynamics. By focusing on key elements like imbalances and liquidity zones, it offers a comprehensive framework for analyzing price behavior. This indicator empowers traders to identify key market phases, anticipate potential reversals, and refine their entry and exit points with precision. While its features provide a valuable edge, it’s essential to remember that none should be used on its own and many more factors go into being a profitable trader.
Economic Seasons [Daveatt]Ever wondered what season your economy is in?
Just like Mother Nature has her four seasons, the economy cycles through its own seasons! This indicator helps you visualize where we are in the economic cycle by tracking two key metrics:
📊 What We're Tracking:
1. Interest Rates (USIRYY) - The yearly change in interest rates
2. Inflation Rate (USINTR) - The rate at which prices are rising
The magic happens when we normalize these values (fancy math that makes the numbers play nice together) and compare them to their recent averages. We use a lookback period to calculate the standard deviation and determine if we're seeing higher or lower than normal readings.
🔄 The Four Economic Seasons & Investment Strategy:
1. 🌸 Goldilocks (↑Growth, ↓Inflation)
"Not too hot, not too cold" - The economy is growing steadily without overheating.
BEST TIME TO: Buy growth stocks, technology, consumer discretionary
WHY: Companies can grow earnings in this ideal environment of low rates and stable prices
2. 🌞 Reflation (↑Growth, ↑Inflation)
"Party time... but watch your wallet!" - The economy is heating up.
BEST TIME TO: Buy commodities, banking stocks, real estate
WHY: These sectors thrive when inflation rises alongside growth
3. 🌡️ Inflation (↓Growth, ↑Inflation)
"Ouch, my purchasing power!" - Growth slows while prices keep rising.
BEST TIME TO: Rotate into value stocks, consumer staples, healthcare
WHY: These defensive sectors maintain pricing power during inflationary periods
4. ❄️ Deflation (↓Growth, ↓Inflation)
"Winter is here" - Both growth and inflation are falling.
BEST TIME TO: Focus on quality bonds, cash positions, and dividend aristocrats
WHY: Capital preservation becomes key; high-quality fixed income provides safety
🎯 Strategic Trading Points:
- BUY AGGRESSIVELY: During late Deflation/early Goldilocks (the spring thaw)
- HOLD & ACCUMULATE: Throughout Goldilocks and early Reflation
- START TAKING PROFITS: During late Reflation/early Inflation
- DEFENSIVE POSITIONING: Throughout Inflation and Deflation
⚠️ Warning Signs to Watch:
- Goldilocks → Reflation: Time to reduce growth stock exposure
- Reflation → Inflation: Begin rotating into defensive sectors
- Inflation → Deflation: Quality becomes crucial
- Deflation → Goldilocks: Start building new positions
The blue dot shows you where we are right now in this cycle.
The red arrows in the middle remind us that this is a continuous cycle - one season flows into the next, just like in nature!
💡 Pro Tip: The transitions between seasons often provide the best opportunities - but also the highest risks. Use additional indicators and fundamental analysis to confirm these shifts.
Remember: Just like you wouldn't wear a winter coat in summer, you shouldn't use a Goldilocks strategy during Inflation! Time your trades with the seasons. 🎯
Happy Trading! 📈
MeanRevert Matrix [StabTrading]MeanRevert Matrix is a sophisticated trading tool designed to detect when prices significantly deviate from their historical averages, signalling potential market trends and reversals.
Leveraging complex algorithms that incorporate human emotions and mean reversion theory, this indicator is the first stage in a comprehensive system for identifying market entry points. Its versatility allows it to be applied across all charts and timeframes, providing traders with clear visual cues for trend analysis and decision-making.
This indicator is purposefully straightforward, allowing traders to observe how the different algorithms work in confluence. The MeanRevert Matrix can be customized to fit individual trading styles, particularly in terms of aggressiveness, making it adaptable to various market conditions. Working in tandem with the FloWave Oscillator, it offers an additional layer of confluence, ensuring that trading signals are more reliable.
💡 Features
Reversal Zones - These zones are integral to the MeanRevert Matrix, highlighting areas where trader emotions and money flow suggest potential longer-term reversals. The lighter shaded zones indicate early-stage reversals, while darker shades signal stronger reversal potential. This feature is designed to help traders anticipate market shifts and prepare for them accordingly.
Localized Mean Reversion Signals - These signals are triggered when the price deviates significantly from the mean, unaffected by longer-term price movements. This localized algorithm helps traders focus on short-term market fluctuations without being influenced by broader trends.
Yellow Signals - These signals identify isolated overbought or oversold conditions. While they often indicate reversal points, they can also signal the beginning of accelerated buying or selling, giving traders early warning of potential market shifts.
Trading Style Customization - The MeanRevert Matrix allows traders to tailor their strategy by adjusting the indicator’s aggressiveness. A more aggressive setting will produce more frequent reversal signals, offering flexibility based on the trader’s risk tolerance and market outlook.
Noise Eliminator - This feature helps traders filter out market noise or manipulation by increasing the noise value. By removing unwanted or misleading signals, it ensures that traders are acting on the most reliable data.
📈 Implementing the System
Step 1 - Begin by observing the localized blue trend to identify reversal points below the mean. Green or red signals within this trend indicate that the price remains within the current market parameters, suggesting that a reversal may occur more quickly. Yellow signals, however, indicate that the trend is likely to continue, so it’s advisable to wait for clearer reversal zones to develop. To avoid misleading signals, consider using higher noise values.
Step 2 - Wait for the reversal zone algorithm to indicate a potential market reversal by showing either light or dark red/green colour. A lighter zone suggests that the overall trend is beginning to reverse, while a darker zone indicates a higher likelihood of reversal.
Step 3 - Once a reversal zone is identified, monitor the trend line for signals that the price is moving significantly away from the mean. This indicates a strong localized price movement that is poised for a reversal. At this stage, you can reduce the noise value and increase the aggressiveness of the trading style to capture more reversal signals.
🛠️ Usage/Practice
In the example above, the indicator is set with neutral aggression for buy signals and lower aggression for sell signals, reflecting the current bull market cycle
Red Reversal Zone - A bearish reversal zone emerges, followed by a darker bearish zone, indicating an increased probability of a trend reversal. The red signals show price reversion from the localized mean, but the absence of yellow signals suggests the reversion isn't abnormally aggressive, making this a good area to consider a short position.
Strong Reversal Opportunity - Similar to point 1, but this time a green signal appears within the bullish dark green zone, highlighting a strong reversal potential. Subsequent red signals suggest opportunities to take profits as the trend faces resistance.
Opportunity to Strengthen Long Position - Once again, the indicator shows a bullish reversal zone without yellow signals. This suggests an area of increased resistance at this price point, offering traders another chance to increase their long positions before the market enters the long bull cycle.
Excessive Buying Pressure - The price has deviated significantly from the mean, triggering a yellow signal. This indicates excessive buying pressure, suggesting the trend is likely to continue upward. Although not an immediate bearish area, the red sell signals suggest it could be a time to conservatively take partial profits.
Trend Weakening - As the trend slows down, bearish zones appear, indicating potential reversal points. As the market shows signs of losing upward momentum, this suggests an opportunity to reduce their long exposure or enter a short trade and take advantage of the correction in the bull cycle.
Potential for Additional Long Position - Despite the earlier sell signals, the overall uptrend remains strong. This presents an opportunity either to add to the long position or to take profits from a previous sell position. The strength of the upward trend suggests that the market may continue higher.
Abnormal Upward Momentum - Similar to points 4 and 5, the yellow signals indicate abnormal price action with aggressive upward momentum. As the trend corrects to a normal range, the price hitting a resistance level is confirmed by the appearance of red reversal zones, suggesting a potential pullback.
Sideways Market Signals - In a sideways market, the indicator shows signals that remain within the normal mean reversion range. These signals are not abnormal and suggest potential entry points for trades within a sideways market, indicating periods where the market lacks strong directional momentum.
🔶 Conclusion
With its seamless integration into various charts and timeframes, the MeanRevert Matrix stands as a reliable and adaptable tool, essential for navigating the complexities of modern markets. By following the implementation guidelines and leveraging its features, traders have the potential to effectively anticipate market movements and optimize their entry and exit points.
We developed this indicator to help traders enhance their understanding of market trends and achieve their trading objectives with greater precision.
Cyclic RegressionCyclic Regression is a new concept that uses Digital Signal Processing (DSP) to determine the regression of past and future cycles. This is a unique method of regression which has the ability to forecast into the future.
There are several ways to use this tool.
Firstly, it follows similar rules to moving averages and can be used to filter entries. Long entries should be considered when price action is above the line or the line direction is upwards. The opposite is applied for shorts, a downward direction or price action is below.
The regression line is also a strong SR (Support and Resistance) or trend line so traders can expect big moves when this line is broken or a pullback is made after the break.
Each new direction of regression signifies a new cycle so traders can plan for a possible big move when reaching the end of the line.
The Settings are not your typical length or lookback options:
The main modifier is the "Response" input, with this the frequency response for the signal processing can be adjusted. By default it is set at 5000 but this can be boosted to something like 10000 to tune it to bigger cycles.
The other modifiers include sensitivity which will fine tune the response, this can be use with in conjunction with threshold option which adjusts the threshold of the useable response.
There is also the ability to add an external sources to the signal using the source input box. This allows traders to include other sources of data such as volume or RSI.
[GYTS] Filters ToolkitFilters Toolkit indicator
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- 1. INTRODUCTION --------- 🌸
💮 Overview
The GYTS Filters Toolkit indicator is an advanced, interactive interface built atop the high‐performance, curated functions provided by the FiltersToolkit library . It allows traders to experiment with different combinations of filtering methods -— from smoothing low-pass filters to aggressive detrenders. With this toolkit, you can build custom indicators tailored to your specific trading strategy, whether you're looking for trend following, mean reversion, or cycle identification approaches.
🌸 --------- 2. FILTER METHODS AND TYPES --------- 🌸
💮 Filter categories
The available filters fall into four main categories, each marked with a distinct symbol:
🌗 Low Pass Filters (Smoothers)
These filters attenuate high-frequency components (noise) while allowing low-frequency components (trends) to pass through. Examples include:
Ultimate Smoother
Super Smoother (2-pole and 3-pole variants)
MESA Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA)
BiQuad Low Pass Filter
ADXvma (Adaptive Directional Volatility Moving Average)
A2RMA (Adaptive Autonomous Recursive Moving Average)
Low pass filters are displayed on the price chart by default, as they follow the overall price movement. If they are combined with a high-pass or bandpass filter, they will be displayed in the subgraph.
🌓 High Pass Filters (Detrenders)
These filters do the opposite of low pass filters - they remove low-frequency components (trends) while allowing high-frequency components to pass through. Examples include:
Butterworth High Pass Filter
BiQuad High Pass Filter
High pass filters are displayed as oscillators in the subgraph below the price chart, as they fluctuate around a zero line.
🌑 Band Pass Filters (Cycle Isolators)
These filters combine aspects of both low and high pass filters, isolating specific frequency ranges while attenuating both higher and lower frequencies. Examples include:
Ehlers Bandpass Filter
Cyber Cycle
Relative Vigor Index (RVI)
BiQuad Bandpass Filter
Band pass filters are also displayed as oscillators in a separate panel.
🔮 Predictive Filter
Voss Predictive Filter: A special filter that attempts to predict future values of band-limited signals (only to be used as post-filter). Keep its prediction horizon short (1–3 bars) for reasonable accuracy.
Note that the the library contains elaborate documentation and source material of each filter.
🌸 --------- 3. INDICATOR FEATURES --------- 🌸
💮 Multi-filter configuration
One of the most powerful aspects of this indicator is the ability to configure multiple filters. compare them and observe their combined effects. There are four primary filters, each with its own parameter settings.
💮 Post-filtering
Process a filter’s output through an additional filter by enabling the post-filter option. This creates a filter chain where the output of one filter becomes the input to another. Some powerful combinations include:
Ultimate Smoother → MAMA: Creates an adaptive smoothing effect that responds well to market changes, good for trend-following strategies
Butterworth → Super Smoother → Butterworth: Produces a well-behaved oscillator with minimal phase distortion, John Ehlers also calls a "roofing filter". Great for identifying overbought/oversold conditions with minimal lag.
A bandpass filter → Voss Prediction filter: Attempts to predict future movements of cyclical components, handy to find peaks and troughs of the market cycle.
💮 Aggregate filters
Arguably the coolest feature: aggregating filters allow you to combine multiple filters with different weights. Important notes about aggregation:
You can only aggregate filters that appear on the same chart (price chart or oscillator panel).
The weights are automatically normalised, so only their relative values matter
Setting a weight to 0 (zero) excludes that filter from the aggregation
Filters don't need to be visibly displayed to be included in aggregation
💮 Rich visualisation & alerts
The indicator intelligently determines whether a filter is displayed on the price chart or in the subgraph (as an oscillator) based on its characteristics.
Dynamic colour palettes, adjustable line widths, transparency, and custom fill between any of enabled filters or between oscillators and the zero-line.
A clear legend showing which filters are active and how they're configured
Alerts for direction changes and crossovers of all filters
🌸 --------- 4. ACKNOWLEDGEMENTS --------- 🌸
This toolkit builds on the work of numerous pioneers in technical analysis and digital signal processing:
John Ehlers, whose groundbreaking research forms the foundation of many filters.
Robert Bristow-Johnson for the BiQuad filter formulations.
The TradingView community, especially @The_Peaceful_Lizard, @alexgrover, and others mentioned in the code of the library.
Everyone who has provided feedback, testing and support!
WD Gann: Close Price X Bars Ago with Line or Candle PlotThis indicator is inspired by the principles of WD Gann, a legendary trader known for his groundbreaking methods in time and price analysis. It helps traders track the close price of a security from X bars ago, a technique that is often used to identify key price levels in relation to past price movements. This concept is essential for Gann’s market theories, which emphasize the relationship between time and price.
WD Gann’s analysis often revolved around specific numbers that he considered significant, many of which correspond to squared numbers (e.g., 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 576, 625, 676, 729, 784, 841, 900, 961, 1024, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936). These numbers are believed to represent natural rhythms and cycles in the market. This indicator can help you explore how past price levels align with these significant numbers, potentially revealing key price zones that could act as support, resistance, or reversal points.
Key Features:
- Historical Close Price Calculation: The indicator calculates and displays the close price of a security from X bars ago (where X is customizable). This method aligns with Gann's focus on price relationships over specific time intervals, providing traders with valuable reference points to assess market conditions.
- Customizable Plot Type: You can choose between two plot types for visualizing the historical close price:
- Line Plot: A simple line that represents the close price from X bars ago, ideal for those who prefer a clean and continuous representation.
- Candle Plot: Displays the close price as a candlestick chart, providing a more detailed view with open, high, low, and close prices from X bars ago.
- Candle Color Coding: For the candle plot type, the script color-codes the candles. Green candles appear when the close price from X bars ago is higher than the open price, indicating bullish sentiment; red candles appear when the close is lower, indicating bearish sentiment. This color coding gives a quick visual cue to market sentiment.
- Customizable Number of Bars: You can adjust the number of bars (X) to look back, providing flexibility for analyzing different timeframes. Whether you're conducting short-term or long-term analysis, this input can be fine-tuned to suit your trading strategy.
- Gann Method Application: WD Gann's methods involved analyzing price action over specific time periods to predict future movements. This indicator offers traders a way to assess how the price of a security has behaved in the past in relation to a chosen time interval, a critical concept in Gann's theories.
How to Use:
1. Input Settings:
- Number of Bars (X): Choose the number of bars to look back (e.g., 100, 200, or any custom period).
- Plot Type: Select whether to display the data as a Line or Candles.
2. Interpretation:
- Using the Line plot, observe how the close price from X bars ago compares to the current market price.
- Using the Candles plot, analyze the full price action of the chosen bar from X bars ago, noting how the close price relates to the open, high, and low of that bar.
3. Gann Analysis: Integrate this indicator into your broader Gann-based analysis. By looking at past price levels and their relationship to significant squared numbers, traders can uncover potential key levels of support and resistance or even potential reversal points. The historical close price can act as a benchmark for predicting future market movements.
Suggestions on WD Gann's Emphasis in Trading:
WD Gann’s trading methods were rooted in several key principles that emphasized the relationship between time and price. These principles are vital to understanding how the "Close Price X Bars Ago" indicator fits into his overall analysis:
1. Time Cycles: Gann believed that markets move in cyclical patterns. By studying price levels from specific time intervals, traders can spot these cycles and predict future market behavior. This indicator allows you to see how the close price from X bars ago relates to current market conditions, helping to spot cyclical highs and lows.
2. Price and Time Squaring: A core concept in Gann’s theory is that certain price levels and time periods align, often marking significant reversal points. The squared numbers (e.g., 1, 4, 9, 16, 25, etc.) serve as potential key levels where price and time might "square" to create support or resistance. This indicator helps traders spot these historical price levels and their potential relevance to future price action.
3. Geometric Angles: Gann used angles (like the 45-degree angle) to predict market movements, with the belief that prices move at specific geometric angles over time. This indicator gives traders a reference for past price levels, which could align with key angles, helping traders predict future price movement based on Gann's geometry.
4. Numerology and Key Intervals: Gann paid particular attention to numbers that held significance, including squared numbers and numbers related to the Fibonacci sequence. This indicator allows traders to analyze price levels based on these key numbers, which can help in identifying potential turning points in the market.
5. Support and Resistance Levels: Gann’s methods often involved identifying levels of support and resistance based on past price action. By tracking the close price from X bars ago, traders can identify past support and resistance levels that may become significant again in future market conditions.
Perfect for:
Traders using WD Gann’s methods, such as Gann angles, time cycles, and price theory.
Analysts who focus on historical price levels to predict future price action.
Those who rely on numerology and geometric principles in their trading strategies.
By integrating this indicator into your trading strategy, you gain a powerful tool for analyzing market cycles and price movements in relation to key time intervals. The ability to track and compare the historical close price to significant numbers—like Gann’s squared numbers—can provide valuable insights into potential support, resistance, and reversal points.
Disclaimer:
This indicator is based on the methods and principles of WD Gann and is for educational purposes only. It is not intended as financial advice. Trading involves significant risk, and you should not trade with money that you cannot afford to lose. Past performance is not indicative of future results. The use of this indicator is at your own discretion and risk. Always do your own research and consider consulting a licensed financial advisor before making any investment decisions.
Stage AnalysisStage Analysis was created by Stan Weinstein, and helps traders to identify where a stock/etf/index is in its Price Cycle.
The Price Cycle was introduced by Richard D. Wyckoff in the early 1900s, where he noted that stocks repeatedly go through a cycle of Accumulation, Markup, Distribution and Markdown. Stan Weinstein’s Stage Analysis method modified the Wyckoff Price Cycle, and converted it into four stages, which are:
Stage 1 = Accumulation
Stage 2 = Markup
Stage 3 = Distribution
Stage 4 = Markdown
Stage Analysis indicator:
Stan Weinstein had different definitions for the four stages – Stage 1: The Basing Area, Stage 2: The Advancing Phase, Stage 3: The Top Area, Stage 4: The Declining Phase. But for the purposes of the Stage Analysis indicator, you’ll note that we’ve combined Stage 1 and Stage 3, as they share numerous technical characteristics, and in our opinion, still require some discretionary judgement to determine whether they are showing accumulation or distribution characteristics.
So, we believe that neutral better describes them from a purely technical aspect, as being in Stage 3 doesn’t necessarily mean the top area, as it can still make a Stage 2 continuation breakout to new highs, instead of breaking down into Stage 4. Just as a Stage 1 basing pattern, can still make a further Stage 4 continuation breakdown, and won’t necessarily breakout into a Stage 2 advance. Hence, we display both Stage 1 and Stage 3 as Neutral, to help remove the perceived bias associated with Stage 3 and Stage 1.
So, in the indicator the Stages are displayed as three different colored backgrounds:
Blue = Stage 1 / Stage 3: Neutral
Green = Stage 2: Uptrend
Red = Stage 4: Downtrend
Stage 1 / Stage 3: Neutral (Blue background)
Stage 1 shows signs of a potential accumulation base structure developing and begins with a close above the 30-week simple moving average, when the stock is still below its (usually declining) 40-week MA as well, following a Stage 4 downtrend, and then remains in Stage 1 until either it breaks out into a Stage 2 uptrend, or returns to a Stage 4 downtrend once more. Although, there are often multiple failed breakout and breakdown attempts, which change the Stage briefly to Stage 2 or Stage 4, before reverting back into Stage 1, as the base broadens out.
The initial move into Stage 1 can occur in numerous different ways. Sometimes following a powerful rebound rally from the 52-week lows to above the 30-week MA, and at other times, after a basing period first, while the stock is still in Stage 4, and then only briefly moving into Stage 1, before breaking out into a new Stage 2 uptrend. But with all ways, there is a notable Change of Character compared to the previous Stage 4 downtrend, as supply and demand moves towards equilibrium, and the stock starts to build a more significant sideways range/base structure.
Stage 3 is the exact opposite of Stage 1, and instead of accumulation. Signs of distribution begin to appear when a stock is getting later in a Stage 2 Uptrend, with the stock first closing below its 30-week MA, and then starting to build a more significant sideways range/base structure, than the minor structures that formed when it was still trending higher in Stage 2.
It begins with a change of behaviour (i.e. a bigger correction than seen during the rest of Stage 2, that takes it below its 30-week, but still above its (usually rising) 40-week MA, and then that often broadens out into a sideways structure, with multiple swings above and below the 30-week MA, with tests of the highs and lows of the developing structure. Which can see it briefly revert to Stage 2, with failed breakout attempts at the highs (Upthrusts), or Stage 4, with failed breakdown attempts at the lows of the structure (Shakeouts or Springs).
So, Stage 1 and Stage 3 are both more neutral periods between the Stage 2 (Uptrend) and Stage 4 (Downtrend).
Stage 2: Uptrend (Green Background)
Stage 2 is the most important Stage for traders looking to buy stocks with the Stage Analysis method, and begins with a breakout from the prior Stage 1 base, but can also occur more suddenly from a V-bottom pattern or earnings gaps. In which case, it will move directly from a Stage 4 downtrend into a Stage 2 uptrend.
The move to Stage 2 requires certain technical aspects to be present, including a close above its near-term range (we use a 13-week range based on weekly closes), as well as its 200-day MA (40-week MA), and for our proprietary Stage Analysis Technical Attributes (SATA)* score to be at a least a SATA 6 of 10. And so, the change from Stage 1 to Stage 2 will often occur while the stock is still within a “broader” base structure, as the quarterly range is continually shifting, and doesn’t consider technical levels prior to that period.
The breakout point as Stage 2 begins is the Stage Analysis methods favoured entry zone for investors, as it marks the change from the Stage 1 basing period into the more dynamic Stage 2 uptrend (chart changes to green)
A secondary investor entry point can often form soon after the Stage 2 breakout, as the momentum fades from the initial rally, and it pulls back towards the breakout level, before finding support and swinging back higher into the advancing phase. So, the Stage Analysis indicator can be used to determine this secondary entry point by dropping down to an intraday timeframe – such as the 30-minute chart, and waiting for a Stage 2 breakout attempt on that much shorter timescale.
The Trader method entry points also form during the Stage 2 advance, and occur at the Stage 2 continuation breakout points of the more minor re-accumulation bases that form as the Stage 2 advance progresses higher.
Stage 4: Downtrend (Red Background)
Stage 4 is the opposite of Stage 2, and marks the beginning of a potential downtrend, as the distributional forces from Stage 3 gain control, and the stock attempts to move lower.
Stage 4 is the most important Stage for traders looking to short stocks with the Stage Analysis method, and as with Stage 2, it can also begin more suddenly following a sudden sharp decline or an earnings gap lower etc, that knifes through the key MAs and quarterly range.
The move to Stage 4 also requires certain technical aspects to be present, including a close below its near-term range (we use a 13-week range based on weekly closes), as well as its 200-day MA (40-week MA), and for our proprietary Stage Analysis Technical Attributes (SATA) score to be a maximum of a SATA 3 of 10, as if the SATA score is higher than 3, then it will still be considered as Stage 3 (blue) until that drops to a SATA 3 or lower.
The initial short entry point in Stage 4 occurs at the breakdown from Stage 3 to Stage 4 (chart changes to red), and as with Stage 2, a secondary entry point can form, but in Stage 4 it is on a potential pullback towards the breakdown level that then reverses lower once more. So, the Stage Analysis indicator can be used to determine this secondary entry point by dropping down to an intraday timeframe – such as the 30-minute chart, and waiting for a Stage 4 breakdown attempt on that much shorter timescale.
The Trader method short entry points also form during the Stage 4 decline, and occur at the Stage 4 continuation breakdown points of the more minor re-distribution bases that form as the Stage 4 decline progresses lower.
Recommended Chart Setup:
Weekly
Logarithmic scale
Recommended Indicators:
10 – Simple Moving Average
30 – Simple Moving Average
40 – Simple Moving Average (optional)
Mansfield Relative Strength (Original Version) (optional)
Stage Analysis Technical Attributes (SATA) (optional)
The Stages are intended to be used on the Weekly timeframe with a Logarithmic scale primarily, with a 10-week MA, 30-week MA and 40-week MA. But Stage Analysis can be used across multiple timeframes. So, for shorter-term swing traders, the 195-min (2bars/day), 2-hour, 1-hour, 30-min charts etc are often used with the same relative chart settings. But note that the lower the timeframe, the more noise that you’ll get, so you should always refer back to the weekly Stage to trade with the major trend.
Customise the Stage Analysis indicator
Edit colours of the Stages
Show/Hide Stages
Reference:
*Stage Analysis Technical Attributes (SATA)
The Stage Analysis Technical Attributes (SATA) scoring system is our proprietary tool which measures 10 of the key components that we look for in the Stage Analysis method to help to determine the Stage, and is made up of the following components:
Breakouts and Breakdowns
Price / Moving Averages
Relative Strength versus the S&P 500
Momentum
Volume
Overhead Resistance
Combining the SATA score with the price elements described in the Stages descriptions above, provides a Stage Analysis indicator that is faithful to Stan Weinstein's Stage Analysis method, and truly unique from other more simplistic automated versions of the Stages that you might find elsewhere.
Disclaimer: This indicator is for informational and educational purposes only. We accept no liability for any loss which may arise from the use of this indicator. All trading decisions are your own, and should be researched thoroughly, with appropriate risk management in place.
We are not affiliated with Stan Weinstein, and this is our own unique interpretation of the Stage Analysis method, based on our long experience with it.