Fractal Reversal TrackerThis script is a multi-timeframe breakout validator designed to detect and confirm true or false breakouts around key price extremes. At its core, it overlays higher timeframe (HTF) candles on the chart and synchronizes them with lower timeframe (LTF) price action for precision analysis. When a potential fake breakout occurs—specifically a fake upward breakout—the script drills down into LTF candles to locate the candle that caused the high (LTF_HIGH), then traces backward to identify the first bullish candle (FIRST_YANG) and the subsequent bearish candle (FIRST_YIN). It only confirms a valid fake breakout if a later LTF close drops below the close of that FIRST_YIN. Once validated, a confirmation line is drawn from that bearish close up to the point of breakdown. The script intelligently maintains only the most recent HTF structures and confirmation lines to avoid clutter, ensuring clarity and performance. With configurable HTF-LTF pairings and dynamic logic, it serves as a powerful tool for traders seeking to pinpoint reversals and extremes with structural confirmation.
Pesquisar nos scripts por "reversal"
Williams Fractals Ultimate (Donchian Adjusted)Williams Fractals Ultimate (Donchian Adjusted)
Understanding Williams Fractals
Williams Fractals are a simple yet powerful tool used to identify potential turning points in the market. They highlight local highs (up fractals) and local lows (down fractals) based on a set period.
An up fractal appears when a price peak is higher than the surrounding prices.
A down fractal appears when a price low is lower than the surrounding prices.
Fractals help traders spot support and resistance levels, potential trend reversals, and price breakout zones.
Why Adjust Fractals with the Donchian Channel?
The standard Williams Fractals method identifies local highs and lows without considering broader market context. This script enhances fractal accuracy by integrating the Donchian Channel, which tracks the highest highs and lowest lows over a set period.
- The Donchian Baseline is calculated as the average of the highest high and lowest low over a selected period.
- Fractals are filtered based on this baseline:
Up Fractals are only shown if they are above the Donchian baseline.
Down Fractals are only shown if they are below the Donchian baseline.
This filtering method removes weak signals and ensures that only relevant fractals aligned with market structure are displayed.
Key Features of the Script
Customizable Fractal & Donchian Periods – Allows traders to fine-tune fractal sensitivity.
Donchian-Based Filtering – Reduces noise and highlights meaningful fractals.
Fractal ZigZag Line (Optional) – Helps visualize price swings more clearly.
Why Is This So Effective?
Stronger trend signals – Filtering with the Donchian baseline eliminates unreliable fractals.
Clearer price action – The optional ZigZag line visually connects significant highs and lows.
Easy trend identification – Helps traders confirm breakout zones and key price levels.
This script is a technical analysis tool and does not guarantee profitable trades. Always combine it with other indicators and risk management strategies before making trading decisions.
One Trading Setup for Life ICT [TradingFinder] Sweep Session FVG🔵 Introduction
ICT One Trading Setup for Life is a trading strategy based on liquidity and market structure shifts, utilizing the PM Session Sweep to determine price direction. In this strategy, the market first forms a price range during the PM Session (from 13:30 to 16:00 EST), which includes the highest high (PM Session High) and lowest low (PM Session Low).
In the next session, the price first touches one of these levels to trigger a Liquidity Hunt before confirming its trend by breaking the Change in State of Delivery (CISD) Level. After this confirmation, the price retraces toward a Fair Value Gap (FVG) or Order Block (OB), which serve as the best entry points in alignment with liquidity.
In financial markets, liquidity is the primary driver of price movement, and major market participants such as institutional investors and banks are constantly seeking liquidity at key levels. This process, known as Liquidity Hunt or Liquidity Sweep, occurs when the price reaches an area with a high concentration of orders, absorbs liquidity, and then reverses direction.
In this setup, the PM Session range acts as a trading framework, where its highs and lows function as key liquidity zones that influence the next session’s price movement. After the New York market opens at 9:30 EST, the price initially breaks one of these levels to capture liquidity.
However, for a trend shift to be confirmed, the CISD Level must be broken.
Once the CISD Level is breached, the price retraces toward an FVG or OB, which serve as optimal trade entry points.
Bullish Setup :
Bearish Setup :
🔵 How to Use
In this strategy, the PM Session range is first identified, which includes the highest high (PM Session High) and lowest low (PM Session Low) between 13:30 and 16:00 EST. In the following session, the price touches one of these levels for a Liquidity Hunt, followed by a break of the Change in State of Delivery (CISD) Level. The price then retraces toward a Fair Value Gap (FVG) or Order Block (OB), creating a trading opportunity.
This process can occur in two scenarios : bearish and bullish setups.
🟣 Bullish Setup
In a bullish scenario, the PM Session High and PM Session Low are identified. In the following session, the price first breaks the PM Session Low, absorbing liquidity. This process results in a Fake Breakout to the downside, misleading retail traders into taking short positions.
After the Liquidity Hunt, the CISD Level is broken, confirming a trend reversal. The price then retraces toward an FVG or OB, offering an optimal long entry opportunity.
The initial take-profit target is the PM Session High, but if higher timeframe liquidity levels exist, extended targets can be set.
The stop-loss should be placed below the Fake Breakout low or the first candle of the FVG.
🟣 Bearish Setup
In a bearish scenario, the market first defines its PM Session High and PM Session Low. In the next session, the price initially breaks the PM Session High, triggering a Liquidity Hunt. This movement often causes a Fake Breakout, misleading retail traders into taking incorrect positions.
After absorbing liquidity, the CISD Level breaks, indicating a shift in market structure. The price then retraces toward an FVG or OB, offering the best short entry opportunity.
The initial take-profit target is the PM Session Low, but if additional liquidity exists on higher timeframes, lower targets can be considered.
The stop-loss should be placed above the Fake Breakout high or the first candle of the FVG.
🔵 Setting
CISD Bar Back Check : The Bar Back Check option enables traders to specify the number of past candles checked for identifying the CISD Level, enhancing CISD Level accuracy on the chart.
Order Block Validity : The number of candles that determine the validity of an Order Block.
FVG Validity : The duration for which a Fair Value Gap remains valid.
CISD Level Validity : The duration for which a CISD Level remains valid after being broken.
New York PM Session : Defines the PM Session range from 13:30 to 16:00 EST.
New York AM Session : Defines the AM Session range from 9:30 to 16:00 EST.
Refine Order Block : Enables finer adjustments to Order Block levels for more accurate price responses.
Mitigation Level OB : Allows users to set specific reaction points within an Order Block, including: Proximal: Closest level to the current price. 50% OB: Midpoint of the Order Block. Distal: Farthest level from the current price.
FVG Filter : The Judas Swing indicator includes a filter for Fair Value Gap (FVG), allowing different filtering based on FVG width: FVG Filter Type: Can be set to "Very Aggressive," "Aggressive," "Defensive," or "Very Defensive." Higher defensiveness narrows the FVG width, focusing on narrower gaps.
Mitigation Level FVG : Like the Order Block, you can set price reaction levels for FVG with options such as Proximal, 50% OB, and Distal.
Demand Order Block : Enables or disables bullish Order Block.
Supply Order Block : Enables or disables bearish Order Blocks.
Demand FVG : Enables or disables bullish FVG.
Supply FVG : Enables or disables bearish FVGs.
Show All CISD : Enables or disables the display of all CISD Levels.
Show High CISD : Enables or disables high CISD levels.
Show Low CISD : Enables or disables low CISD levels.
🔵 Conclusion
The ICT One Trading Setup for Life is a liquidity-based strategy that leverages market structure shifts and precise entry points to identify high-probability trade opportunities. By focusing on PM Session High and PM Session Low, this setup first captures liquidity at these levels and then confirms trend shifts with a break of the Change in State of Delivery (CISD) Level.
Entering a trade after a retracement to an FVG or OB allows traders to position themselves at optimal liquidity levels, ensuring high reward-to-risk trades. When used in conjunction with higher timeframe bias, order flow, and liquidity analysis, this strategy can become one of the most effective trading methods within the ICT Concept framework.
Successful execution of this setup requires risk management, patience, and a deep understanding of liquidity dynamics. Traders can enhance their confidence in this strategy by conducting extensive backtesting and analyzing past market data to optimize their approach for different assets.
Wick Volume AlertThis indicator is intended to find a possible price reversal and is well suited for scalping in the smaller timeframes from 1 to 15min chart. It is important to use it in conjunction with other indicators such as order blocks or price levels.
The advantage over other Wick indicators is that volume is also taken into account.
Unfortunately, the markers on the chart do not work properly as they do not attach themselves when moving vertically. I would be happy if someone could fix the problem, as I am not a professional in Pine scripting.
Exponential Avg Body Size Green vs RedDescription :
This indicator calculates and plots the Exponential Moving Average (EMA) of green and red candlestick body sizes, allowing traders to easily visualize market momentum and sentiment shifts. The script includes the following features:
Customizable EMA Period: Users can set the number of candles to calculate the EMA through an input setting, with a default value of 21.
Separate Green and Red Candle Averages: Differentiates between bullish (green) and bearish (red) candlestick movements, plotting them as distinct lines.
Dynamic Range Control: Users can adjust the chart range (e.g., -50 to 50) for better visibility of the plotted lines.
Baseline for Reference: A horizontal baseline at 0 serves as a visual aid for easier interpretation.
Standalone Indicator Pane: The script is designed to display in a separate pane, preventing overlap with the price chart.
Use Case:
This indicator is ideal for traders seeking to analyze the relative strength of bullish versus bearish price movements over a specific period. The separation of green and red averages helps identify trends, potential reversals, or shifts in momentum.
Adjustable MA & Alternating Extremities [LuxAlgo]Returns a moving average allowing the user to control the amount of lag as well as the amplitude of its overshoots thanks to a parametric kernel. The indicator displays alternating extremities and aims to provide potential points where price might reverse.
Due to user requests, we added the option to display the moving average as candles instead of a solid line.
Settings
Length: MA period, refers to the number of most recent data points to use for its calculation.
Mult: Multiplicative factor for each extremity.
As Smoothed Candles: Allows the user to show the MA as a series of candles instead of a solid line.
Show Alternating Extremities : Determines whether to display the alternating extremities or not.
Lag: Controls the amount of lag of the MA, with higher values returning a MA with more lag.
Overshoot: Controls the amplitude of the overshoots returned by the MA, with higher values increasing the amplitude of the overshoots.
Usage
Moving averages using parametric kernels allows users to have more control over characteristics such as lag or smoothness; this can greatly benefit the analyst. A moving average with reduced lag can be used as a leading moving average in a MA crossover system, while lag will benefit moving averages used as slow MA in a crossover system.
Increasing 'Lag' will increase smoothness while increasing 'overshoot' will reduce lag.
The following indicator puts more emphasis on its alternating extremities, an upper extremity will be shown once the high price crosses the upper extremity, while a low extremity will be shown once the low price crosses the lower extremity. These can be interpreted like extremities of a band indicator.
The MA using a length value of 200 with a multiplicative factor of 1.
In general, extremities will effectively return points where price might potentially bounce in ranging markets while closing prices under trending markets will often be found above an upper extremity and under a lower extremity.
Reducing the lag of the moving average allows the user to obtain a more timely estimate of the underlying trend in the price, with a better fit overall. This allows the user to obtain potentially pertinent extremities where price might reverse upon a break, even under trending markets.
In the above chart, the price initially breaks the upper extremity, however, we can observe that the upper extremity eventually reaches back the price, goes above it, provides a resistance, and effectively indicates a reversal.
Users can plot candles from the moving average, these are fairly similar to heikin-ashi candles in the sense that CandleOpen(t) ≠ CandleClose(t-1) , each point of the candle is calculated as follows for our indicator:
Open = Average between MA(t-1) and MA(t-2)
High = MA using the high price as input
Low = MA using the low price as input
Close = MA using the closing price as input
Details
Lag is defined as the effect of moving averages to reflect past price variations instead of new ones, lag can be observed by the user and is the main cause of false signals. Lag is proportional to the degree of filtering returned by the moving average.
Overshooting is a common effect encountered in non-lagging moving averages, and is defined as the tendency of a moving average to exceed a maximum level (or minimum level, which can be defined as undershooting )
MA and rolling maximum/minimum, both using a length of 50 bars. While we can think of lag as a cost of smoothness, we can think of overshooting as a cost for reduced lag on some occasions.
Explaining the kernel design behind our moving average requires understanding of the logic behind lag reduction in moving averages. This can prove to be complex for non informed users, but let's just focus on the simpler part; moving averages can be defined as a weighted sum between past prices and a set of coefficients (kernel).
MA(t) = b(0)C(t) + b(1)C(t-1) + b(2)C(t-2) + ... + b(n-1)C(t-n-1)
Where n is the period of the moving average. Lag is (non optimally) reduced by "underweighting" past prices - that is multiplying them by negative numbers.
The kernel used in our moving average is based on a modified sinewave. A weighted sum making use of a sinewave as a kernel would return an oscillator centered at 0. We can divide this sinewave by an increasing linear function in order to obtain a kernel allowing us to obtain a low lag moving average instead of a centered oscillator. This is the main idea in the design of the kernel used by our moving average.
The kernel equation of our moving average is:
sin(2πx^α)(1 - x^β)
With 1>x>0 , and where α controls the lag, while β controls the overshoot amplitude.
Using this equation we can obtain the following kernels:
Here only α is changed, while β is equal to 1. Values to the left would represent the coefficients for the most recent prices. Notice how the most significant coefficients are given to the oldest prices in the case where α increases.
Higher overshoot would require more negative values, this is controlled by β
Here only β is changed, while α is equal to 1. Notice how higher values return lower negative coefficients. This effectively increases the overshoots amplitude in our moving average. We can decrease α in order for these negative coefficients to underweight more recent values.
Using α = 0 allows us to simplify the kernel equation to:
1 - x^β
Using this kernel we can obtain more classical moving averages, this can be seen from the following results:
Using β = 1 allows us to obtain a linearly decreasing kernel (the one of a WMA), while increasing allows the kernel to converge toward a rectangular kernel (the one of SMA).
Three-Bar Reversal SignalThis indicator is a simple setup of Three Bar Reversal. Logic of the code is as below.
Rules :
Long Setup
Bar 1 closes down
Low of Bar 2 is below the low of Bar 1 (and Bar 3)
Bar 3 closes above the high of both Bar 1 and Bar 2
Buy at the close of Bar 3
Short Setup
Bar 1 closes up
High of Bar 2 is above the high of Bar 1 (and Bar 3)
Bar 3 closes below the low of both Bar 1 and Bar 2
Sell at the close of Bar 3
VWAP Bands [UAlgo]The "VWAP Bands " indicator is designed to provide traders with valuable insights into market trends and potential support/resistance levels using Volume Weighted Average Price (VWAP) bands. This indicator integrates the core concepts of VWAP with additional trend analysis features, making it a versatile tool for both range trading and trend-following strategies.
The VWAP bands are plotted based on the standard deviation multipliers, creating upper and lower bands around the VWAP. These bands serve as dynamic support and resistance levels. When the price approaches these bands, traders can anticipate potential reversals or continuations of the current trend. Additionally, the indicator provides visual cues for trend strength and potential trend changes, helping traders make informed decisions in various market conditions.
🔶 Settings
Source (Data Source): The data source for VWAP calculations. The default setting is the typical price (HLC3), which is the average of the high, low, and close prices.
Length: The number of bars used in the VWAP calculation. This determines the lookback period for the indicator.
Standard Deviation Multiplier: The multiplier applied to the standard deviation to create the primary upper and lower VWAP bands. This setting controls the distance of the bands from the VWAP.
Secondary Standard Deviation Multiplier: The multiplier applied to the standard deviation to create the secondary upper and lower VWAP bands, providing additional levels of support and resistance.
Display Trend: A toggle to enable or disable the display of the trend analysis feature. When enabled, the indicator highlights trend strength and potential trend changes.
Display Trend Crossovers: A toggle to enable or disable the display of trend crossover signals. When enabled, the indicator plots shapes to indicate where trend switches are likely occurring.
🔶 Calculations
The calculations behind the "VWAP Bands " indicator begin with determining the Volume Weighted Average Price (VWAP), which provides a comprehensive view of the average price of an asset, weighted by trading volume. This gives a more accurate representation of the asset's true average price over a specified period.
The first step in this process involves summing the trading volume over a chosen period, typically represented by the length parameter. Simultaneously, the product of the price (usually an average of the high, low, and close prices) and the trading volume is calculated and summed. By dividing this cumulative price-volume product by the total volume, we obtain the VWAP value. This VWAP serves as the central anchor around which the price action oscillates.
To enhance the utility of VWAP, we introduce standard deviation calculations. Standard deviation measures the extent of price dispersion from the VWAP, providing insight into price volatility. By calculating the variance (which involves the squared deviations of price) and then taking its square root, we derive the standard deviation. This helps in understanding how far prices typically stray from the VWAP.
With the VWAP and standard deviation in hand, we then establish upper and lower bands by adding and subtracting multiples of the standard deviation from the VWAP. These bands act as dynamic support and resistance levels, adapting to changes in market volatility. The primary bands, set by the first standard deviation multiplier, are augmented by secondary bands defined by a larger multiplier, offering additional layers of potential support and resistance.
It also integrates trend analysis, highlighting areas where the price action suggests a strong or weak trend. This is achieved by overlaying colored zones above and below the bands, indicating the strength and direction of the trend. When the price crosses these bands, it signals potential trend changes, aiding traders in making timely decisions.
🔶 Disclaimer
The "VWAP Bands " indicator is provided for educational and informational purposes only. It is not intended as financial advice and should not be construed as such.
Trading involves significant risk and may not be suitable for all investors. Before using this indicator or making any investment decisions, it is important to conduct thorough research and consider your financial situation.
Crypto Realized Profits/Losses Extremes [AlgoAlpha]🌟🚀 Introducing the Crypto Realized Profits/Losses Extremes Indicator by AlgoAlpha 🚀🌟
Unlock the potential of cryptocurrency markets with our cutting-edge On-Chain Pine Script™ indicator, designed to highlight extreme realized profit and loss zones! 🎯📈
Key Features:
✨ Realized Profits/Losses Calculation: Uses real-time data from the blockchain to monitor profit and loss realization events.
📊 Multi-Crypto Compatibility: The Indicator is compatible on other Crypto tickers besides Bitcoin.
⚙️ Customizable Sensitivity: Adjust the look-back period, normalization period, and deviation thresholds to tailor the indicator to your trading style.
🎨 Visual Enhancements: Choose from a variety of colors for up and down trends, and toggle extreme profit/loss overlay for easy viewing.
🔔 Integrated Alerts: Set up alerts for high and extreme profit or loss conditions, helping you stay ahead of significant market movements.
🔍 How to Use:
🛠 Add the Indicator: Add the indicator to favorites. Customize settings like period lengths and deviation thresholds according to your needs.
📊 Market Analysis: Monitor the main oscillator and the bands to understand current profit and loss extremes in the market. When the oscillator is at the upper band, this means that the market is doing really well and traders/investors will be likely to take profit and cause a reversal. The opposite is true when the oscillator reaches the lower band. The main oscillator can also be used for trend analysis.
🔔 Set Alerts: Configure alerts to notify you when the market enters a zone of high profit or loss, or during trend changes, enabling timely decisions without constant monitoring.
How It Works:
The indicator calculates a normalized area under the RSI curve applied on on-chain data regarding the number of wallets in profit. It employs a custom "src" variable that aggregates data from the blockchain about profit and loss addresses, adapting to intraday or longer timeframes as needed. The main oscillator plots this normalized area, while the upper and lower bands are plotted based on a deviation metric to identify extreme conditions. Colored fills between these bands visually denote these zones. For interaction, the indicator plots bubbles for extreme profits or losses and provides optional bar coloring to reflect the current market trend.
🚀💹 Enjoy a comprehensive, customizable, and visually engaging tool that helps you stay ahead in the fast-paced crypto market!
Fibonacci Ranges (Real-Time) [LuxAlgo]The "Fibonacci Ranges" indicator combines Fibonacci ratio-derived ranges (channels), together with a Fibonacci pattern of the latest swing high/low.
🔶 USAGE
The indicator draws real-time ranges based on Fibonacci ratios as well as retracements. Breakouts from a Fibonacci Channel are also indicated by labels, indicating a potential reversal.
Each range extremity/area can also be used as support/resistance.
🔶 CONCEPTS
Fibonacci Channels
Latest Fibonacci
Both, Latest Fibonacci and Fibonacci Channels , display different Fibonacci levels (labels not included in the code):
However, the 2 react in a totally different way.
🔹 Fibonacci Channels
2 conditions must be fulfilled until a Fibonacci Channel is displayed:
New swing high/low
close has to be between chosen limits/levels ( Break level )
As visual guidance, chosen Break levels are accentuated by 2 small gray blocks:
Once the channel is displayed, it will remain visible until x consecutive bars break out of the chosen Break level at closing time.
• x consecutive bars is set by Break count .
The amount of breaks is counted in the code. When the price, without breaking the user-set limit, closes back between the 2 levels, the count is reset to 0.
By enabling Channels and Shadows you can see previous channels (" Shadows ", which is always delayed with 1 bar)
Previous channels can be helpful in finding potential support/resistance areas, especially from large channel blocks
The more narrow Break levels are set the less chance the price closes between these 2 levels, and the quicker close breaks out.
In other words, narrow levels give fewer & smaller channels, broader levels give more & larger channels.
Note:
• swing settings: L & R
• Break count (x consecutive bars that close outside chosen levels to invalidate the Fibonacci Channel )
will also be of influence in displaying the channels.
• Show breaks enable you to visualize signals when there is a break:
• Alerts can also be set ( Break Down / Break Up )
🔹 Latest Fibonacci
This displays the Fibonacci levels between the latest swing high and swing low, independently from the Fibonacci Channel .
The Lastest Fibonacci can be helpful in detecting the current trend against the larger Fibonacci Channel .
🔶 SETTINGS
🔹 Swing Settings
L: set left of pivothigh / pivotlow
R: set right of pivothigh / pivotlow
🔹 Fibonacci Channels
Channel : Channel / Channels + Shadows / None
Break level
-0.382 - 1.382
0.000 - 1.000
0.236 - 0.764
0.382 - 0.618
Break count
🔹 Fibonacci
Toggle
Colours: [ -0.382 - 0 ], [ 0.236 - 0.382 ], [ 0.5 ], [ 0.618 - 0.764 ], [ 1 - 1.382 ]
Trend Channels With Liquidity Breaks [ChartPrime]Trend Channels
This simple trading indicator is designed to quickly identify and visualize support and resistance channels in any market. The primary purpose of the Trend Channels with Liquidity Breaks indicator is to recognize and visualize the dominant trend in a more intuitive and user-friendly manner.
Main Features
Automatically identifies and plots channels based on pivot highs and lows
Option to extend the channel lines
Display breaks of the channels where liquidity is deemed high
Inclusion of volume data within the channel bands (optional)
Market-friendly and customizable colors and settings for easy visual identification
Settings
Length: Adjust the length and lookback of the channels
Show Last Channel: Only shows the last channel
Volume BG: Shade the zones according to the volume detected
How to Interpret
Trend Channels with Liquidity Breaks indicator uses a combination of pivot highs and pivot lows to create support and resistance zones, helping traders to identify potential breakouts, reversals or continuations of a trend.
These support and resistance zones are visualized as upper and lower channel lines, with a dashed center line representing the midpoint of the channel. The indicator also allows you to see the volume data within the channel bands if you choose to enable this functionality. High volume zones can potentially signal strong buying or selling pressure, which may lead to potential breakouts or trend confirmations.
To make the channels more market-friendly and visually appealing, Trend Channels indicator also offers customizable colors for upper and lower lines, as well as the possibility to extend the line lengths for further analysis.
The indicator displays breaks of key levels in the market with higher volume.
Chop and Trend Index (CTI)The Chop and Trend Index (CTI) is a unique indicator that provides a different perspective on market conditions compared to traditional oscillators. It is designed to identify periods of market chop and strong trends, and it does so by combining two key components: the number of halfback taps and the strength of the trend.
The CTI is calculated by first determining the number of halfback taps over a user-defined length of time. A halfback tap occurs when the high or low of a bar reaches the midpoint (halfback level) of the previous bar. This is a measure of market chop: the more halfback taps, the choppier the market. The fewer halfback taps, the stronger the trend.
The strength of the trend is determined using the Average Directional Index (ADX), a popular trend strength indicator. The ADX is calculated based on the directional movement of the market, with higher values indicating stronger trends.
The CTI combines these two components by multiplying the normalized number of halfback taps by the ADX value. This results in an indicator that rises during strong trends with few halfback taps (either up or down) and falls during periods of market chop.
The CTI is not a directional indicator. Unlike the Relative Strength Index (RSI) or other oscillators, high values do not indicate overbought conditions, and low values do not indicate oversold conditions. Instead, high values indicate a strong trend (and possibly trend exhaustion), while low values indicate strong chop (and possibly an impending breakout in either direction).
The CTI can be used on any market and any timeframe, but it may be particularly useful on longer timeframes where periods of chop and trend are more pronounced.
The CTI includes several user inputs :
Length : This determines the number of bars over which the number of halfback taps is calculated. Increasing this value will make the CTI less sensitive to recent market conditions, while decreasing it will make the CTI more sensitive.
Normalization Window Length : This determines the number of bars over which the CTI is normalized. The CTI is normalized to a scale of 0 to 100 to make it easier to compare across different markets and timeframes.
Chop Threshold : This is the CTI value below which an alert will be triggered indicating a period of severe chop. This could signal an impending breakout and potential upcoming volatility.
Trend Exhaustion Threshold : This is the CTI value above which an alert will be triggered indicating potential trend exhaustion. This could signal a possible mean reversion.
The CTI also includes four colored threshold lines at 10, 25, 75, and 90. These thresholds can be used as a guide to identify periods of chop and trend. For example, CTI values below 10 or above 90 could indicate extreme conditions.
The CTI provides two alert conditions :
Low Threshold Crossed : This alert is triggered when the CTI falls below the user-defined Chop Threshold. This could signal a period of severe chop and the potential for upcoming volatility.
High Threshold Crossed : This alert is triggered when the CTI rises above the user-defined Trend Exhaustion Threshold. This could signal potential trend exhaustion and the possibility of mean reversion.
In conclusion, the CTI is a unique and versatile indicator that can provide valuable insights into market conditions. By identifying periods of chop and trend, it can help traders anticipate potential breakouts and reversals, and adjust their strategies accordingly.
Liquidity prints / quantifytools- Overview
Liquidity prints detect points in price where buyers or sellers are being effectively absorbed, indicative of price being on a path of resistance. In other words, the prints detect points in price where hard way is likely in current motion and easy way in the opposite. Prints with ideal attributes such as prints into extended trends or into a deviation are marked separately as print confluence. Prints with important or multiple confluence factors give further color into potential strength and duration of print influence. Liquidity prints are detected using an universally applicable method based on price action (OHLC). The prints principally work on any chart, whether that is equities, currencies, cryptocurrencies or commodities, charts with volume data or no volume data. Essentially any asset that can be considered an ordinary speculative asset. The prints also work on any timeframe, from second charts to monthly charts. Liquidity prints are activated real-time after a confirmed bar close, meaning they are not repainted and can be interacted with once a confirmation is in place.
Liquidity prints are based on the premise that price acts a certain way when sufficient liquidity is found, in other words when price shows exhaustion of some sort. A simple example of such price action are wicks, attempted moves that were rejected within the same time period where move was initiated. This type of price action typically takes place when price is close to or at meaningful amount of bids in an order book. There's no guarantee the stacked orders can't be just cleared and moved through, but at face value it does not make sense to expect price moving the hard way. When sufficient amount of characteristics in price action are hinting proximate liquidity, a print is activated. As a barometer for print feedback quality, short term impact on price rate of change and likelihood of print lows/highs being revisited during backtesting period are tracked for each print. Peak increase/decrease during backtesting period is also recorded and added to average calculations. Liquidity prints can also be backtested using any script that has a source input, including mechanic strategies utilizing Tradingview's native backtester.
Key takeaways
Liquidity prints are activated when price is showing signs of grind against path of greater resistance, leaving path of least resistance to the opposite direction.
Liquidity prints with ideal attributes are marked separately as print confluence, giving further color into print strength and duration of influence.
Liquidity prints are backtested using price rate of change, print invalidation mark and peak magnitude metrics.
Liquidity prints can be backtested and utilized in any other Tradingview script, including mechanic strategies utilizing Tradingview's native backtester.
Liquidity prints are detected using price action based methodology. They principally work on any chart or timeframe, including charts with no volume data.
Liquidity prints are activated real-time after a confirmed bar close and are not repainted.
For practical guide with practical examples, see last section.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Disclaimer
Liquidity prints are not buy/sell signals, a standalone trading strategy or financial advice. They also do not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Liquidity prints notify when a set of conditions (various reversal patterns, overextended price etc.) are in place from a purely technical standpoint. Liquidity prints should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
Liquidity print quality is backtested using metrics that reasonably depict their expected behaviour, such as historical likelihood of price slowing down or turning shortly after a print. Print quality metrics are not intended to be elaborate and perfect, but to serve as a general barometer for print feedback. Backtesting is done first and foremost to exclude scenarios where prints clearly don't work or work suboptimally, in which case they can't be considered as valid evidence. Even when print metrics indicate historical reactions of good quality, price impact can and inevitably does deviate from the expected. Past results do not guarantee future performance.
- Example charts
Chart #1: BTCUSDT
Chart #2: DXY
Chart #3: NQ futures
Chart #4: Crude oil futures
Chart #5: Custom timeframes
- Print confluence
Attributes that make prints ideal in one way or another are marked separately as print confluence, giving clue into potential strength and duration of print influence. Prints with important or multiple confluence factors can be considered as heavier and more reliable evidence of price being on a path of resistance. Users can choose which confluence to show/hide (by default all) and set a minimum amount of confluence for confluence text to activate (by default 1).
Confluence type #1: Trend extensions
Price trending for abnormally long time doesn't happen too often and requires effort to sustain. Prints taking place at extended trends often have a longer duration influence, indicating a potential larger scale topping/bottoming process being close. Trend extension confluence is indicated using a numbered label, equal to amount of bars price has been in a trending state.
Confluence type #2: Consecutive prints
Prints that take place consecutively imply heavier resistance ahead, as required conditions trigger multiple times within a short period. Consecutive prints tend to lead to more clean, aggressive and heavier magnitude reactions relative to prints with no confluence. Consecutive print confluence is indicated using a numbered label with an x in front, equal to amount of prints that have taken place consecutively.
Confluence type #3: Deviations
When price closes above/below prior print highs/lows and closes right back in with a print, odds are some market participants are stuck in an awkward position. When market participants are stuck, potential for a snowball effect of covering underwater positions is higher, driving price further away. Prints into deviations act similarly to consecutive prints, elevating potential for more aggressive reactions relative to prints with no confluence. Deviation confluence is indicated using a label with a curve symbol.
- Backtesting
Built-in backtesting is based on metrics that are considered to reasonably quantify expected behaviour of prints. Main purpose of the metrics is to form a general barometer for monitoring whether or not prints can be viewed as valid evidence. When prints are clearly not working optimally, one should adjust expectations accordingly or take action to improve print performance. To make any valid conclusions of print performance, sample size should also be significant enough to eliminate randomness effectively. If sample size on any individual chart is insufficient, one should view feedback scores on multiple correlating and comparable charts to make up for the loss.
For more elaborate backtesting, prints can be used in any other script that has a source input, including fully mechanic strategies utilizing Tradingview's native backtester. Print plots are created separately for regular prints and prints with each type of confluence.
Print feedback
Print feedback is monitored for 3 bars following a print. Feedback is considered to be 100% successful when all 3/3 bars show a supportive reaction. When 2/3 bars are supportive, feedback rate is 66%, 1/3 bars = 33% and 0/3 = 0%. After print backtesting period is finished, performance of given print is added to average calculations.
Metric #1 : Rate of change
Rate of change used for backtesting is based on OHLC4 average (open + high + low + close / 4) with a length of 3. Rate of change trending up is considered valid feedback for bullish liquidity prints, trending down for bearish liquidity prints. Note that trending rate of change does not always correlate with trending price, but sometimes simply means current trend in price is slowing down.
Metric #2 : Invalidation mark
Print invalidation marks are set at print low/high with a little bit of "wiggle room". Wiggle room applied is always 1/10th of print bar range. E.g. for a bullish print with bar range of 2%, invalidation mark is set to 0.20% below print low. For most prints this is practically at print low/high, but in the case of prints with high volatility a more noticeable excess is given, due to the expectation of greater adverse reaction without necessarily meaning invalidation. A low being above invalidation mark is considered valid feedback for bullish prints and a high being below invalidation mark for bearish prints.
Metric #3 : Peak increase/decrease
Unlike prior two metrics, peak increase/decrease is not feedback the same way, but rather an assisting factor to be viewed with feedback scores. Peak increase/decrease is measured from print close to highest high/lowest low during backtesting period and added to average calculations
Feedback scores
When liquidity prints are working optimally, quality threshold for both feedback metrics are met. By default, threshold is set to 66%, indicating valid feedback on 2/3 of backtesting periods on average. When threshold is met, a tick will appear next to feedback scores, otherwise an exclamation mark indicating suboptimal performance on either or both.
By default, the prints are filtered as little as possible, idea behind being that it is better to have more poor prints filtered with discretion/mechanically afterwards than potentially filtering too much from the get go. Sometimes filtering is insufficient, leading to failed reactions beyond a tolerable level. When this is the case, print sensitivity can be adjusted via input menu, separately for bullish and bearish prints. Print filter sensitivity ranges from 1 to 5, by default set to 1. Lower sensitivity sets looser criteria for print activation, higher sensitivity sets stricter criteria. For most charts and timeframes default sensitivity works just fine, but when this is not the case, filters can be tweaked in search of better settings. If feedback score threshold is met, it's better to keep filter sensitivity intact and use discretion, which is much more nuanced and capable than any mechanical process. If feedback scores are still insufficient after tweaking, depending on the severity of lack, prints should be vetted extra carefully using other means of analysis or simply avoided.
Verifying backtest calculations
Backtest metrics can be toggled on via input menu, separately for bullish and bearish prints. When toggled on, both cumulative and average counters used in print backtesting will appear on "Data Window" tab. Calculation states are shown at a point in time where cursor is hovered. E.g. when hovering cursor on 4th of January 2021, backtest calculations as they were during this date will be shown. Backtest calculations are updated after backtest period of a print has finished (3 bars). Assisting backtest visuals are also plotted on chart to ease inspection.
- Alerts
Available alerts are the following.
- Bullish/bearish liquidity print
- Bullish/bearish liquidity print with specified print confluence
- Bullish/bearish liquidity print with set minimum print confluence amount exceeded
- Visuals
Visual impact of prints can be managed by adjusting width and length via input menu. Length of prints is available in 3 modes (1-3 from shortest to longest) and width in 10 modes (1-10 from narrowest to widest).
Print confluence text can be embedded inside print nodes, eliminating visuals outside the chart.
Metric table is available in two themes, Classic and Stealth.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and colors are fully customizable via input menu.
-Practical guide
Key in maximizing success with prints is knowing when they are likely reliable and when not. In general, the more volatile and ranging the market regime, the better liquidity prints will work. Any type of volatile spike in price, parabola or a clean range is where liquidity prints provide optimal feedback. On the other hand low volatility and trending environments are suboptimal and tend to provide more mute/lagged or completely failed feedback. Anomalies such as market wide crashes are also environments where prints can't be expected to work reliably.
Being aware of events on multiple timeframes is crucial for establishing bias for any individual timeframe. Not often it makes sense to go against higher timeframe moves on lower timeframes and this principle of timeframe hierarchy also applies to prints. In other words, higher timeframe prints dictate likelihood of successful prints on lower timeframes. If hard way on a weekly chart is up, same likely applies to daily chart during weekly print influence time. In such scenarios, it's best to not swim in upstream and avoid contradicting lower timeframe prints, at least until clear evidence suggesting otherwise has developed.
Points in price where it anyway makes sense to favor one side over the other are key points of confluence for prints as well. Prints into clean range highs/lows with clean taps can be valuable for optimal entry timing. This is especially true if simultaneously previous pivot gets taken out, increasing odds of liquidity indicated by a print being swept stop-losses.
Prints that don't match underlying bias (e.g. bullish prints at range high, bearish prints at range low) should be avoided until clear evidence has developed favoring them, such as a convincing break through a level followed by a re-test.
Prints that are immediately rejected aggressively are more likely prints that end up failing. Next bar following a print closing below print lows/above print highs is a strong hint of print failure. To consider print still valid in such cases, there should be quick and clear defending of print lows/highs. Failed prints are an inevitable bummer, but never useless. Failed prints are ideal for future reference, as liquidity still likely exists there. Re-tests into these levels often provide sensible entries.
Stacked confluence doesn't come too often and is worth paying special attention to, as multiple benefitting factors are in place simultaneously.
From a more zoomed out perspective, any larger zone with multiple prints taking place inside are potential topping/bottoming processes taking place, also worth paying attention to.
Rainbow Collection - VioletMoving averages come in all shapes and types. The most basic type is the simple moving average which is simply the sum divided by the quantity. Therefore, the simple moving average is the sum of the values divided by their number.
In technical analysis, you generally use moving averages to understand the underlying trend and to find trading signals. In the case of the Violet indicator, we are using a Hull moving average which is a special variation based on different weights to minimize lag.
The Violet indicator is therefore used as follows:
* A bullish signal is generated whenever the close price surpasses the 20-period Hull moving average while the previous close prices from periods were all below their respective Hull moving average of the period.
*A bearish signal is generated whenever the close price breaks the 20-period Hull moving average while the previous close prices from periods were all above their respective Hull moving average of the period.
The aim of the Violet indicator is to capture reversals as early as possible through a combination of lagged conditions based on the Fibonacci sequence.
Pivots For IndicatorsThis is an overlay indicator that finds and identifies pivots. It is very sensitive so works best on smoother oscillators such as Stoch RSI. Make sure you set the source to your indicator after you overlay it. You will need to adjust the rev high and low inputs in the settings. For example Stoch RSI would have a revhigh = 80 and revlow = 20. This script is not designed to work on the chart.
Yellow = First Higher low or First Lower High
Orange = Reversal (Indicator low and high levels can be adjusted in settings.
Teal = Higher Low
Red = Lower High
Gray = Higher high or Lower Low
Return Abnormality Score [SpiritualHealer117]The Return Abnormality Score indicator is designed to help traders identify potential reversals in price by detecting abnormal daily returns beyond a certain significance level. The indicator uses a normal cumulative distribution function to calculate the probability of the daily return and flags it when it exceeds the specified significance level.
Traders can use this indicator by monitoring the abnormality score. If the daily return is negative, the probability is multiplied by a negative number. Therefore, if the abnormality score goes above the positive threshold, it suggests that the price is oversold, while if it goes below the negative threshold, it indicates that the price is overbought. It can also be helpful for spotting bear or bull traps due to their irregular behavior.
Depending on the trader's preference, the indicator can be smoothed or unsmoothed.
This indicator should be paired with other technical analysis tools like SSL Hybrid for trend confirmation, and proper risk management strategies.
Cosmic GravityCosmic Gravity draws dynamic non-repainting trendlines and helps
⭐ know when to scalp
⭐ predict the position and timing of the next major reversal
⭐ predict sudden changes in volatility
⭐ recognize if the trend is bearish or bullish
👀 HOW IT WORKS
Cosmic Gravity draws a dynamic channel consisting of a basis line and several support and resistance levels for low/medium/high volatility situations, as defined by the Inner Channel and 2 Outer Channel plots respectively. The script achieves this by reducing a large number of select moving averages, their multiples, and other trend levels into a single basis line and deriving the remaining plots off of it using ATR and probability-constant multiples. The basis line color is determined by its smoothed vector similar to how our Cosmic Vector indicator paints its plot. The aim of this indicator is to provide a consistent and generic price context that works out-of-the-box; accordingly a single static average period is used throughout and the settings have been stripped to the bare minimum with no need to ever update them.
📗 HOW TO USE IT
Cosmic Gravity's channel levels are meant to be used as a guide for entering and exiting positions and setting stop-loss and take profit levels. The indicator is deemed effective for any particular timeframe as long as the price stays within the maximum bounds of the indicator's plots. For this reason it is recommended to use Cosmic Gravity in a multi-chart layout where each chart has a different timeframe. The 5 primary strategies are:
long when the price reverses off of an Outer Channel support level and short when the price reverses off of an Outer Channel resistance level
long when the price crosses above the basis line after being below it for a prolonged period and vice-versa (short when the price trend moves below the basis line)
long when the basis line color turns blue after being pink for a prolonged period and visa-versa (short when the basis line color turns pink)
long/short in the direction the price takes when it goes outside the Magnetic Gravity channel when this channel is in a tight squeeze
scalp as the price bounces between the Inner Channel levels (do this only while the price is contained inside the Inner Channel )
🔔 SMART ALERTS
Get notified at the most critical times with a single alert. Simply select Cosmic Gravity - Any alert() function call as the condition when creating an alert and you will be tipped-off on bar-close as follows:
RR↘ (price close crossed below Outer Channel R6 plot)
RR↗ (price high crossed above Outer Channel R6 plot)
R└ (price low entered R channel from above)
R┘ (price high exited R channel from above)
R┐ (price high exited R channel from below)
R┌ (price high entered R channel from below)
B↘ (price high crossed below Basis plot)
B↗ (price low crossed above Basis plot)
B╮ ( Basis vector turned negative)
B╯ ( Basis vector turned positive)
S└ (price low entered S channel from above)
S┘ (price low exited S channel from above)
S┐ (price low exited S channel from below)
S┌ (price high entered S channel from below)
SS↘ (price low crossed below Outer Channel S6 plot)
SS↗ (price close crossed above Outer Channel S6 plot)
For example, an alert such as Cosmic Gravity 6H R┐ B↘ means that during the last 6-hour bar the price exited the R channel from below and also crossed below the basis line.
🚩 DISCLAIMER
The information we create and publish here is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors.
RSI Exhaustion + DivergenceThe Relative Strength Index Exhaustion with Divergence is an essential replacement of the standard Relative Strength Index Oscillator because it's able to identify and highlight hidden exhaustions together with Bullish/Bearish Regular and Hidden Divergences.
This indicator can give the outmost probability in spotting trend reversals or trend continuation.
By identifying hidden exhaustion momentum, the Relative Strength Index Exhaustion indicator represents an essential support to the trader in effectively reading the market and grabbing the best opportunities.
This detects divergences between price and indicator with 1 candle delay so it filters out repeating divergences.
Recommended to use this at a higher timeframe to lessen the false signals.
Red Arrow = Bullish/Bearish Divergence
White Arrow = Hidden Bullish/Bearish Divergence
Candle Wick Patterns Alerts & Liquidity TargetsCandle wicks provide incredibly useful confluence and confirmation of price action and technical analysis.
Quite simply a wick is formed by price being moved to an extreme by one side, then price being pushed back by the other side.
This can show increased pressure by one side, reduced or increased momentum, or exhaustion by another side.
This indicator while simple, is extremely powerful and versatile and can be set up to recognize numerous types of candle wick and therefore suit numerous trading styles.
The settings as to how wicks are highlighted are:
- Timeframe - view wicks on a higher timeframe while trading on a lower timeframe
- Minimum Wick to Body Ratio - increasing this value will look for wicks who are at least n times larger than the candle body. The most obvious examples here are Doji's - hammer, gravestone, dragonfly, etc. These can indicate trend reversals, indecision and changing momentum.
- Minimum Candle Body as percent of price - this value makes sure that any wick highlighted, belongs to a candle with a body that is at least n% of the price. A higher value is likely to show price momentum is stronger in a particular direction, good for confirming a trend.
- Minimum Candle Wick as percent of price - similar to candle bodies, this value will make sure the candle wick is at least n% of the price. This will identify large fluctuations in price, and if you are familiar with smart money concepts, an increasingly popular strategy is to target 50% of the wick being filled (liquidity).
- Show half fill level of wick - As above, this can provide a good target, which price will be drawn to, depending on the wick.
Finally, the indicator can be used to create alerts when a new wick that meets your settings criteria, is formed.
And don't forget you can add the indicator multiple times, with different settings to cover multiple scenarios and timeframes!
William Blau Ergodic Tick Volume Indicator (TVI) [Loxx]William Blau Ergodic Tick Volume Indicator (TVI) is a volume/volatility indicator that is used for finding reversals in price movement
What is William Blau Ergodic Tick Volume?
This is one of the techniques described by William Blau in his book "Momentum, Direction and Divergence" (1995). If you like to learn more, we advise you to read this book. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.
William Blau's definition of TVI ergodicity is that the indictor is ergodic when periods are set to 32, 5, 1, and the signal is set to 5. Other combinations are not ergodic, according to Blau.
How to use TVI
TVI bar color change is a signal to enter the market. When the TVI changes from yellow to red, it is a signal to buy and if the TVI bar changes from blue to green, it is a signal to sell.
Just like the MACD and TRIX, the zero line on the indicator determines market sentiment and trend. If the TVI bars are above the zero line it's bullish and if the TVI bars are below the zero line the trend is bearish. Zero line crosses can be used to determine continuation and trend entries as well.
Included
Bar coloring
35+ moving averages for both TVI and the signal
Infiten's Price Percentage Oscillator Channel (PPOC Indicator)What is the script used for?
Infiten's Price Percentage Oscillator (PPOC Indicator) can be used as a contrarian indicator for volatile stocks and futures to indicate reversals, areas of support and resistance. For longer term trading, if the Short SMA or prices go above the High PPO Threshold line, it is a sign that the asset is overbought, whereas prices or the Short SMA going below the Low PPO Threshold line indicates that the asset is oversold.
What lines can be plotted?
Low PPO Thresh - Calculated as -PPO Threshold * Short MA + Long MA : Gives the price below which the PPO hits your lower threshold
High PPO Thresh - Calculated as PPO Threshold * Short MA + Long MA : Gives the price above which the PPO hits your upper threshold
MA PPO : Plots candles with the Low PPO Thresh as the low, High PPO Thresh as the high, Short MA as the open, and Long MA as the close.
Short SMA : plots the short simple moving average
Long SMA : plots the long simple moving average
Customizable Values :
Short MA Length : the number of bars back used to calculate the short moving average for a PPO
Long MA Length : the number of bars back used to calculate the long moving average for a PPO
PPO Threshold : the percent difference from the moving average expressed as a decimal (0.5 = 50%)
Recommendations:
Longer timeframes like 300 days are best with larger PPO Thresholds, I recommend using a PPO Threshold of 0.5 or higher. For shorter timeframes like 14 days I recommend setting smaller PPO Thresholds, like 0.3 or lower. I find that these values typically capture the most extremes in price action.
[SKP] Opening Range Reversals with FIBO zonesopening range reversal zones with fibo .50, .618, .786, 1 levels
opening range time can set as you like, 15M, 30M etc
entry at .50 and .618 levels with stop loss .786 and 1 levels.
do backtest and practice..
idea from author colejustice
Consecutive Color Reversal for Binary Option TradingThis indicator is only for Binary Option trading. It alerts when a specific number of consecutive same color candlesticks are generated and it signals for a reversal. As an example, when it signals "Long", a long trade should be opened for a few of next candlesticks (upto 2 to 3 candles).
Random Walk ReversalUses the Random Walk script as a tool for predicting trend reversals instead of trend strength.