Structure Level IndicatorThis indicator draws solid lines to show Structure based levels as they form.
When those levels are no longer valid, they turn into dashed lines.
Use it to visualize market structure and spot areas of interest.
Support
Essa - Multi-Timeframe LevelsEnhanced Multi‐Timeframe Levels
This indicator plots yearly, quarterly and monthly highs, lows and midpoints on your chart. Each level is drawn as a horizontal line with an optional label showing “ – ” (for example “Apr 2025 High – 1.2345”). If two or more timeframes share the same price (within two ticks), they are merged into a single line and the label lists each timeframe.
A distance table can be shown in any corner of the chart. It lists up to five active levels closest to the current closing price and shows for each level:
level name (e.g. “May 2025 Low”)
exact price
distance in pips or points (calculated according to the instrument’s tick size)
percentage difference relative to the close
Alerts can be enabled so that whenever price comes within a user-specified percentage of any level (for example 0.1 %), an alert fires. Once price decisively crosses a level, that level is marked as “broken” so it does not trigger again. Built-in alertcondition hooks are also provided for definite breaks of the current monthly, quarterly and yearly highs and lows.
Monthly lookback is configurable (default 6 months), and once the number of levels exceeds a cap (calculated as 20 + monthlyLookback × 3), the oldest levels are automatically removed to avoid clutter. Line widths and colours (with adjustable opacity for quarterly and monthly) can be set separately for each timeframe. Touches of each level are counted internally to allow future extension (for example visually emphasising levels with multiple touches).
Swing High Low By RSThis indicator helps you visually identify important support and resistance levels based on recent swing highs and lows in the market — automatically and with clarity.
Many traders struggle with figuring out where to buy or sell, or where price might reverse. This tool solves that by marking those critical turning points for you.
🧠 What It Does:
It looks at recent price action to find swing highs (where price temporarily peaked) and swing lows (where price temporarily bottomed).
When a new swing point is found, the indicator draws a horizontal line on your chart.
These lines act as support (green) or resistance (red) levels — key zones where price has reacted before.
✨ Unique Feature – Limited Line Length:
Unlike other indicators that draw lines all the way to the right edge of the screen, this one keeps things clean and focused by extending lines only for a limited number of candles (default: 50).
This means:
Less clutter on your chart.
You focus only on the most relevant and recent levels.
📊 How to Use It:
Support Levels (Green Lines)
These form after a swing low is detected. They often act as buy zones or bounce areas when price comes down.
Resistance Levels (Red Lines)
These form after a swing high is detected. They often act as sell zones or rejection areas when price goes up.
Trading Strategy
Use the lines as reference to plan entries, exits, and stop-losses.
Combine with price action, candlestick patterns, or other indicators (like RSI, moving averages) for confirmation.
Works great on any timeframe and across all markets — Forex, Crypto, Stocks, Commodities, etc.
📌 Customizable Settings:
Adjust how many candles are checked before identifying a swing.
Control how far each line stretches (how many bars it should stay visible).
👥 Best For:
Beginner to advanced traders
Price action traders
Scalpers, intraday traders, and swing traders
Anyone who wants to trade clean charts without drawing levels manually
This is your go-to tool for identifying powerful support and resistance levels based on actual market structure — not just math or indicators. It saves time, reduces noise, and increases confidence in your trade decisions.
Enjoy...
Breakout of inclined trendline [Drobode]█ DESCRIPTION
The script is designed to automatically detect a possible trendline breakout under the conditions of the popular "Slanted Trendline Breakout" strategy. The algorithm assumes that during the movement the price approaches the slanted (trend) line several times. With each subsequent approach (touch) to the trend line, the price consolidates more and more near this line, the distances between the extremes (touches) decrease, which indicates a high probability of a breakout of this line. The script checks the number of touches (approaches) of the extremes and the distances between the extremes. If all conditions are met, the script draws a slanted (trend) line in the corresponding area and an arrow with a possible price breakout direction. The length of the arrow is half the height of the slanted (trend) line and may indicate the level (price) at which it is advisable to fix the profit. In the script, you can enable or disable additional analysis periods (history length, number of bars), the more periods are enabled, the slower the script may load. For example, when placing the script on M-15, we can additionally enable the period 300 or 500, which will allow us to take into account a larger number of historical bars, and this can be considered as the extremes of the older timeframe. The script calculates each period separately, so one large period will not be able to take into account and analyze smaller periods. You can set the percentage deviation of the distance of the extremes from the trend line that touch the inclined line, depending on your needs and style of technical analysis. The smaller the percentage, the more accurate and closer to the inclined line the price extreme should be and vice versa. The main goal of the script is to facilitate the trader's routine work of identifying a possible trend line breakout. However, it should be understood that the script is not a full-fledged self-sufficient strategy, in case of receiving a signal, it is recommended to additionally conduct a comprehensive thorough analysis before taking trading actions. The script can be useful for traders of all levels, both beginners and experienced analysts. Like any other strategy or script, this script can work better on some instruments than on others. When analyzing trading setups, it is desirable to have a clear trend, it is recommended to take into account the signal of this script with a small period when the arrow shows the direction of the trend. However, at the same time, it is necessary to deeply analyze many other factors at this stage, in particular, such as volumes, consolidation, volatility, candlestick patterns, etc.
█ SCRIPT SETTINGS
By default, the script was developed and tested on medium timeframes with cryptocurrency futures instruments USDT.P
Alert
The Alert function in the script is enabled by default, you just need to activate Alert in the TradingView window and select the signal source - Breakout of inclined trendline .
The notification provides the following information (example):
Possible breakout to the upside
Ticker- DOGEUSDT.P
Price- 0.15844
Timeframe- 30
Period length- 377
Periods length
The script allows you to set the length of the period (number of bars) for which the calculation will be performed. Different periods allow you to cover more timeframes (in particular, larger timeframes). You can change up to 4 periods at a time. However, if you choose too large periods, the script may slow down and the loading time will increase. To increase the loading speed of the script, disable additional periods 3, 4, i.e. uncheck the corresponding checkboxes and use only fields 1 and 2 for periods, where you can also set the period length you need.
Percentage deviation of extremes from the trend line
The next settings are the percentage deviation of the extremes from the sloping line. The smaller the deviation, the more accurate and closer to the line the extreme bars should be, however, in this case the number of identification signals will be smaller. By default, the rejection zone is - 0.15%. On larger timeframes, the deviation can be set to be larger.
Gann Single SwingGann Single Swing Indicator
The Gann Single Swing indicator is a sophisticated tool rooted in the geometric and cyclical market analysis principles pioneered by William Delbert Gann. Designed for traders who value deep market structure analysis, this indicator leverages the interplay of price and time to identify key support and resistance zones, potential reversal points, and critical price-time synchronization areas. Its unique approach makes it an invaluable instrument for those employing Gann-based methodologies or seeking a systematic way to decode complex market dynamics.
What It Does
The Gann Single Swing indicator is built to pinpoint high-probability zones for price action, such as support and resistance levels, where traders can logically initiate long or short positions. By analyzing a user-defined price swing (a move between two selected points, such as a local high and low), the indicator constructs a geometric framework that reveals hidden patterns in market movements. It identifies:
Support and Resistance Zones: Key price levels where the market is likely to reverse or consolidate.
Temporal Reversal Zones: Specific time periods where price reversals are more probable due to time-price resonance.
Price-Time Synchronization Points: Areas where price and time align to signal potential market turning points.
How It Works
The indicator’s algorithm is grounded in Gann’s geometric principles, focusing on the relationship between price movements and time cycles. Here’s a high-level overview of its process:
Swing Selection: Traders select two key points on the chart (e.g., a local minimum and maximum) to define a price swing.
Channel Construction: The swing is encapsulated within a dynamic channel, forming the foundation of the geometric model.
Gann Fan Application: A Gann Fan is applied to the channel to calculate critical angles, representing the balance between price and time. These angles help identify resonant points that align with the channel’s central axis.
Squared Channel Analysis: The algorithm creates “squared” channels, geometrically derived sub-structures, analyzed for intersections and alignments to project external support and resistance zones beyond the base swing.
Internal Zone Mapping: Within the base swing, a reverse Gann Fan maps internal zones, highlighting areas of price-time convergence that may act as dynamic support or resistance.
Zone Projection: The indicator synthesizes these calculations to plot precise zones of support, resistance, and potential reversals, both spatially (price levels) and temporally (time-based zones).
While the exact mathematical formulations remain proprietary, the indicator relies on time-tested Gann techniques, such as angle-based analysis and cyclical resonance, to deliver actionable insights.
How to Use It
Select the Swing: Identify two significant points on the chart (e.g., a recent high and low) to define the swing. These points serve as the anchor for the indicator’s calculations.
Interpret the Zones: The indicator plots support and resistance zones (both price-based and time-based). Look for price action near these zones to identify potential entry or exit points.
Combine with Other Tools: For best results, use alongside other Gann-based tools (e.g., Gann Squares or Time Cycles) or traditional technical analysis (e.g., trendlines, Fibonacci levels) to confirm signals.
Monitor Temporal Zones: Pay attention to time-based reversal zones, as they may indicate when a price move is likely to occur, enhancing trade timing.
Why It’s Unique
Unlike conventional indicators that rely on moving averages, RSI, or other common metrics, the Gann Single Swing indicator offers a proprietary blend of Gann’s geometric and cyclical principles. Its ability to integrate price and time into a cohesive model sets it apart, providing traders with a deeper understanding of market structure. The indicator does not use public domain code or standard technical indicators, ensuring originality and value for traders seeking advanced tools.
Who It’s For
This indicator is ideal for:
Traders familiar with Gann’s methodologies who want to automate and enhance their geometric analysis.
Advanced traders looking to uncover hidden market patterns through price-time relationships.
Those seeking a robust, non-traditional tool for identifying high-probability trade setups.
The Gann Single Swing indicator is not a black-box forecasting tool but a powerful framework for dissecting market behavior. By combining user-defined inputs with sophisticated geometric calculations, it empowers traders to make informed decisions based on the timeless principles of Gann’s market philosophy.
TrueTrend MaxRThe TrueTrend MaxR indicator is designed to identify the most consistent exponential price trend over extended periods. It uses statistical analysis on log-transformed prices to find the trendline that best fits historical price action, and highlights the most frequently tested or traded level within that trend channel.
For optimal results, especially on high timeframes such as weekly or monthly, it is recommended to use this indicator on charts set to logarithmic scale. This ensures proper visual alignment with the exponential nature of long-term price movements.
How it works
The indicator tests 50 different lookback periods, ranging from 300 to 1280 bars. For each period, it:
- Applies a linear regression on the natural logarithm of the price
- Computes the slope and intercept of the trendline
- Calculates the unbiased standard deviation from the regression line
- Measures the correlation strength using Pearson's R coefficient
The period with the highest Pearson R value is selected, meaning the trendline drawn corresponds to the log-scale trend with the best statistical fit.
Trendline and deviation bands
Once the optimal period is identified, the indicator plots:
- A main log-scale trendline
- Upper and lower bands, based on a user-defined multiple of the standard deviation
These bands help visualize how far price deviates from its core trend, and define the range of typical fluctuations.
Point of Control (POC)
Inside the trend channel, the space between upper and lower bands is divided into 15 logarithmic levels. The script evaluates how often price has interacted with each level, using one of two selectable methods:
- Touches: Counts the number of candles crossing each level
- Volume: Weighs each touch by the traded volume at that candle
The level with the highest cumulative interaction is considered the dynamic Point of Control (POC), and is plotted as a line.
Annualized performance and confidence display
When used on daily or weekly timeframes, the script also calculates the annualized return (CAGR) based on the detected trend, and displays:
- A performance estimate in percentage terms
- A textual label describing the confidence level based on the Pearson R value
Why this indicator is useful
- Automatically detects the most statistically consistent exponential trendline
- Designed for log-scale analysis, suited to long-term investment charts
- Highlights key price levels frequently visited or traded within the trend
- Provides objective, data-based trend and volatility insights
- Displays annualized growth rate and correlation strength for quick evaluation
Notes
- All calculations are performed only on the last bar
- No future data is used, and the script does not repaint
- Works on any instrument or timeframe, with optimal use on higher timeframes and logarithmic scaling
TCT - Envelope MatrixTCT - Envelope Matrix
A powerful multi-envelope indicator that creates a comprehensive price channel system with 4 customizable envelopes and multiple intermediate levels for precise price action analysis.
Key Features:
• 4 customizable envelopes with adjustable percentages (0.2%, 0.4%, 0.6%, 0.8% by default)
• Optional EMA or SMA basis calculation
• Color-coded bands for easy visual identification
• Automatic horizontal lines showing current band values
• Midpoint lines between adjacent bands
• Additional 25%, 50%, and 75% levels between each band pair
The indicator provides:
- Clear visual representation of price channels
- Multiple support and resistance levels
- Dynamic price boundaries that adapt to market conditions
- Enhanced precision with intermediate levels between bands
Perfect for:
• Identifying potential support and resistance zones
• Spotting overbought/oversold conditions
• Finding potential reversal points
• Analyzing price volatility and channel width
• Making informed trading decisions based on price position relative to multiple bands
Customization Options:
• Adjustable length for the basis calculation
• Choice between EMA and SMA
• Customizable colors for each envelope
• Flexible percentage settings for each band
• Optional basis line color adjustment
This indicator is particularly useful for traders who want to analyze price action within multiple dynamic channels and identify potential trading opportunities based on price interactions with various support and resistance levels.
Engineer_Invest Support BTCDescription of the "Engineer_Invest Support BTC" indicator
The indicator is designed to highlight a dynamic support level using a combination of a smoothed trend and an assessment of market volatility. Its key features are:
1. Calculating the baseline using the EMA:
The script calculates an exponential moving average (EMA) of the opening price with a configurable period (200 by default). This allows you to create a reliable basis for interpreting price movements, minimizing the impact of short-term fluctuations.
2. Volatility assessment via ATR:
To analyze market variability, the method of calculating the average true range (ATR) multiplied by a given coefficient (default is 5) is used. This approach helps accurately reflect the current market volatility by adjusting the support level depending on the intensity of price fluctuations.
3. Fixed estimated timeframe:
The main calculation is performed on a fixed 3-day interval, which guarantees the stability of the plotted lines regardless of the selected base time interval of the graph. This avoids the undesirable effects of short-term "noise" and ensures the consistency of analytics, especially in highly volatile markets such as cryptocurrencies.
4. Dynamic line formation:
Based on the calculated values of EMA and ATR, the lower boundary of the channel is determined, which is drawn with a bold green line – it serves as a dynamic support zone. At the same time, the ATR value from the previous bar is used to increase the stability of the calculation, which helps smooth out extreme market surges.
5. Flexibility and customization:
Indicator parameters such as the ATR period, the ATR Multiplier coefficient, and a fixed estimated timeframe are available for change. This allows traders to adapt the script to individual strategies and features of the analyzed asset.
Practical application:
- Determining support levels: The indicator helps to identify potential areas where the asset price may find support in a decline.
- Adaptability to market conditions: Using ATR makes it possible to take into account volatility, which is especially important for active markets, for example, for BTC.
- Stability of signals on any timeframe: Due to the fixed 3-day calculation interval, the support line remains unchanged even when the base graphical interval is changed.
The "Engineer_Invest Support BTC" indicator is a well-thought-out analytical solution for technical analysis, combining elements of trend smoothing and a volatility filter. It can be used as an independent tool to find key support levels, or combined with other analysis methods to form a more complete picture of market dynamics.
Important!
This indicator is designed and optimized exclusively for working with BTC. His calculations take into account the unique features of bitcoin's market dynamics and volatility, which provides the most reliable determination of support levels for this particular asset. The use of this instrument in other markets may not provide the expected signal accuracy.
Auto Price Action SR Levels by Chaitu50cAuto Price Action SR Levels by Chaitu50c:
This is a session-based support and resistance indicator that identifies price levels based on actual candle activity, without relying on traditional indicators. It works by clustering open, high, low, or close values of past candles that frequently occur within a defined price range, making it a reliable price action-based tool for intraday traders.
The indicator calculates these levels at the start of each new trading session (based on NSE 09:15 time) and keeps them static throughout the session. This avoids unnecessary noise or flickering due to live price action, giving traders consistent zones to work with during the day.
FEATURES:
* Automatic detection of support and resistance levels based on candle price hits
* Cluster formation using high/low or open/close logic
* Static levels: calculated once per session and remain unchanged until the next session
* Adjustable settings for:
* Cluster range (in points)
* Number of lookback candles
* Line width
* Line color (default: black)
* Minimalist design for a clean chart experience
HOW IT WORKS:
The indicator looks back over a defined number of candles at the beginning of each session. It clusters prices that fall within a specified range (e.g., 250 points) and counts how many times they appear as open, high, low, or close values. If a price level is hit at least once (default), it is considered significant and a line is plotted.
Because clustering is done once per session, the lines do not shift during the session. This allows traders to base decisions on fixed, stable levels formed by prior market structure.
RECOMMENDED FOR:
* Intraday traders
* Price action traders
* Traders who prefer clean charts with logical SR zones
* Nifty, BankNifty, and stock-based day trading
Created by Chaitu50c for traders who rely on logic and structure, not signals.
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Use at your own discretion and always manage risk responsibly.
---
Let me know if you’d like to include use-case examples or screenshots before publishing.
Long Wick Detector [LuxAlgo]The Long Wick Detector tool allows traders to identify candle wicks longer than a user-defined volatility threshold. This makes it useful for spotting zones with high supply or demand.
The tool displays mitigated and unmitigated levels and changes the color of the candles based on wick size and level breakouts.
🔶 USAGE
By default, the tool displays long mitigated and unmitigated candle wicks, with a maximum duration for an unmitigated long wick of 1,000 bars. What does all this mean?
🔹 Wick Threshold
Traders can adjust the volatility threshold to identify long wicks, with a higher threshold detecting more significant wicks.
As we can see in the image above, the tool detects more wicks with a smaller threshold compared to a higher one.
🔹 Level %
Traders can choose the percentage of the wick at which the level is located. By default, the level is displayed at the extremes of the wick. This parameter accepts values between 0 and 100.
100: extreme of the wick
50: middle of the wick
0: start of the wick
🔹 Max Duration
This parameter allows traders to specify the number of bars for the levels. The tool will only display mitigated or unmitigated levels up to the specified number of bars.
As shown in the above image, a longer duration allows more room for mitigation, displaying more levels.
🔹 Colored Candles
The tool allows for color customization using two parameters from the settings panel. The chart shows the different outputs.
The setting "Wick-Based Transparency" makes candles with smaller wicks less visible and candles with longer wicks more visible.
On the other hand, "Breakout-Based Color" changes the base color of the candles based on the mitigation of long wicks. When the price breaks above a detected top wick, the bullish color is used. When the price breaks below a detected bottom wick, the bearish color is used.
🔶 SETTINGS
Wick Threshold: The volatility threshold for wick detection. Use a smaller value to detect smaller wicks.
Level %: Placement of the plotted level relative to the wick.
Max Duration: The maximum duration in bars of mitigated wicks.
Mitigated Wicks: Enable or disable mitigated wicks.
🔹 Style
Wick Based Transparency: Make candles with smaller wicks more transparent and candles with longer wicks more solid.
Breakout Based Color: Change the base color based on wick mitigation.
Bullish & Bearish Colors
Support and Resistance Power Channel [ChartPrime]The Support and Resistance Power Channel indicator helps traders visualize key support and resistance zones, along with buy and sell power within those zones. By identifying the highest and lowest prices within a defined range, this indicator provides insight into potential price reversals and market strength. It calculates the strength of buy and sell pressure within the zones and includes additional features like midline values and delayed signals to reduce false breakouts.
⯁ KEY FEATURES AND HOW TO USE
⯌ Support and Resistance Zones :
This indicator identifies dynamic support (lower zone) and resistance (upper zone) levels, allowing traders to easily visualize key price levels. These zones are customizable with settings for the length of the channel and how far the zones extend into the future. The zones can be used to predict areas of potential price reversal or consolidation.
⯌ Buy and Sell Power :
Within the upper resistance zone, the indicator calculates Sell Power based on the number of bearish candles, while the lower support zone calculates Buy Power based on bullish candles. This feature helps traders understand the strength of buying or selling activity within each zone.
Example of buy and sell power tracking:
⯌ Highest, Lowest, and Mid Price Levels :
The indicator marks the highest and lowest price levels within the channel with an "X," and displays these values at the end of the channel. Additionally, the midline (average of the high and low) is plotted with a dotted line, showing a key area that the price often retests during trends.
⯌ Delayed Signal Markers :
To prevent false breakouts, the indicator includes a 2-bar delay for signals. These signals are plotted when the price crosses above or below the resistance or support zones, confirming potential reversals or breakouts. Arrows or diamonds are used to mark these signals on the chart.
Example of delayed breakout signals on the chart:
⯌ Extend Zones into the Future :
In the settings, traders can extend the support and resistance zones further into the future, allowing for ongoing analysis even after the initial levels have been identified. This feature can help with forward-looking trade planning.
⯁ USER INPUTS
Length : Defines the number of bars used to calculate the support and resistance zones.
Extend : Sets how far the support and resistance zones should be extended into the future.
Top and Bottom Colors : Allows customization of the colors for the support and resistance zones.
⯁ CONCLUSION
The Support and Resistance Power Channel indicator provides a powerful and visually intuitive way to track key market levels, buy and sell pressure, and potential reversals. With its real-time zone plotting and the calculation of power within each zone, it offers traders essential insights for making more informed trading decisions.
Impulse Profile Zones [BigBeluga]🔵 OVERVIEW
Impulse Profile Zones is a volume-based tool designed to highlight high-impact candles and visualize hidden liquidity zones inside them using microstructure data. It’s ideal for identifying volume concentration and potential reaction points during impulsive market moves.
Whenever a candle exceeds a specified size threshold, this indicator captures its structure and overlays a detailed intrabar volume profile (from a 10x lower timeframe), allowing traders to analyze the distribution of interest within powerful market impulses.
🔵 CONCEPTS
Filters candles that exceed a user-defined threshold by size.
For qualifying candles, retrieves lower timeframe price and volume data.
Divides the candle’s body into 10 volume bins and calculates the volume per zone. Highlights the bin with the highest volume as the Point of Control (POC) .
Each POC line extends forward until a new impulse is detected.
🔵 FEATURES
Impulse Candle Detection:
Triggers only when a candle’s body size is larger than the defined threshold.
Lower Timeframe Profiling:
Aggregates 10-bin volume data from a lower timeframe (typically 1/10 of current TF).
Volume Distribution Bars:
Each bin displays a stylized bar using unicode block characters (e.g., ▇▇▇, ▇▇ or ▇--).
The bar size reflects the relative volume intensity.
POC Zone Mapping:
The bin with the highest volume is marked with a bold horizontal line.
Its value is labeled and extended until the next valid impulse.
🔵 HOW TO USE
Use large candle profiles to assess which price levels inside a move were most actively traded.
Watch the POC line as a magnet for future price interaction (support/resistance or reaction).
Combine with market structure or order block indicators to identify confluence levels.
Adjust the “Filter Large Candles” input to detect more or fewer events based on volatility.
🔵 CONCLUSION
Impulse Profile Zones is a hybrid microstructure tool that bridges lower timeframe volume with higher timeframe impulse candles. By revealing where most of the volume occurred inside large moves, traders gain a deeper view into hidden liquidity, enabling smarter trade entries and more confident profit-taking zones.
ZenAlgo - MultiverseThe ZenAlgo – Multiverse indicator provides a multi-timeframe view of Volume-Weighted Average Price (VWAP) levels and their dynamic interaction with price across seven defined timeframes: Daily, Weekly, Monthly, Quarterly, Semi-Annual, and Yearly. The indicator is intended to help traders contextualize price within time-based value areas and examine how price interacts with statistically relevant bands derived from those VWAPs.
VWAP Calculation and Period Structure
At the core, this script computes VWAP levels anchored to six distinct timeframes using volume data and a configurable source (default is HLC3). Each VWAP resets at the start of its corresponding period (e.g., Daily VWAP resets at the beginning of a new day) using timeframe.change() as a detection mechanism. This allows each VWAP level to reflect a clean aggregation of price and volume over its specified period.
VWAP levels are only computed if volume data is present and cumulative volume increases, ensuring logical consistency. If volume is missing or inconsistent, the script terminates execution with an error to prevent invalid outputs.
Band Calculation
Each VWAP is accompanied by one or two optional bands on both sides, calculated using percentage-based offset. Daily VWAP is configurable per user preference to use either standard deviation or a percentage-based offset. These bands provide a dynamic value area that expands or contracts with volatility or proportional price distance, respectively.
The bands help classify price as:
Inside the main band (e.g., between ±1 band): near average value
Inside extended band (e.g., ±2 bands): stretched but not extreme
Beyond extended band: potentially overheated or oversold conditions
This layering creates a multi-zoned map of value perception across timeframes.
Labeling and Historical Tracking
As each new VWAP is computed, it is stored in a bounded array alongside metadata such as label position, line objects, test count, and test state (whether price has interacted with it). Each level is drawn as a dotted horizontal line and labeled with its value and corresponding period (e.g., "D", "W", "M").
Price interaction with a VWAP level (i.e., candle high/low crossing the line) changes the styling of the label and line, marking it as "tested." A cap on how many tested levels are retained (default 10) avoids excessive clutter and resource usage.
These persistent horizontal levels give the trader a visual reference of where value was defined in previous periods and how price has respected or ignored those levels over time.
Summary Tables and Grid
Two visual table overlays are provided:
1. VWAP Summary Table , this table shows:
VWAP values per timeframe
Trend interpretation (rising, falling, stable) relative to price
Ranked order of VWAP values (from highest to lowest)
The order is recalculated each bar to reflect the vertical positioning of each VWAP on the price chart.
2. VWAP Relationship Grid
A grid matrix compares each VWAP and current price against all others. Each cell reflects whether a given source is above, below, or within a tolerance threshold relative to another. Colors (green, red, gray) visually encode the result, with the diagonal marked in black and unused cells disabled.
This matrix helps identify alignment or dissonance among timeframes, allowing users to detect whether shorter-term value is leading or lagging longer-term value.
Price Band Classification
For the Daily VWAP specifically, the script includes an extra classification system. It assigns the current price to a zone (e.g., "At VWAP", "Bear Band", "Above Bull Band 2") based on where the price lies in relation to the VWAP bands. This classification is also used for dynamic coloring and added to the daily label.
Display Controls
The script offers fine-grained controls:
Toggle visibility of each VWAP and band group independently
Adjust the offset of labels from the current bar
Customize band multipliers and color transparency
Limit the number of historical VWAP labels plotted
Position both the summary and grid tables flexibly on screen
These options allow traders to declutter their charts and focus on the most relevant context for their strategy.
How to Interpret and Use
This indicator provides a structured view of market value perception across various timeframes. For example:
When price converges with multiple VWAPs, it may suggest consensus on value.
When price moves away from all VWAPs, it may indicate trending or stretched conditions.
Crosses and retests of VWAPs (especially higher-timeframe ones) can act as areas of interest.
The band-based classification helps identify transitional zones and whether price is situated in an area where value is being accepted or rejected.
The summary tables offer a high-level dashboard of price positioning and value structure, which can assist with top-down analysis, filtering setups, or contextual decision-making.
Added Value Compared to Free Alternatives
Most free VWAP scripts:
Cover only a single timeframe (often daily or session-based)
Lack historical level tracking with tested/retested visualization
Do not support grid-level relationships or multi-timeframe band analysis
Offer limited configuration over how bands are calculated or displayed
This script consolidates multiple value areas in one consistent framework and goes further by tracking historical relevance, providing interaction logs, and organizing data into actionable overlays.
For traders seeking comprehensive value context across intraday and swing horizons, this tool offers persistent and structured data views that are otherwise unavailable through individual, isolated VWAP tools.
Limitations and Disclaimers
The indicator depends on volume data. On instruments with unreliable or synthetic volume (e.g., certain spot forex or CFDs), results may not be meaningful.
Band-based interpretation should not be used as a signal mechanism on its own.
On low timeframes, longer-period VWAPs may appear flat or visually compressed.
As with any analytical tool, interpretation requires trader discretion and should be combined with broader context.
Levels by Touches (v2) [chingybrooks]Levels by Touches (v2)
This script scans the last N bars to identify significant support and resistance levels by counting wick-touches.
How it works:
1. Wick detection – marks a touch whenever upper or lower wick ≥ X% of candle body (or on doji)
2. Level grouping – merges touches within a tolerance of Y ticks
3. Touch weighting – recent touches (in the latter half of lookback) count Z× more
4. Filtering – only plots levels with ≥ M total touches
Inputs:
Bars to scan (N): lookback period (max 200 bars)
Min touches (M): minimum hits to qualify as a level
Tolerance (ticks): price “slop” for grouping nearby touches
Min wick %: wick size threshold as % of body
Recent touch weight (Z): multiplier for touches in the latest half
Use this indicator to spot high-probability S/R zones based on actual price rejections.
GapCluster SR For Intraday by Chaitu50c**GapCluster SR For Intraday by Chaitu50c**
**Overview**
GapCluster SR plots dynamic intraday support and resistance lines based on candle-to-candle gaps. Whenever an Open/Close or High/Low gap is detected, the script draws a horizontal level and “clusters” nearby gaps into a single line to keep your chart clean. Lines automatically color-code relative to price—green when below, red when above.
---
**Key Features**
* **Gap Detection Modes**: Choose between Open/Close gaps (default) or High/Low gaps.
* **Clustering**: Merge levels within a user-defined vertical range to avoid clutter.
* **Dynamic Coloring**: Levels below price turn green; levels above price turn red.
* **Session Reset**: Automatically removes levels older than X days.
* **Fully Customizable**: Adjust buffer, cluster range, line width, lookback period, and both above/below colors.
---
**Inputs**
| Input | Default | Description |
| ---------------------------- | :--------: | ------------------------------------------- |
| Gap Type | Open/Close | Select gap detection method |
| Price Buffer (points) | 5.0 | Maximum distance for gap matching |
| Cluster Range (points) | 100.0 | Vertical distance within which levels merge |
| Line Width | 2 | Thickness of plotted lines |
| Days to Include | 14 | Number of days to retain past levels |
| Color for Levels Above Price | red | Line color when level > current price |
| Color for Levels Below Price | green | Line color when level < current price |
---
**How to Use**
1. **Add to Chart**: Apply on any intraday timeframe (1 min, 5 min, etc.).
2. **Select Mode**: Pick Open/Close or High/Low in settings.
3. **Tweak Inputs**: Raise/lower buffer for tighter/looser gap detection; adjust cluster range to group levels; change lookback (“Days to Include”) to control session reset.
4. **Interpret Levels**:
* **Green Lines** mark potential support zones.
* **Red Lines** mark potential resistance zones.
5. **Combine with Your Strategy**: Use alongside volume, momentum, or trend filters for confirmation.
---
**Tips & Tricks**
* **Intraday Entries**: Look for price reaction at green (support) lines for long setups, or red (resistance) lines for shorts.
* **Filter Noise**: Increase the “Cluster Range” to consolidate many close levels into stronger, singular lines.
---
**Disclaimer**
This indicator is provided “as-is” for educational purposes only. Always backtest any setup and practice proper risk management.
Order Block Matrix [Alpha Extract]The Order Block Matrix indicator identifies and visualizes key supply and demand zones on your chart, helping traders recognize potential reversal points and high-probability trading setups.
This tool helps traders:
Visualize key order blocks with volume profile histograms showing liquidity distribution.
Identify high-volume price levels where institutional activity occurs.
rank historical order blocks and analyze their strength based on volume.
Receive alerts for potential trading opportunities based on price-block interactions.
🔶 CALCULATION
The indicator processes chart data to identify and analyze order blocks:
Order Block Detection
Inputs:
Price action patterns (consolidation areas followed by breakouts).
Volume data from current and lower timeframes.
User-defined lookback periods and thresholds.
Detection Logic:
Identifies consolidation areas using a dynamic range comparison.
Confirms breakout patterns with percentage threshold validation.
Maps volume distribution across price levels within each order block.
🔶Volume Analysis
Volume Profiling:
Divides each order block into configurable grid segments.
Maps volume distribution across price segments within blocks.
Highlights zones with highest volume concentration.
Strength Assessment:
Calculates total block volume and relative strength metrics.
Compares block volume to historical averages.
Determines probability of reversal based on volume patterns.
isConsolidation(len) =>
high_range = ta.highest(high, len) - ta.lowest(high, len)
low_range = ta.highest(low, len) - ta.lowest(low, len)
avg_range = (high_range + low_range) / 2
current_range = high - low
current_range <= avg_range * (1 + obThreshold)
🔶 DETAILS
Visual Features
Volume Profile Histograms:
Color-coded bars showing volume concentration within order blocks.
Gradient coloring based on relative volume (high volume = brighter colors).
Bull blocks (green/teal) and bear blocks (red) with varying opacity.
Block Visualization:
Dynamic box sizing based on volume concentration.
Optional block borders and background fills.
Volume labels showing total block volume.
Screener Table:
Real-time analysis of order block metrics.
Shows block direction, proximity, retest count, and volume metrics.
Color-coded for quick reference.
Interpretation
High Volume Areas: Zones with institutional interest and potential reversal points.
Block Direction: Bullish blocks typically support price, bearish blocks typically resist price.
Retests: Multiple tests of an order block may strengthen or weaken its influence.
Block Age: Newer blocks often have stronger influence than older ones.
Volume Concentration: Brightest segments within blocks represent the highest volume areas.
🔶 EXAMPLES
The indicator helps identify key trading opportunities:
Bullish Order Blocks
Support Zones: Identify strong support levels where price is likely to bounce.
Breakout Confirmation: Validate breakouts with volume analysis to avoid false moves.
Retest Strategies: Enter trades when price retests a bullish order block with high volume.
Bearish Order Blocks
Resistance Zones: Identify strong resistance levels where price is likely to reverse.
Distribution Areas: Detect zones where smart money is distributing to retail.
Short Opportunities: Find optimal short entry points at high-volume bearish blocks.
Combined Strategies
Order Block Stacking: Multiple aligned blocks create stronger support/resistance zones.
Block Mitigation: When price breaks through a block, it often indicates a strong trend continuation.
Volume Profile Applications: Higher volume segments provide more precise entry and exit points.
🔶 SETTINGS
Customization Options
Order Block Detection:
Consolidation Lookback: Adjust the period for consolidation detection.
Breakout Threshold: Set minimum percentage for breakout confirmation.
Historical Lookback Limit: Control how far back to scan for historical order blocks.
Maximum Order Blocks: Limit the number of visible blocks on the chart.
Visual Style:
Grid Segments: Adjust the number of volume profile segments.
Extend Blocks to Right: Enable/disable extending blocks to current price.
Show Block Borders: Toggle border visibility.
Border Width: Adjust thickness of block borders.
Show Volume Text: Enable/disable volume labels.
Volume Text Position: Control placement of volume labels.
Color Settings:
Bullish High/Low Volume Colors: Customize appearance of bullish blocks.
Bearish High/Low Volume Colors: Customize appearance of bearish blocks.
Border Color: Set color for block outlines.
Background Fill: Adjust color and transparency of block backgrounds.
Volume Text Color: Customize label appearance.
Screener Table:
Show Screener Table: Toggle table visibility.
Table Position: Select positioning on the chart.
Table Size: Adjust display size.
The Order Block Matrix indicator provides traders with powerful insights into market structure, helping to identify key levels where smart money is active and where high-probability trading opportunities may exist.
Entropy Chart Analysis [PhenLabs]📊 Entropy Chart analysis -
Version: PineScript™ v6
📌 Description
The Entropy Chart indicator analysis applies Approximate Entropy (ApEn) to identify zones of potential support and resistance on your price chart. It is designed to locate changes in the market’s predictability, with a focus on zones near significant psychological price levels (e.g., multiples of 50). By quantifying entropy, the indicator aims to identify zones where price action might stabilize (potential support) or become randomized (potential resistance).
This tool automates the visualization of these key areas for traders, which may have the effect of revealing reversal levels or consolidation zones that would be hard to discern through traditional means. It also filters the signals by proximity to key levels in an attempt to reduce noise and highlight higher-probability setups. These dynamic zones adapt to changing market conditions by stretching, merging, and expiring based on user-inputted rules.
🚀 Points of Innovation
Combines Approximate Entropy (ApEn) calculation with price action near significant levels.
Filters zone signals based on proximity (in ticks) to predefined significant price levels (multiples of 50).
Dynamically merges overlapping or nearby zones to consolidate signals and reduce chart clutter.
Uses ApEn crossovers relative to its moving average as the core trigger mechanism.
Provides distinct visual coloring for bullish, bearish, and merged (mixed-signal) zones.
Offers comprehensive customization for entropy calculation, zone sensitivity, level filtering, and visual appearance.
🔧 Core Components
Approximate Entropy (ApEn) Calculation : Measures the regularity or randomness of price fluctuations over a specified window. Low ApEn suggests predictability, while high ApEn suggests randomness.
Zone Trigger Logic : Creates potential support zones when ApEn crosses below its average (indicating increasing predictability) and potential resistance zones when it crosses above (indicating increasing randomness).
Significant Level Filter : Validates zone triggers only if they occur within a user-defined tick distance from significant price levels (multiples of 50).
Dynamic Zone Management : Automatically creates, extends, merges nearby zones based on tick distance, and removes the oldest zones to maintain a maximum limit.
Zone Visualization : Draws and updates colored boxes on the chart to represent active support, resistance, or mixed zones.
🔥 Key Features
Entropy-Based S/R Detection : Uses ApEn to identify potential support (low entropy) and resistance (high entropy) areas.
Significant Level Filtering : Enhances signal quality by focusing on entropy changes near key psychological price points.
Automatic Zone Drawing & Merging : Visualizes zones dynamically, merging close signals for clearer interpretation.
Highly Customizable : Allows traders to adjust parameters for ApEn calculation, zone detection thresholds, level filter sensitivity, merging distance, and visual styles.
Integrated Alerts : Provides built-in alert conditions for the formation of new bullish or bearish zones near significant levels.
Clear Visual Output : Uses distinct, customizable colors for buy (support), sell (resistance), and mixed (merged) zones.
🎨 Visualization
Buy Zones : Represented by greenish boxes (default: #26a69a), indicating potential support areas formed during low entropy periods near significant levels.
Sell Zones : Represented by reddish boxes (default: #ef5350), indicating potential resistance areas formed during high entropy periods near significant levels.
Mixed Zones : Represented by bluish/purple boxes (default: #8894ff), formed when a buy zone and a sell zone merge, indicating areas of potential consolidation or conflict.
Dynamic Extension : Active zones are automatically extended to the right with each new bar.
📖 Usage Guidelines
Calculation Parameters
Window Length
Default: 15
Range: 10-100
Description: Lookback period for ApEn calculation. Shorter lengths are more responsive; longer lengths are smoother.
Embedding Dimension (m)
Default: 2
Range: 1-6
Description: Length of patterns compared in ApEn calculation. Higher values detect more complex patterns but require more data.
Tolerance (r)
Default: 0.5
Range: 0.1-1.0 (step 0.1)
Description: Sensitivity factor for pattern matching (as a multiple of standard deviation). Lower values require closer matches (more sensitive).
Zone Settings
Zone Lookback
Default: 5
Range: 5-50
Description: Lookback period for the moving average of ApEn used in threshold calculations.
Zone Threshold
Default: 0.5
Range: 0.5-3.0
Description: Multiplier for the ApEn average to set crossover trigger levels. Higher values require larger ApEn deviations to create zones.
Maximum Zones
Default: 5
Range: 1-10
Description: Maximum number of active zones displayed. The oldest zones are removed first when the limit is reached.
Zone Merge Distance (Ticks)
Default: 5
Range: 1-50
Description: Maximum distance in ticks for two separate zones to be merged into one.
Level Filter Settings
Tick Size
Default: 0.25
Description: The minimum price increment for the asset. Must be set correctly for the specific instrument to ensure accurate level filtering.
Max Ticks Distance from Levels
Default: 40
Description: Maximum allowed distance (in ticks) from a significant level (multiple of 50) for a zone trigger to be valid.
Visual Settings
Buy Zone Color : Default: color.new(#26a69a, 83). Sets the fill color for support zones.
Sell Zone Color : Default: color.new(#ef5350, 83). Sets the fill color for resistance zones.
Mixed Zone Color : Default: color.new(#8894ff, 83). Sets the fill color for merged zones.
Buy Border Color : Default: #26a69a. Sets the border color for support zones.
Sell Border Color : Default: #ef5350. Sets the border color for resistance zones.
Mixed Border Color : Default: color.new(#a288ff, 50). Sets the border color for mixed zones.
Border Width : Default: 1, Range: 1-3. Sets the thickness of zone borders.
✅ Best Use Cases
Identifying potential support/resistance near significant psychological price levels (e.g., $50, $100 increments).
Detecting potential market turning points or consolidation zones based on shifts in price predictability.
Filtering entries or exits by confirming signals occurring near significant levels identified by the indicator.
Adding context to other technical analysis approaches by highlighting entropy-derived zones.
⚠️ Limitations
Parameter Dependency : Indicator performance is sensitive to parameter settings ( Window Length , Tolerance , Zone Threshold , Max Ticks Distance ), which may need optimization for different assets and timeframes.
Volatility Sensitivity : High market volatility or erratic price action can affect ApEn calculations and potentially lead to less reliable zone signals.
Fixed Level Filter : The significant level filter is based on multiples of 50. While common, this may not capture all relevant levels for every asset or market condition. Accurate Tick Size input is essential.
Not Standalone : Should be used in conjunction with other analysis methods (price action, volume, other indicators) for confirmation, not as a sole basis for trading decisions.
💡 What Makes This Unique
Entropy + Level Context : Uniquely combines ApEn analysis with a specific filter for proximity to significant price levels (multiples of 50), adding locational context to entropy signals.
Intelligent Zone Merging : Automatically consolidates nearby buy/sell zones based on tick distance, simplifying visual analysis and highlighting stronger confluence areas.
Targeted Signal Generation : Focuses alerts and zone creation on specific market conditions (entropy shifts near key levels).
🔬 How It Works
Calculate Entropy : The script computes the Approximate Entropy (ApEn) of the closing prices over the defined Window Length to quantify price predictability.
Check Triggers : It monitors ApEn relative to its moving average. A crossunder below a calculated threshold (avg_apen / zone_threshold) indicates potential support; a crossover above (avg_apen * zone_threshold) indicates potential resistance.
Filter by Level : A potential zone trigger is confirmed only if the low (for support) or high (for resistance) of the trigger bar is within the Max Ticks Distance of a significant price level (multiple of 50).
Manage & Draw Zones : If a trigger is confirmed, a new zone box is created. The script checks for overlaps with existing zones within the Zone Merge Distance and merges them if necessary. Zones are extended forward, and the oldest are removed to respect the Maximum Zones limit. Active zones are drawn and updated on the chart.
💡 Note:
Crucially, set the Tick Size parameter correctly for your specific trading instrument in the “Level Filter Settings”. Incorrect Tick Size will make the significant level filter inaccurate.
Experiment with parameters, especially Window Length , Tolerance (r) , Zone Threshold , and Max Ticks Distance , to tailor the indicator’s sensitivity to your preferred asset and timeframe.
Always use this indicator as part of a comprehensive trading plan, incorporating risk management and seeking confirmation from other analysis techniques.
weighted support or resistance linesQ: Why should users choose this script?
A: I found that in all the publicly available scripts about support and resistance lines, there is basically no weight identification for these lines. In other words, users do not know which support or resistance lines are the most important. So I specifically wrote this script.
1. By adjusting the weights, only the most effective support or resistance lines are displayed. (Length threshold of trend price (Bar))
2. By selecting the number of K-lines, only the latest number of support or resistance lines generated will be displayed. (Maximum number of reserved S/R lines)
3. By selecting whether to automatically remove lines, only support or resistance lines that have not been penetrated by the k-line will be displayed. If this function is checked, the weight can be adjusted lower, as high-weight SR may have already been penetrated, and the newly generated SR may have a lower weight. (Automatically remove lines penetrated by closing price confirmation)
4. Notes: The default parameters work well in 15-minute candlestick charts. For candlestick charts with other time periods, the parameters can be adjusted appropriately. It is suitable for sideways trading but not for strong trends.
5. I'm quite satisfied with the performance of the script, as I specifically optimized it, lol
ULTIMATE Price Action Oscillator with Volume-Based S/R - MehtaULTIMATE Price Action Oscillator with Volume-Based S/R (UPO-PRO-VOL)
Key Features:
Smart Oscillator: Combines price action momentum with customizable smoothing.
Volume-Confirmed S/R: Identifies high-confidence Support/Resistance levels when price crosses above-average volume.
Real-Time Tracking: Displays S/R levels with timestamps (IST) in a clean table.
Visual Alerts: Dashed lines + labels mark key levels for easy spotting.
⚠️ STRONG DISCLAIMER
❌ This indicator is for educational purposes only.
❌ Not financial advice. Trading involves risk—always conduct your own analysis.
❌ No guarantee of accuracy. Past performance ≠ future results.
❌ Adjust settings carefully. Test in a demo account first.
❌ Volume thresholds may vary by asset. Customize Volume Threshold Multiplier as needed.
📝 How to Use:
S/R Signals: Green "S" = Support (oscillator crosses up with high volume). Red "R" = Resistance (oscillator crosses down with high volume).
Table: Tracks latest S/R prices and formation time (IST).
Tweak Settings: Adjust Oscillator Length, Smoothing, and Volume Threshold for your trading style.
Tip: Combine with trend analysis for higher-probability trades!
Script Settings (Default):
Oscillator Length: 5 (Can be adjusted upto a maximum value of 200)
Smoothing: 3
S/R Lookback: 100 bars
Volume Threshold: 1.5x avg volume
DMM Face-Melter Pro v2🔧 Core Components & Functionality
📐 Dynamic Fibonacci Levels (Slow)
Five ultra-reliable zones based on extended Fibonacci sequences (think 377, 610, 987, etc.).
Specifically designed to remain hidden until price proximity matters.
When price action moves within ~10% of one of these levels, it’s automatically activated and displayed.
As price moves away, the level enters a cooldown phase and stops printing on the chart.
Especially powerful in swing setups and macro timeframes, where these levels often mark major turning points or hidden support/resistance, yet are not routinely tracked due their long length.
🧊 Cool 9 + Gradient Suite (Fast to Medium)
Cool 9: A fast-reacting line with a smooth visual gradient stretching to the Fibonacci 34. The gradient visually communicates momentum decay and near-term exhaustion.
Cool 21 and Cool 55: Optional overlays that round out this trio of reactive lines. These mid-length Fib levels are ideal for spotting rhythm-based reversals and continuation patterns.
All three have proven effectiveness across all timeframes, from intraday to monthly charts, with an emphasis on oscillation structure.
🌫 Death Metal Bands (Candle Coloring Logic)
Candle colors shift dynamically based on interaction with a Bollinger Bands–inspired cloud.
Candles get brighter or darker as they close deeper into the upper or lower cloud, giving an intuitive sense of price extremes without extra lines.
The color sequence resets when price enters the middle zone.
Choose between:
Standard Mode: Green/red candles shift toward white/gray.
Low-Stress Mode: Cream/gray candles shift toward purple/blue—for reduced screen fatigue and clearer judgment in high-volatility conditions.
🟨 200-Day Cloud
A cloud-based visualization of the 200-period moving average, enhanced with an embedded Fibonacci level.
Helps identify high-confluence zones that institutional traders often react to, but which are rarely marked with this level of refinement.
🧠 How to Use It
This script was built for traders who need high-signal input and low chart noise:
Swing traders can use the dynamic Fibonacci levels to monitor hidden zones where price often pivots.
Trend followers can lean on the Cool 9 suite to confirm direction and strength in real time.
Visual and discretionary traders will benefit from candle color cues that highlight exhaustion without clashing with other systems or charts.
Death Metal Fire & IceA dynamic support/resistance system built from modified Fibonacci-based moving averages, designed to assist with structure identification in trending markets — particularly when price is moving into uncharted territory.
🧠 Core Logic
Twelve Fibonacci-based moving averages are mathematically adjusted by the square root of a standard trading Fibonacci ratio to create projected zones above and around price. These dynamic levels are labeled L1 to L12 and automatically adjust with trend velocity and volatility.
Faster levels (L1–L5) often serve as immediate reaction zones in volatile markets and provide ceilings for rising price action.
Slower levels (L6–L12) tend to behave as longer-term structure — both above and below current price.
These levels are dynamic, non-static, and provide forward-looking structure that adapts as markets move. Price tends to range between these levels until conditions change, which becomes visually apparent through the breaking of support/resistance.
⚙️ Features
Smart Mode: Hides levels that are not relevant to current price proximity. Price action needs to get within 10% of the level for it to appear. If price action moves away from the level, there will be a cooldown period for the line to cease printing on the chart.
Gradient Mode: Fills space between levels with a visual overlay to help visualize distance and potential volatility.
Levels can be toggled on/off individually.
🧩 Use Case
Designed for trending markets where traditional support/resistance is unavailable or unreliable.
Applicable across all assets and timeframes — stocks, crypto, futures, etc.
ZenAlgo - RangerThe core of the indicator is the daily range, anchored around the 1-minute timeframe VWAP (volume-weighted average price), with ±2 standard deviations defining the upper and lower bounds. This range dynamically forms throughout the day and then gets “locked” at 23:59 each day to establish historical reference values.
The indicator calculates this locked VWAP and standard deviation per day, which serves two primary purposes:
Drawing today's real-time evolving range , updated each minute.
Plotting previous daily ranges , based on historical locked VWAPs and standard deviations, providing visual reference boxes on the chart.
This design enables the trader to identify mean-reversion zones and persistent directional biases based on volume-weighted price consensus.
Multiple Standard Deviation Layers
Beyond the ±2.0 deviation bounds, optional lines are available at half-step increments (e.g., ±0.5, ±1.5, ..., ±4.5) and full-step levels beyond ±2.0 (±3.0, ±4.0, ±5.0). These provide a customizable grid to visualize price extremes, tail behavior, or potential breakout zones relative to volume-adjusted price equilibrium.
Users can enable only the levels they need, offering flexibility depending on their strategy (e.g., scalping versus swing trading).
Historical Range Retention
The script stores up to 70 previous daily VWAP + standard deviation values (adjustable). For each, it draws a full range box and standard deviation lines in the past. This historical context helps in understanding how current price interacts with prior days’ balance zones.
These boxes are always drawn from 00:00 to 23:59 UTC , ensuring consistent alignment across instruments and avoiding session-based discrepancies.
Monday Range Reference (Drawn on Tuesdays)
On Tuesdays, the indicator plots the previous Monday's VWAP-based range across the rest of the week. This serves as a persistent contextual anchor for traders watching weekly unfolding behavior. The range is defined identically (VWAP ±2σ) and drawn from Monday 00:00 through the following Monday.
This method assumes Monday often sets the tone or structure for the week, and tracking this level through time may highlight support/resistance confluence or range expansion scenarios.
Each Monday range is extended over 7 days and includes dashed lines at the 25%, 50%, and 75% marks within the range. These midrange markers help traders assess microstructure behaviors (e.g., reversion to median, failure to hold midpoint, etc.).
Daily Volume Delta via 4H Candles
The indicator also integrates daily buy/sell volume deltas , derived from 4-hour candles of the regular session (non-Heikin Ashi). The logic categorizes volume as:
Buy volume when candle closes above the previous close.
Sell volume when it closes below.
Even split when the candle closes flat.
These volumes accumulate each day to derive net delta (buy - sell). This delta is recorded for each day and can optionally be displayed. A similar process tracks the delta for each Monday range on an ongoing basis.
This information quantifies the market’s aggressive buying vs. selling , correlating with price positions inside or outside the VWAP ranges. A strong delta in one direction may justify a price sustaining above/below VWAP, or diverging from the previous range.
Interpretation and Best Usage Practices
VWAP±2σ Range : Considered a high-probability area for consolidation or reversal. Mean-reverting strategies can benefit from signals within this area.
VWAP±3.0 and beyond : Extreme deviations may signal exhaustion or breakout potential, but are less frequent.
Previous Range Overlap : Overlap of today’s price with past VWAP zones may indicate support/resistance zones.
Monday Range on Tuesday : Persistent levels where the week may repeatedly pivot. Best used on instruments that exhibit weekly cyclical behavior (e.g., indices, forex).
Delta Behavior : Sharp positive or negative delta combined with price outside VWAP bands may suggest initiative participation and potential trend continuation.
Added Value Over Free Alternatives
While many free VWAP tools exist, this script differs in several specific and factual ways:
Anchored 1-minute VWAP lock at a consistent daily timestamp (23:59 UTC), enabling historical analysis.
Historical storage of previous VWAP ranges , with adjustable memory depth and visual continuity.
Flexible standard deviation plotting , down to 0.5 increments, tailored to the user's strategy needs.
Dedicated Monday range analysis , not common in freely available scripts.
Volume delta tracking per day and per Monday range , offering a directional volume view unavailable in standard VWAP implementations.
Persistent and visual interpretation framework using extended boxes and dashed lines for easier contextual navigation.
Each of these additions increases the script’s utility for methodical traders relying on volume-weighted statistics, without requiring additional configuration or external calculations.
Limitations and Disclaimers
VWAP based on 1-minute resolution : The indicator uses minute-level data to calculate daily VWAP and standard deviation. This offers high fidelity on liquid instruments but may produce noisy or unreliable levels on illiquid assets or during periods of low volume. For example, microcap stocks or thinly traded altcoins might not yield stable VWAP centers.
Inferred buy/sell volume : Volume delta is estimated using price movement from one candle to the next (close-to-close logic), rather than actual trade-level aggressor data (which is not accessible via TradingView). This approximation may misclassify volume in choppy or low-volatility environments, especially in assets where price changes do not correlate well with order flow (e.g., crypto during low-volume weekends).
Non-continuous markets and price gaps : For assets that do not trade continuously (e.g., stocks, futures), the VWAP calculation starts fresh every day at 00:00 UTC, regardless of the instrument’s official session start. As a result:
Pre-market/post-market trades may be included in VWAP when analyzing equities, even though they are often excluded in professional VWAP tools.
Opening gaps in equities and futures may distort early VWAP values due to lack of volume context, especially if the previous day's session was already closed when new data begins accumulating.
Weekend gaps in crypto, although less frequent due to 24/7 trading, can still influence delta accumulation if abrupt moves happen during low liquidity periods.
Daily session alignment : The VWAP anchoring and box drawing uses 00:00 UTC to 23:59 UTC windows. For instruments with different official session timings (e.g., US equities, CME futures), this may cause mismatches between expected session VWAPs and the ones shown in this script.
Conclusion
The ZenAlgo – Ranger script offers a systematic visualization of volume-adjusted price behavior, combining statistical VWAP ranges with volume delta overlays. By integrating daily and weekly reference zones, this tool supports structured decision-making in various market environments, particularly for traders prioritizing mean reversion, range expansion, or trend confirmation.
ZenAlgo - Golden VeinOverview and Motivation
This indicator combines multiple volume-weighted average price (VWAP) calculations from different timeframes and then merges them into a single composite line called “the Vein”. It begins by pulling a user-defined source (for instance, a typical price) and then anchors a VWAP on daily, weekly, monthly, quarterly, semiannual, and yearly intervals. By viewing all these timeframes together, the script captures multi-period trends in a way that stands apart from simpler, single-timeframe VWAP indicators. This comprehensive perspective is designed to offer practical benefits to those who monitor both short- and long-term VWAP behavior within a single tool.
Because it tracks many timeframes simultaneously, it can highlight instances when short-term and long-term VWAPs converge or diverge. Traders who need multi-timeframe validation may find this approach particularly helpful. Other free indicators typically restrict themselves to one or two timeframes, so the built-in multi-timeframe data in this script can save effort for those who rely heavily on VWAP analysis.
Core Inputs and Offsets
At the start, the script takes a single price input (e.g., the average of high, low, and close) and uses it to compute multiple VWAP lines. Users can also choose a distance factor (based on an ATR calculation) to control how far labels are placed from any crossover events. This distance sets how clearly the chart will display labels without overcrowding.
Beyond giving a cleaner visual, having a user-defined distance for labels means the script can adapt to any ticker’s volatility. If one trades assets with large intraday swings, the script leaves enough space for labels to remain readable. This flexibility is something that simpler free VWAP scripts might lack.
Multi-Timeframe VWAP Computations
The script calculates distinct VWAP lines: Daily, Weekly, Monthly, Quarterly (3-Month), Semiannual (6-Month), and Yearly (12-Month). Each line resets whenever it detects a new period has started, ensuring that each timeframe’s VWAP properly anchors to its own session window. This allows the indicator to track how the market perceives fair value (through VWAP) on multiple horizons, all at once.
Simultaneously checking these various intervals can offer added clarity to traders who want to compare immediate market conditions (e.g., daily) to broader contexts (e.g., quarterly or yearly). Tools that only show one or two timeframes may miss the nuances that arise when, say, daily VWAP aligns with monthly VWAP at a turning point.
Crossover Detection and Labeling
Whenever two different VWAP lines intersect, the script generates an internal crossover signal. It then draws small labels (e.g., D↑W or M↓Q) to highlight that a lower timeframe VWAP has moved above or below a higher timeframe VWAP. These labels use color-coding and an ATR-based offset to remain visible.
An additional subtle feature is how daily VWAP crossovers can optionally be displayed only on a specific weekday and hour. That allows users who only want to track daily crossovers under certain conditions (for example, a fixed point in the weekly cycle) to filter out other signals. This adaptability can be worth paying for if one needs advanced filtering—an area where simpler free VWAP cross indicators typically do not offer such granular control.
The “Golden VWAP” (Composite Calculation)
All six VWAP lines (daily, weekly, monthly, quarterly, semiannual, yearly) feed into a central average called “the Vein”. The script takes the midpoint of these six values on each bar, effectively combining short-, medium-, and long-term VWAP data into one. This composite serves as a reference line for overall market direction.
A volatility band (either a standard-deviation-based range or a user-defined percentage) wraps around this composite. The script thereby creates an upper and a lower boundary around the Golden VWAP, called “Resistance” and “Support.” Traders may interpret price moves beyond these levels as higher-probability expansions or contractions, but there is no guarantee of outcome. In choppier markets, breakouts above or below these bands might not lead to follow-through, so interpretation should always be combined with other evidence.
Simplified Market State Logic
By checking how price and the Golden VWAP behave from one bar to the next, the script tags the market state with labels like Bullish, Bearish, Super Bullish, or Super Bearish. These classifications hinge on whether the Golden VWAP is rising or falling, and whether price has crossed above or below the composite band. An optional table in the lower-left corner of the chart displays this label.
While such classification is convenient for scanning changing conditions quickly, it should be interpreted with caution. If the market is sideways or if volume patterns are erratic, the script can produce signals that do not align with real momentum. Treat these states as indications of potential bias rather than automatic buy or sell triggers.
Added Value
By gathering VWAP lines across multiple timeframes, generating alerts on all possible combinations of crossovers, and overlaying a composite VWAP with adjustable volatility bands, this script goes beyond typical single-timeframe VWAP indicators. It aims to let users track short-term shifts (e.g., daily crossing weekly) in the context of longer-term trends (e.g., yearly). This granularity and automation can reduce the need for multiple charts or manual recalculations of different VWAP windows.
Why It Can Be Worth Paying For
The capability to simultaneously anchor VWAP to multiple timeframes, detect crossovers, filter out daily signals by weekday/hour, and visualize a composite “Vein” with adjustable ranges represents a comprehensive feature set that free scripts often do not bundle together. For those who rely on multi-timeframe VWAP analysis, the time saved and clarity gained may justify a paid solution.
Interpreting Values
Crossover labels: Identify points where one timeframe’s VWAP moves above or below another. The direction (up or down) suggests potential momentum shifts.
Golden VWAP line: Treat it as the average “fair value” across all anchored periods. Large price moves above or below this line’s surrounding band might signal increased directional conviction—or false breakouts if volume is deceptive.
Market states: Use the Bullish/Super Bullish/Bearish/Super Bearish labels to gauge how price interacts with the composite’s slope and band.
How to Use It Best
Combine these signals with other risk-management methods.
Monitor multiple crossovers in tandem: for example, daily crossing weekly plus monthly crossing quarterly may offer stronger confluence.
Use the optional daily-label toggle to stay focused on selected higher-confidence signals if you find too many crossovers distracting.
Remember that every alert or label should be evaluated in broader market context and your own trading strategy.
Potential Shortcomings
As with any technical study, VWAP lines and crossovers are not foolproof predictors. The script can be less reliable in low-volume or fast-moving conditions. Large price shocks can cause abrupt changes that do not fit the typical patterns this indicator looks for.
In short, this script’s distinct advantage is showing multiple anchored VWAPs and a composite perspective in one place, offering fine control of alerts and appearance settings. Those who benefit most are chartists who want deeper VWAP insights across various timescales without juggling multiple separate indicators. However, like any technical tool, it should be understood as an aid rather than a guarantee of outcomes.