VWAP Price ChannelVWAP Price Channel cuts the crust off of a traditional price channel (Donchian Channel) by anchoring VWAPs at the highs and lows. By doing this, the flat levels, characteristic of traditional Donchian Channels, are no more!
Author's Note: This indicator is formed with no inherent use, and serves solely as a thought experiment.
> Concept
I would be hesitant to call this a "predictive" indicator, however the behavior of it would suggest it could be considered at least partially predictive
Essentially, the Anchored VWAPs creates something from otherwise nothing.
While the DC upper or lower values are staying flat, the VWAPs improvise based on price and volume to project a level that may be a better representation of where future highs or lows may settle.
Visually, this looks like we have cut off the corners of the Donchian Channel.
Note: Notice how we are calculating values before the corners are realized.
> Implementation
While this is only a concept indicator, The specific application I've gone with for this, is a sort of supertrend-ish display (A Trend Flipping Trailing Stop Loss).
The script uses basic logic to create a trend direction, and then displays the Anchored VWAPs as a form of trailing stop loss.
While "In Trend", the script fills in the area between the VWAP and Price in the direction of trend.
When new highs or lows are made while in trend, the opposite VWAP will start to generate at the new highs or lows. These happen on every new high or low, so they are not indicating the trend shift, but could be interpreted as breakout levels for the current trend direction in order for continuation.
Note: All values are drawn live, but when using higher timeframes, there is a natural calculation discrepancy when using live data vs. historical.
> Technicals
In this script, I'm simply detecting new highs or lows from the DC and using those as the anchor frequency on the built-in VWAP function.
So each time a new high or low is made based on DC, the VWAP function re-anchors to the high or low of the candle.
Past that, I have implemented some logic in order to account for a common occurrence I faced during development.
Frequently, the price would outpace the anchored VWAP, so we would end up with the VWAP being further from price than the actual DC upper or lower.
Due to this, what I have ended up with was a third value which, rather than switching between raw VWAP values and DC values, it adjusts the value based on the change in the VWAP value.
This can be simply thought of as a "Start + Change" type of setup.
By doing this, I can use the change values from the actual anchored VWAP, and under normal conditions, this will also be the true VWAP value.
However, situationally, I am able to update the start value which we're applying the VWAP change to.
In other words, when these situations happen, the VWAP change is added to the new (closer to price) DC value.
The specific trend logic being used is nothing fancy at all, we are simply checking if a new high or low is created and setting the trend in that direction.
This is in line with some traditional DC Strategies.
To those who made it here,
Just remember:
The chart may be ugly, but it's the fastest analysis of the data you can get.
Nicer displays often come at the hidden cost of latency.
You have to shoot your shot to make it.
Choose 2: Fast, Clean, Useful
Enjoy!
Volume
Index Position Size Calculator for [US30 / US100 / SP500]What it does
This tool helps you size positions consistently for index trades on US30 (Dow Jones), NAS100 (Nasdaq-100), and SP500 (S&P 500). Enter your account balance, risk %, and your planned Entry / Stop-Loss / Target and the script calculates:
• Position Size (rounded to your lot/contract step)
• Risk-to-Reward (R/R)
• Potential P/L in USD based on your inputs
• Visual Entry / SL / TP lines with green/red zones and concise labels
Supported contract styles
Choose a preset for common products (e.g., CFD $1/pt, YM/NQ/ES futures, MYM/MNQ/MES micros) or override the economics yourself. You remain in control of the two key levers:
• $/point — how many dollars you gain/lose per 1 index point per contract/lot
• Point size — how many price units equal 1 index point on your chart (often 1.0, but some brokers use 0.1 or 0.5)
Inputs
• Account Balance ($) and Risk % per trade
• Index: US30 / NAS100 / SP500
• Contract: CFD / Futures (YM, NQ, ES) / Micros (MYM, MNQ, MES)
• $/point: auto from Contract or manual override
• Point size: auto from Index or manual override
• Position size step: rounding (e.g., 1 for futures, 0.01 for CFDs)
• Entry / SL / TP: typed values (snapped to tick), with on-chart zones and labels
• Display toggles for lines and labels
How the math works
• StopPoints = |Entry − SL| ÷ PointSize
• ProfitPoints = |TP − Entry| ÷ PointSize
• Position Size = (AccountBalance × Risk%) ÷ (StopPoints × $/point)
• R/R = ProfitPoints ÷ StopPoints
• Potential P/L = PositionSize × Points × $/point
How to use (quick start)
1. Select Index and Contract.
2. Confirm $/point and Point size match your broker’s specs.
3. Enter Entry / SL / TP for the trade idea.
4. Read the Position Size, R/R, and Potential P/L in the info box.
5. Adjust for fees, spreads, and slippage as needed.
Notes & limitations
• Broker symbols can vary. Always verify $/point and Point size for your instrument before risking capital.
• The script does not place orders and does not generate trade signals; it’s a sizing/visualization tool.
• Results can differ across brokers due to pricing, spreads, minimum lot sizes, and execution rules.
• Use on the intended indices; you’ll see a reminder if you load it elsewhere.
Changelog highlights
• Pine v6, constant-safe inputs, tick-snapping, global fills (no local-scope errors).
• Robust label handling and optional minimal chart markers.
Disclaimer
This script is provided for educational purposes only and does not constitute financial advice or a recommendation to buy or sell any security or derivative. Trading involves risk, including the possible loss of principal. Always do your own research, verify contract specifications with your broker, and consider testing in a demo environment before trading live.
Anchored Grids ft. VolumeINTRO
The 'Volume Profile' is a great tool, isn’t it? It shows us where volume has accumulated on the chart and helps guide trading decisions. The only catch is that we can’t really choose the levels—it’s all based on where volume happens to cluster. But what if we reversed the logic and measured the volume at the levels we define? That’s exactly what this script does, giving you a fresh way to spot support and resistance :)
OVERVIEW
'Anchored Grids ft. Volume' is a sophisticated technical analysis tool that combines price grid analysis with volume accumulation metrics. This indicator dynamically calculates and displays custom support and resistance levels based on a user-defined timeframe, while simultaneously tracking and visualizing volume accumulation at each specific price level. Unlike traditional volume profile indicators that use complex statistical clustering, this tool provides straightforward volume measurement at predetermined technical levels. It answers a critical question: "How much trading activity occurred near the key price levels I care about?".
HOW DOES THIS INDICATOR WORK?
This indicator builds a customizable grid system anchored to the opening price of any user-selected timeframe (hourly, daily, weekly, etc.). From that anchor point, it continuously tracks the highest high and lowest low, then calculates equidistant grid levels within that range. Two calculation modes are available—Arithmetic and Geometric—allowing flexibility in how the levels are distributed.
Once the grid is established, a volume accumulation engine comes into play. For each price bar, the script checks whether the bar’s range intersects with any level’s tolerance zone (default 0.01%). If a touch is detected, that bar’s volume is added to the corresponding level. Over time, this process builds a clear picture of where significant trading activity has clustered.
The visualization system highlights these dynamics by applying a color gradient based on volume intensity and adjusting line thickness proportional to accumulated volume. Each level is also labeled with four key data points:
The grid number (in square brackets)
The price of the level
The percentage distance between the level and the opening price of the selected timeframe
The total volume accumulated within the level’s tolerance range
PARAMETERS
Timeframe: Defines the anchor period for grid calculation. Then, the indicator automatically determines the open, high, and low prices.
Mode: This option determines how the distance between levels is calculated: Arithmetic (linear) means equal price spacing between levels, while Geometric (logarithmic) means equal percentage spacing between levels.
Grids: It's the number of levels between high and low.
Color: Base color for grid lines and labels. When volume data is displayed, lower values are darkened by 50%.
Show Volume Accumulation: When this parameter is activated, the volume calculation is enabled.
Tolerance : The Tolerance parameter (default range: 0.01%) defines the price range around each grid level where volume accumulation is registered. It acts as a sensitivity control that determines how close price must be to a level to count trading volume toward that level's accumulation.
ORIGINALITY
It’s possible to find comprehensive grid-drawing tools among community indicators, but I haven’t come across an example that combines this concept with volume data. More importantly, I wanted to demonstrate how volume accumulation can be generated for any data modeled as an array on the chart by developers.
SUMMARY
In conclusion, the selected timeframe and the number of grids are only used as a reference to determine where the levels are drawn. The true value of this indicator lies in its ability to calculate volume accumulation directly from the chart’s own candles, showing how much trading activity occurred around each level. The result is a hybrid framework that merges structural price analysis with volume distribution, offering traders deeper insights into where markets are likely to react.
NOTE
While powerful, this tool should be used as part of a comprehensive trading strategy rather than as a standalone system. Always combine with risk management principles and market context awareness. I hope it helps everyone. Trade as safely as possible. Best of luck!
SMC - Institutional Confidence Oscillator [PhenLabs]📊 Institutional Confidence Oscillator
Version: PineScript™v6
📌 Description
The Institutional Confidence Oscillator (ICO) revolutionizes market analysis by automatically detecting and evaluating institutional activity at key support and resistance levels using our own in-house detection system. This sophisticated indicator combines volume analysis, volatility measurements, and mathematical confidence algorithms to provide real-time readings of institutional sentiment and zone strength.
Using our advanced thin liquidity detection, the ICO identifies high-volume, narrow-range bars that signal institutional zone formation, then tracks how these zones perform under market pressure. The result is a dual-wave confidence oscillator that shows traders when institutions are actively defending price levels versus when they’re abandoning positions.
The indicator transforms complex institutional behavior patterns into clear, actionable confidence percentiles, helping traders align with smart money movements and avoid common retail trading pitfalls.
🚀 Points of Innovation
Automated thin liquidity zone detection using volume threshold multipliers and zone size filtering
Dual-sided confidence tracking for both support and resistance levels simultaneously
Sigmoid function processing for enhanced mathematical accuracy in confidence calculations
Real-time institutional defense pattern analysis through complete test cycles
Advanced visual smoothing options with multiple algorithmic methods (EMA, SMA, WMA, ALMA)
Integrated momentum indicators and gradient visualization for enhanced signal clarity
🔧 Core Components
Volume Threshold System: Analyzes volume ratios against baseline averages to identify institutional activity spikes
Zone Detection Algorithm: Automatically identifies thin liquidity zones based on customizable volume and size parameters
Confidence Lifecycle Engine: Tracks institutional defense patterns through complete observation windows
Mathematical Processing Core: Uses sigmoid functions to convert raw market data into normalized confidence percentiles
Visual Enhancement Suite: Provides multiple smoothing methods and customizable display options for optimal chart interpretation
🔥 Key Features
Auto-Detection Technology: Automatically scans for institutional zones without manual intervention, saving analysis time
Dual Confidence Tracking: Simultaneously monitors both support and resistance institutional activity for comprehensive market view
Smart Zone Validation: Evaluates zone strength through volume analysis, adverse excursion measurement, and defense success rates
Customizable Parameters: Extensive input options for volume thresholds, observation windows, and visual preferences
Real-Time Updates: Continuously processes market data to provide current institutional confidence readings
Enhanced Visualization: Features gradient fills, momentum indicators, and information panels for clear signal interpretation
🎨 Visualization
Dual Oscillator Lines: Support confidence (cyan) and resistance confidence (red) plotted as percentage values 0-100%
Gradient Fill Areas: Color-coded regions showing confidence dominance and strength levels
Reference Grid Lines: Horizontal markers at 25%, 50%, and 75% levels for easy interpretation
Information Panel: Real-time display of current confidence percentiles with color-coded dominance indicators
Momentum Indicators: Rate of change visualization for confidence trends
Background Highlights: Extreme confidence level alerts when readings exceed 80%
📖 Usage Guidelines
Auto-Detection Settings
Use Auto-Detection
Default: true
Description: Enables automatic thin liquidity zone identification based on volume and size criteria
Volume Threshold Multiplier
Default: 6.0, Range: 1.0+
Description: Controls sensitivity of volume spike detection for zone identification, higher values require more significant volume increases
Volume MA Length
Default: 15, Range: 1+
Description: Period for volume moving average baseline calculation, affects volume spike sensitivity
Max Zone Height %
Default: 0.5%, Range: 0.05%+
Description: Filters out wide price bars, keeping only thin liquidity zones as percentage of current price
Confidence Logic Settings
Test Observation Window
Default: 20 bars, Range: 2+
Description: Number of bars to monitor zone tests for confidence calculation, longer windows provide more stable readings
Clean Break Threshold
Default: 1.5 ATR, Range: 0.1+
Description: ATR multiple required for zone invalidation, higher values make zones more persistent
Visual Settings
Smoothing Method
Default: EMA, Options: SMA/EMA/WMA/ALMA
Description: Algorithm for signal smoothing, EMA responds faster while SMA provides more stability
Smoothing Length
Default: 5, Range: 1-50
Description: Period for smoothing calculation, higher values create smoother lines with more lag
✅ Best Use Cases
Trending market analysis where institutional zones provide reliable support/resistance levels
Breakout confirmation by validating zone strength before position entry
Divergence analysis when confidence shifts between support and resistance levels
Risk management through identification of high-confidence institutional backing
Market structure analysis for understanding institutional sentiment changes
⚠️ Limitations
Performs best in liquid markets with clear institutional participation
May produce false signals during low-volume or holiday trading periods
Requires sufficient price history for accurate confidence calculations
Confidence readings can fluctuate rapidly during high-impact news events
Manual fallback zones may not reflect actual institutional activity
💡 What Makes This Unique
Automated Detection: First Pine Script indicator to automatically identify thin liquidity zones using sophisticated volume analysis
Dual-Sided Analysis: Simultaneously tracks institutional confidence for both support and resistance levels
Mathematical Precision: Uses sigmoid functions for enhanced accuracy in confidence percentage calculations
Real-Time Processing: Continuously evaluates institutional defense patterns as market conditions change
Visual Innovation: Advanced smoothing options and gradient visualization for superior chart clarity
🔬 How It Works
1. Zone Identification Process:
Scans for high-volume bars that exceed the volume threshold multiplier
Filters bars by maximum zone height percentage to identify thin liquidity conditions
Stores qualified zones with proximity threshold filtering for relevance
2. Confidence Calculation Process:
Monitors price interaction with identified zones during observation windows
Measures volume ratios and adverse excursions during zone tests
Applies sigmoid function processing to normalize raw data into confidence percentiles
3. Real-Time Analysis Process:
Continuously updates confidence readings as new market data becomes available
Tracks institutional defense success rates and zone validation patterns
Provides visual and numerical feedback through the oscillator display
💡 Note:
The ICO works best when combined with traditional technical analysis and proper risk management. Higher confidence readings indicate stronger institutional backing but should be confirmed with price action and volume analysis. Consider using multiple timeframes for comprehensive market structure understanding.
Demand and Supply by Stock Fusion 1.1Title: Demand and Supply by Stock Fusion 1.1
Description: The "Demand and Supply by Stock Fusion 1.1" indicator is designed to identify and visualize institutional demand and supply zones on a chart, helping traders spot potential areas of price reversal or continuation. It highlights key price levels based on specific candlestick patterns and Momentum volume characteristics, making it suitable for various trading styles such as intraday, swing, or positional trading. The indicator supports customizable settings for timeframes, zone styles, and visual elements, ensuring flexibility for both novice and experienced traders.
Key features include:
• Dynamic Zone Detection: Identifies demand (DZ- RBR, DBR) and supply (SZ- DBD, RBD) zones on user-selected lower timeframes (LTF) or the chart’s native timeframe.
• Candle Coloring: Highlights explosive bullish/bearish candles and accumulation/base candles to emphasize significant price movements or consolidation phases.
• Zone Visualization: Plots zones as colored boxes with optional right extensions and customizable labels for clarity.
• Zone Management: Automatically removes zones after price retests or mitigation, ensuring the chart remains uncluttered.
• Informative Table: Displays real-time data on the closest zone, including the symbol, last traded price (LTP), zone type, proximal/distal prices, and proximity percentage.
• Customizable Settings: Offers options for trading modes (Manual, Normal, Conservative, Study), timeframe selection, zone strength, colors, transparency, and more.
This indicator is ideal for traders seeking to analyze market structure through institutional price action and Explosive Momentum volume based zones, with a focus on clarity and usability.
Functional Overview
1. Input Configuration:
o Trading Mode: Users can select from "Manual," "Normal," "Conservative," or "Study" modes to adjust zone sensitivity and behavior.
o Timeframe Selection: Allows users to choose a lower timeframe (e.g., 1-minute to yearly) for zone detection or use the chart’s native timeframe.
o Zone Strength: Adjustable multiplier for lower timeframe zones to control sensitivity.
o Visual Customization: Options to toggle candle coloring, zone labels, borders, and right extensions, with customizable colors, transparency, and label sizes.
o Table Settings: Configurable table for displaying zone data, with options for position, background color, text color, and font size.
o Zone Removal: Features to automatically remove zones after price retests or full mitigation to keep the chart clean.
2. Zone Detection:
o Identifies demand zones (Rally-Base-Rally , Drop-Base-Rally ) and supply zones (Drop-Base-Drop , Rally-Base-Drop ) based on candlestick patterns, volume thresholds, and price action relative to a moving average.
o Uses a base candle range (1 to 3 candles by default) to detect consolidation periods before explosive price movements.
o Incorporates momentum volume analysis to ensure zones are formed during high-Low volume periods, enhancing reliability.
3. Candle Analysis:
o Explosive Candles: Detects bullish or bearish candles with large body-to-range ratios and high volatility (based on ATR) to highlight significant price movements.
o Boring/Accumulation Candles: Identifies candles with small body-to-range ratios to mark consolidation phases, often preceding breakouts.
o Colors candles based on user preferences to visually distinguish explosive and accumulation phases.
4. Zone Visualization:
o Plots demand and supply zones as colored boxes, with options for "Wick to Wick" or "Body to Wick" zone styles.
o Supports right-extended zones for better visibility of active levels.
o Adds labels to zones (e.g., "D-DZ" / "D-SZ" for daily demand zone) with customizable sizes and colors.
5. Zone Management:
o Automatically removes zones when price closes within or beyond them, depending on user settings for retest or second-leg mitigation.
o Tracks removed zones to prevent redundant plotting and maintain chart clarity.
6. Table Display:
o Displays a table summarizing the closest active zone, including the symbol, current price, zone type (DZ/SZ), proximal/distal prices, and proximity percentage.
o Updates dynamically based on price action and zone changes.
7. Performance Optimization:
o Uses arrays to manage zones, labels, and table data efficiently.
o Limits the number of plotted elements (boxes, labels, lines) to comply with resource constraints (e.g., max 500 boxes/labels).
o Supports dynamic requests to handle data across different timeframes.
Disclaimer:-
The Demand and Supply by Stock Fusion 1.1 indicator is intended solely for informational and technical analysis purposes and does not provide financial advice or trading recommendations. Trading carries significant risks, including the potential for substantial financial losses. Users are fully responsible for their trading decisions and should perform their own research, assess their risk tolerance, and consult a licensed financial advisor before making any trades. The indicator’s signals are derived from market data, and historical performance does not guarantee future results. The developers and providers of this indicator are not liable for any losses or damages resulting from its use.
VWMA MACD Trend Grinder Buy/Sell SignalsDescription:
This indicator combines a VWMA-based MACD with volume and trend filters to reduce false buy and sell signals.
It is designed to give more reliable entry and exit points in trending markets while avoiding low-volume noise.
Features:
1. VWMA MACD:
- MACD is calculated using Volume-Weighted Moving Averages (VWMA) instead of standard EMAs.
- Histogram shows the difference between MACD and its signal line.
2. Volume Filter:
- Signals are only triggered when current volume exceeds a multiple of its moving average.
- Reduces false signals in low-volume periods.
3. Trend Filter:
- Only triggers buy signals when price is above a long-term VWMA (uptrend).
- Only triggers sell signals when price is below the long-term VWMA (downtrend).
- Helps avoid counter-trend trades.
4. Plots:
- MACD (blue), Signal (orange), Histogram (green/red)
- Trend VWMA (purple)
- Buy and Sell arrows in the indicator pane (green/red)
5. Alerts:
- Configurable alerts for buy and sell signals filtered by volume and trend.
Inputs:
- Fast Length: VWMA period for the fast MACD line (default 12)
- Slow Length: VWMA period for the slow MACD line (default 26)
- Signal Length: EMA period for the MACD signal line (default 9)
- Volume MA Length: Length for volume moving average filter (default 20)
- Volume Threshold Multiplier: Multiplier for volume filter (default 1.2)
- Trend VWMA Length: Period for long-term trend VWMA (default 50)
- Price Source: Close, HL2, HLC3, OHLC4
Usage:
- Use as a confirmation tool along with other analysis techniques.
- Buy when the green triangle appears (MACD crossover, above trend VWMA, sufficient volume).
- Sell when the red triangle appears (MACD crossunder, below trend VWMA, sufficient volume).
- Trend VWMA helps visually confirm the market trend.
OB/FVG Precision Overlap ZonesThis indicator highlights only the zones where Order Blocks (OBs) and Fair Value Gaps (FVGs) overlap, filtering out weaker signals. By focusing on these confluence areas, it helps identify higher-probability entries and cleaner risk to reward setups.
Institutional Session VWAP Bands (Zeiierman)█ Overview
Institutional Session VWAP Bands (Zeiierman) plots a clean, session-aware VWAP that restarts at the “True Close” (end of the first trading hour) for each session you enable (Sydney, Tokyo, London, New York). From that anchor, the script computes a classic volume-weighted average price plus optional standard-deviation bands to frame session fair value and dispersion.
By aligning VWAP to when institutional flows settle (the first hour), you get a reference that matches real execution behavior, yielding more credible pullbacks, retests, and mean-reversion reads inside each session.
█ How It Works
⚪ Session Detection
You choose the sessions (on/off), their UTC-aligned time windows, and colors. The script detects when each session is active on your chart timeframe.
⚪ True-Close Anchoring
At session open the indicator waits. When the first hour completes, it flips the anchor on and starts a fresh VWAP for that session, mirroring how many desks treat the first hour as the real close for the prior day’s positioning.
⚪ VWAP Core
From the true-close anchor, VWAP is calculated in the standard way: cumulative (price × volume) / cumulative volume using your chosen price source (default hlc3).
⚪ VWAP Bands (σ)
Upper/Lower bands are built using a running standard deviation of the price source since the anchor. You control the σ multiplier and line width, and you can optionally fill between the bands.
█ Why Sessions + True-Close Anchoring
⚪ Institutional Timing Matters
A new anchor at the first-hour close reflects where real flows have settled, giving you a session fair-value line that aligns with how many funds evaluate prices intraday.
⚪ Cleaner Session Reads
Because VWAP and σ-bands restart each session, your retests, squeezes, and mean-reversion signals are based on today’s order-flow context, not yesterday’s inertia.
Result: a session-true fair-value with dispersion bands that stay close to the action, improving the quality of pullback entries and risk framing.
█ How to Use
⚪ Session Fair-Value Guide
Treat VWAP as the magnet for intraday value. Impulsive moves away from VWAP that fold back often present retest opportunities.
⚪ σ-Band Reversion & Breaks
Reversion: Tests beyond the upper/lower band that snap back inside can flag exhaustion.
Trend: Price riding the VWAP band in a strong trend
⚪ Session Handoffs
When one session hands to the next, watch how price behaves around the new session’s VWAP Bands after its anchor triggers. Continuation through the new VWAP vs. rejection often sets the tone.
█ Settings
UTC: Choose the timezone used to evaluate session windows (e.g., UTC+2).
Sessions (Sydney, Tokyo, London, New York): Toggle visibility and define each HHMM-HHMM window.
VWAP Price: Source for weighting.
Band Multiplier (σ): Standard deviation multiplier.
█ Related publications
True Close – Institutional Trading Sessions (Zeiierman)
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
VSA Super Candles
🎯 Overview
This Pine Script was developed for VSA (Volume Spread Analysis) with a well-defined hierarchical priority system. The code identifies different types of market events based on volume, spread, and price behavior, painting candles with specific colors according to their importance.
🏗️ System Architecture
Priority System (Hierarchical)
🔴 Climatic Event (Red) - Maximum Priority
🟠 Big Boss (Orange) - Second Priority
🟣 Compression (Purple) - Third Priority
⚫ Normal (Gray) - Lowest Priority
📊 Event Types
🔴 Climatic Event (Red)
Characteristics:
Ultra-high volume (default: 310% of average)
Wide spread (above configured threshold)
"Wrong" close (opposite to bar direction)
Specific conditions:
Up bar that closes at low (Selling Climax)
Down bar that closes at high (Buying Climax)
VSA Concept: Represents extreme exhaustion of one side of the market, usually marking important reversal points.
🟠 Big Boss (Orange)
Characteristics:
Ultra-high volume (default: 250% of average)
Significant price displacement
Wide spread with real movement of candle body
Activated only when there's no Climatic Event
VSA Concept: Massive volume generating real displacement, indicating entry/exit of large players.
🟣 Compression (Purple)
Characteristics:
Average volume (between normal and high)
Signs of exhaustion or reversal
Differential: Horizontal volume analysis
Activation conditions:
Upthrust (higher high, closes down)
Minor selling climax (lower low, closes up)
Horizontal volume spike + average volume
VSA Concept: Support/resistance test with controlled volume, frequently precedes important movements.
⚫ Normal (Gray)
Characteristics:
Normal volume (default: 50% of average)
Normal displacement or automatic price exhaustion
Auto-activation: Detects exhaustion even with normal volume
🛠️ Technical Components
Storage Buffers
var bool buffer_climatico = array.new_bool()
var bool buffer_big_boss = array.new_bool()
var bool buffer_comprimido = array.new_bool()
var bool buffer_normal = array.new_bool()
Store event history
Limited to 100 values for optimization
Allow posterior statistical analysis
Horizontal Volume Analysis
Compares current volume with average of last 5 bars
Configurable multiplier factor (default: 1.5x)
Impact: Increases probability of identifying compressions
Automatic Exhaustion System
Up Exhaustion: Higher high + close lower than previous
Down Exhaustion: Lower low + close higher than previous
Works independently of volume
⚙️ Configurable Parameters
Parameter Default Description
Volume Average Length 60 Period for volume average
% Climatic Event 310% Threshold for climatic volume
% Big Boss 250% Threshold for Big Boss volume
% Normal Volume 50% Threshold for normal volume
Spread Threshold 0.7 Multiplier for wide spread
Close Position Threshold 0.3 Limit for "edge closes"
Horizontal Volume Factor 1.5 Multiplier for horizontal spike
📍 Visual Markers
Chart Symbols
🔴 Climatic Event: Red circles above/below bars
🟠 Big Boss: Orange circles indicating direction
⬆⬇ Compression: Purple arrows for reversals
H Horizontal Compression: Marks differentiated horizontal volume
Statistics Table
Position: Top right corner
Content:
Count of each event type (last 50 bars)
Current volume vs. average ratio
Update: Real-time on last bar
🎨 Color System
final_color = evento_climatico ? color.red :
big_boss ? color.orange :
comprimido ? color.purple :
vela_normal ? color.gray :
color.gray
Logic: The first true condition defines the color, respecting priorities.
🔄 Execution Flow
Basic Calculations: Average volume, spread, close position
Horizontal Analysis: Comparison with previous bars
Exhaustion Detection: Identification of reversal patterns
Priority Application: Sequential evaluation (Climatic → Normal)
Storage: Buffer updates
Visualization: Bar coloring and markers
📈 Implemented Improvements
Code Organization
Detailed comments in each section
Descriptive variable names
Clear and sequential IF/ELSE logic
Separation by functionality
Performance
Buffers with automatic cleanup
Optimized calculations
Limited history control
Advanced VSA Functionality
Hierarchical priority system
Horizontal volume analysis
Automatic exhaustion detection
Multiple types of climatic events
Usability
Configurable parameters
Real-time visual feedback
Performance statistics
Intuitive markers
🎓 Applied VSA Concepts
Volume Spread Analysis
Principle: Relationship between Volume, Spread, and Close reveals market intentions
Implementation: Each event type represents a specific VSA scenario
Smart Money vs. Retail
Climatic Event: Retail exhaustion, Smart Money entry
Big Boss: Direct Smart Money movement
Compression: Controlled testing/accumulation
Wyckoff Method
Absorption: Identified in compressions
Distribution/Accumulation: In climatic events
Mark-up/Mark-down: In Big Boss events
🚀 How to Use
Add the script to your TradingView chart
Configure parameters according to your timeframe and asset
Observe bar colors to identify events
Use markers for additional confirmation
Monitor the table for real-time statistics
📝 Important Notes
Script strictly respects priority hierarchy
Higher priority events always prevail
Horizontal analysis differentiates special compressions
Automatic exhaustion system captures subtle reversals
Performance optimized for real-time use
🔧 Installation
Open TradingView Pine Editor
Copy and paste the complete script
Click "Add to Chart"
Adjust parameters in the settings panel
Save to your indicator library
📊 Trading Applications
Entry Signals
Climatic Events: Look for reversal confirmations
Big Boss: Follow the displacement direction
Compression: Watch for breakouts after testing
Risk Management
Use event hierarchy to gauge market strength
Higher priority events suggest stronger moves
Normal events may indicate consolidation periods
Market Context
Trending Markets: Big Boss events show continuation
Range-bound Markets: Compressions at key levels
Reversal Points: Climatic events at extremes
🤝 Contributing
This script follows VSA principles and can be enhanced with:
Additional timeframe analysis
Alert system for key events
Backtesting capabilities
Custom color schemes
Version: Pine Script v6
Compatibility: TradingView
Author: Victor Eduardo Americo
VWMA MACD Amanita Buy/Sell Signals VWMA MACD Amanita Buy/Sell Signals – Volume-Weighted Momentum Indicator
A twist on the classic MACD: this indicator uses Volume Weighted Moving Averages (VWMA) instead of EMAs, giving more weight to price moves backed by higher volume.
Features:
VWMA-based MACD line & signal line
Histogram highlights bullish/bearish momentum
Color-coded for easy visualization
Quick Guide:
MACD above Signal → bullish
MACD below Signal → bearish
Rising histogram → strengthening trend
Falling histogram → weakening trend
Perfect for traders who want momentum confirmed by volume.
VWMA MACD AmanitaVWMA MACD (Volume-Weighted MACD)
This indicator modifies the standard MACD by replacing EMAs with VWMAs
(Volume-Weighted Moving Averages).
- Fast VWMA (default 12 bars)
- Slow VWMA (default 26 bars)
- MACD Line = Fast VWMA - Slow VWMA
- Signal Line = EMA of MACD (default 9 bars)
- Histogram = MACD - Signal
Compared to the standard MACD, this version emphasizes price moves that
are backed by higher trading volume, helping to filter out weak signals.
The script also lets you choose the price source (Close, HL2, HLC3, OHLC4).
OHLC Horizontal Compact + Volume + Buy/SellA compact, single-row horizontal table for TradingView displaying Open, High, Low, Close (OHLC), net change, percentage change, volume, and buy/sell pressure percentages. The table is fully color-coded for easy interpretation: green for positive values, red for negative, and yellow for neutral. Table position is fully customizable (top, middle, bottom / left, center, right). Ideal for traders who want a concise, real-time snapshot of price action and market sentiment in a single row.
Features:
OHLC values in one horizontal row
Net change (Δ) and % change with directional arrows
Real-time volume display
Buy/Sell pressure % with dynamic coloring
Fully customizable table placement
Works on all timeframes
VPOC Harmonics - Liquidity-Weighted Price / Time RatiosVPOC Harmonics - Liquidity-Weighted Price / Time Ratios
Summary
This indicator transforms a swing’s price range, duration, and liquidity profile into a structured set of price-per-bar ratios. By anchoring two points and manually entering the swing’s VPOC (highest-volume price), it generates candidate compression values that unify price, time, and liquidity structure. These values can be applied to chart scaling, harmonic testing, and liquidity-aware market geometry.
________________________________________
Overview
Most swing analysis tools only consider price (ΔP) and time (N bars). This script goes further by incorporating the VPOC (Point of Control) — the price with the highest traded volume — directly into swing geometry.
• Anchors define the swing’s Low (L), High (H), and bar count (N).
• The user manually enters the VPOC (highest-volume price).
• The indicator then computes a suite of ratios that integrate range, duration, and liquidity placement.
The output is a table of liquidity-weighted price-per-bar candidates, designed for compression testing and harmonic analysis across swings and instruments.
________________________________________
How to Use
1. Select a Swing
- Place Anchor A and Anchor B to define the swing’s Low, High, and bar count.
2. Find the VPOC
- Apply TradingView’s Fixed Range Volume Profile tool over the same swing.
- Identify the Point of Control (POC) — the price level with the highest traded volume.
3. Enter the VPOC
- Manually input the POC into the indicator settings.
4. Review Outputs
- The table will display candidate ratios expressed mainly as price-per-bar values.
5. Apply in Practice
- Use the ratios as chart compression inputs or as benchmarks for testing harmonic alignments across swings.
________________________________________
Outputs
Swing & Inputs
• Bars (N): total bar count of the swing.
• Low (L): swing low price.
• High (H): swing high price.
• ΔP = H − L: price range.
• Mid = (L + H) ÷ 2: midpoint price.
• VPOC (V): user-entered highest-volume price.
• Base slope s0 = ΔP ÷ N: average change per bar.
• π-adjusted slope sπ = (π × ΔP) ÷ (2 × N): slope adjusted for half-cycle arc geometry.
________________________________________
VPOC Harmony Ratios (L, H, V, N)
• λ = (V − L) ÷ ΔP: normalized VPOC position within the range.
• R = (V − L) ÷ (H − V): symmetry ratio comparing lower vs. upper segment.
• s1 = (V − L) ÷ N: slope from Low → VPOC.
• s2 = (H − V) ÷ N: slope from VPOC → High.
________________________________________
Blended Means (s1, s2)
These combine the two segment slopes in different ways:
• HM(s1,s2) = 2 ÷ (1/s1 + 1/s2): Harmonic mean, emphasizes the smaller slope.
• GM(s1,s2) = sqrt(s1 × s2): Geometric mean, balances both slopes proportionally.
• RMS(s1,s2) = sqrt((s1² + s2²) ÷ 2): Root-mean-square, emphasizes the larger slope.
• L2 = sqrt(s1² + s2²): Euclidean norm, the vector length of both slopes combined.
________________________________________
Slope Blends
• Quadratic weighting: s_quad = s0 × ((V−L)² + (H−V)²) ÷ (ΔP²)
• Tilted slope: s_tilt = s0 × (0.5 + λ)
• Entropy-scaled slope: s_ent = s0 × H2(λ), with H2(λ) = −
________________________________________
Curvature & Liquidity Extensions
• π-arc × λ: s_arc = sπ × λ
• Liquidity-π: s_piV = sπ × (V ÷ Mid)
________________________________________
Scale-Normalized Families
With k = sqrt(H ÷ L):
• k (scale factor) = sqrt(H ÷ L)
• s_comp = s0 ÷ k: compressed slope candidate
• s_exp = s0 × k: expanded slope candidate
• Exponentiated blends:
- s_kλ = s0 × k^(2λ−1)
- s_φλ = s0 × φ^(2λ−1), with φ = golden ratio ≈ 1.618
- s_√2λ = s0 × (√2)^(2λ−1)
________________________________________
Practical Application
All formulas generate liquidity-weighted price-per-bar ratios that integrate range, time, and VPOC placement.
These values are designed for:
• Chart compression settings
• Testing harmonic alignments across swings
• Liquidity-aware scaling experiments
________________________________________
Frozen 4H VWAP – Precision AnchoredFrozen 4H VWAP – Precision Anchored Like Ice
The Frozen 4H VWAP – Precision Anchored delivers a clean, stable, and reliable view of the 4-hour Volume Weighted Average Price, designed for traders who want higher timeframe insights without intrabar noise or repainting.
🔹 Key Features:
Non-Repainting: VWAP value is “frozen” at the close of each 4H candle — no mid-bar updates or flickering.
4H Timeframe Anchoring: Seamlessly pulls 4-hour VWAP values into any timeframe you’re trading on.
Clear Trend Reference: Updates only when a new 4H candle begins, acting as a trustworthy anchor for support/resistance.
Custom Source Option: Choose from different price sources (default: HLC3) to fit your strategy.
Whether you're scalping, day trading, or swing trading, this indicator gives you a powerful edge by grounding your decisions in higher timeframe VWAP data — clear, calm, and frozen in time.
Auto Orderblock Generator Pro Version 3.1 IndicatorThis indicator automatically generates order blocks on any time frame so you can analyze charts with precision and know where high areas of liquidity lie in real time.
MATEOANUBISANTIDear traders, investors, and market enthusiasts,
We are excited to share our High-Low Indicator Range for on . This report aims to provide a clear and precise overview of the highest and lowest values recorded by during this specific hour, equipping our community with a valuable tool for making informed and strategic market decisions.
Previous High/Low Range (D,W,M,Q)Previous High/Low Range (D, W, M, Q)
This indicator displays the previous period’s high, low, and midpoint levels across multiple timeframes: Daily, Weekly, Monthly, and Quarterly. It extends these key price levels into the future, allowing traders to quickly identify important support and resistance zones based on historical price action.
Features:
Shows previous Daily, Weekly, Monthly, and Quarterly highs, lows, and midpoints.
Optionally extends these levels forward for easy visualization.
Configurable colors and visibility for each timeframe.
Includes optional midpoint lines at 50% between high and low to identify equilibrium points.
Supports logarithmic scale calculations for midpoints to maintain accuracy on log charts.
Optional labels that display exact price values for each level.
Designed to help traders recognize key levels for entries, exits, and risk management.
Use this indicator to gain a multi-timeframe perspective on significant price ranges and anticipate potential reversal or breakout zones.
BA Context (HTF, Sessions, Levels, ADR) – v6BA Context is a combination of various indicators, designed primarily for higher timeframes to support context analysis.
Svl - Trading SystemPrice can tell lies but volume cannot, so keeping this in mind I have created this indicator in which you see sell order block and buy order block on the basis of price action + volume through which we execute our trade
First of all, let us know its core concepts and logic, which will help you in taking the right decisions in it.
core concept of the " Svl - Trading System " TradingView indicator is based on professional price action, volume, and swing structure. This indicator smartly gives real-time insights of important price turning points, reversal zones, and trend continuation. Its deep explanation is given below.
Edit - default swing length -5 , change according your nature , tested With 7 For 5 minute timeframe
Core Concept:
1. Swing Structure Detection
The indicator automatically detects swing highs (HH/LH) and swing lows (HL/LL) on the chart.
HH: Higher High
HL: Higher Low
LH: Lower High
LL: Lower Low
These swings are the backbone of price action – signaling a change in trend, a bounce, reversal or trend continuation.
2. Order Block (OB) Mapping
Buy Order Block (Buy OB): When the indicator detects the HL/LL swing, we declare Buy OB, the lowest point of the swing.
Sell Order Block (Sell OB): On HH/LH swing, the highest point of our swing is called Sell OB.
Order Blocks are those important zones of price where historically price has reacted strongly – where major clusters of buyers/sellers are located in the market.
3. Volume Analysis (Optional Dashboard/Barcolor)
The candle color depends on the volume ranking on the chart (most high/low, normal, pressure blue shade).
Highest/lowest volume candles are a special highlight, which helps to spot liquidity spikes, exhaustion, or big orders.
4. Live Dashboard
There is an automated dashboard in the top-right of the chart, which shows this in real-time:
Last swing type (HH/HL/LH/LL)
Reversal price (last swing level)
Swing direction (Bull/Bear/Neutral)
Volume, Buy OB, Sell OB, etc.
This helps the trader understand the market situation at a glance.
5. Smart Plotting/Labels
Buy/Sell are plotted as distinct lines on the OB chart.
The Labels option gives clear visual swing points.
All calculations are fast and automated – the user does not need to mark manually.
This indicator is an advanced, fully-automated price action tool that combines
trend, reversal, volume, liquidity and zone detection in one smart system,
makes entry/exit decisions objective and error-free,
and provides complete trading confidence with a live monitor/dashboard.
All of its functions/properties such as: swing detect, OB plot, volume color, dashboard follow best practice for professional chart analysis!
ATR Dashboard (Pane Only)🔧 Core Logic
ATR Source: Multi-timeframe ATR (default 1H while trading 5m/15m).
Threshold Rule:
TREND = ATR > (ATR_SMA × k)
NORMAL = otherwise
Sessions: Only evaluates during London (02:00–07:00 ET) and New York (07:00–11:30 ET) by default.
Smoothing: ATR compared against its SMA (default 10-period).
k Multiplier: Controls sensitivity (default 1.20).
🖥️ Visuals
✅ TREND: Green label (or green background if enabled).
⚪ NORMAL: Gray label.
⏸️ OUT OF SESSION: Dim label, so you don’t force trades off-hours.
📊 Optional panel shows ATR, ATR_SMA, and Threshold values in real time.
📊 Dashboard + Overlay Combo
Use this overlay on your chart TF for tactical entries.
Pair with an ATR Dashboard (pane) on a higher TF (like 1H) for the strategic backdrop.
Overlay TREND + Dashboard TREND → High conviction trending environment.
Overlay TREND but Dashboard NORMAL → Fragile breakout, trade smaller or pass.
Both NORMAL → Chop/range → stick to 1:1.4 BE rules.
⚖️ Trading Playbook Integration
NORMAL Mode (ATR below threshold)
50% partial at 1R.
BE @ 1:1.4.
Runner capped at 2R.
TREND Mode (ATR above threshold)
50% partial at 1R.
BE @ 1:1.6.
Remainder trails ATR ×1.5.
Reserve ~15% of trend trades as no-partials for fat-tail home runs (4R–6R+).
🔔 Alerts
ATR Trend ON (in session) → “ATR > Threshold → Switch to TREND BE (1:1.6).”
ATR Trend OFF (in session) → “ATR ≤ Threshold → Switch to NORMAL BE (1:1.4).”
Perfect for getting pinged the moment volatility regime flips.
📌 Tips
k = 1.20 → balanced (default).
k = 1.10–1.15 → more TREND calls (sensitive).
k = 1.30+ → only strongest trends count.
Run it with overlay ON chart TF for execution, and dashboard on HTF for context.
Best used during active London/NY sessions.
✅ This isn’t a signal generator. It’s a regime filter + risk manager.
It keeps you from chasing chop and helps you mechanically switch BE rules without hesitation.
⚡ Pro tip: Combine with a Trend Continuation HUD, Elliott Wave Convergence overlay, or a Bollinger+RSI/MFI reversal scanner for a full tactical playbook.
ATR Trend Switch (ATR > k*ATR_SMA) - Overlay + Session Windows🔧 Core Logic
ATR Source: Multi-timeframe ATR (default 1H while trading 5m/15m).
Threshold Rule:
TREND = ATR > (ATR_SMA × k)
NORMAL = otherwise
Sessions: Only evaluates during London (02:00–07:00 ET) and New York (07:00–11:30 ET) by default.
Smoothing: ATR compared against its SMA (default 10-period).
k Multiplier: Controls sensitivity (default 1.20).
🖥️ Visuals
✅ TREND: Green label (or green background if enabled).
⚪ NORMAL: Gray label.
⏸️ OUT OF SESSION: Dim label, so you don’t force trades off-hours.
📊 Optional panel shows ATR, ATR_SMA, and Threshold values in real time.
📊 Dashboard + Overlay Combo
Use this overlay on your chart TF for tactical entries.
Pair with an ATR Dashboard (pane) on a higher TF (like 1H) for the strategic backdrop.
Overlay TREND + Dashboard TREND → High conviction trending environment.
Overlay TREND but Dashboard NORMAL → Fragile breakout, trade smaller or pass.
Both NORMAL → Chop/range → stick to 1:1.4 BE rules.
⚖️ Trading Playbook Integration
NORMAL Mode (ATR below threshold)
50% partial at 1R.
BE @ 1:1.4.
Runner capped at 2R.
TREND Mode (ATR above threshold)
50% partial at 1R.
BE @ 1:1.6.
Remainder trails ATR ×1.5.
Reserve ~15% of trend trades as no-partials for fat-tail home runs (4R–6R+).
🔔 Alerts
ATR Trend ON (in session) → “ATR > Threshold → Switch to TREND BE (1:1.6).”
ATR Trend OFF (in session) → “ATR ≤ Threshold → Switch to NORMAL BE (1:1.4).”
Perfect for getting pinged the moment volatility regime flips.
📌 Tips
k = 1.20 → balanced (default).
k = 1.10–1.15 → more TREND calls (sensitive).
k = 1.30+ → only strongest trends count.
Run it with overlay ON chart TF for execution, and dashboard on HTF for context.
Best used during active London/NY sessions.
✅ This isn’t a signal generator. It’s a regime filter + risk manager.
It keeps you from chasing chop and helps you mechanically switch BE rules without hesitation.
⚡ Pro tip: Combine with a Trend Continuation HUD, Elliott Wave Convergence overlay, or a Bollinger+RSI/MFI reversal scanner for a full tactical playbook.
Institutional Interest DisplayIndicator Overview:
This dashboard helps evaluate stocks quickly based on Market Cap, 52-week positioning, and liquidity metrics. It combines price strength with volume demand signals for breakout or institutional interest.
Logic Implemented:
1. Market Cap Classification:
- Market Cap = close × shares_outstanding (built-in value if available)
- Large-cap: ≥ ₹20,000 Cr
- Mid-cap: ₹5,000 – 20,000 Cr
- Small-cap: < ₹5,000 Cr
2. 52-Week Range (% from High/Low):
- 52W High = ta.highest(high, 252)
- 52W Low = ta.lowest(low, 252)
- % from 52W High = (Close ÷ 52W High – 1) × 100
- % from 52W Low = (Close ÷ 52W Low – 1) × 100
- CANSLIM logic → Prefer stocks near highs, avoid near lows
3. Average Daily Volume (ADV):
- ADV = ta.sma(volume, 50)
- Chosen 50D (more reliable than 20/30D, smooths anomalies)
4. Breakout Volume Confirmation:
- Volume Signal = Current Volume ÷ ADV
- Breakout Threshold = >1.5 × ADV
- Helps detect demand-driven price breakouts
5. % Change in Volume vs ADV:
- %Chg = ((Current Vol ÷ ADV) – 1) × 100
- Indicates abnormal activity vs typical trading
6. Up/Down Volume Ratio (U/D Ratio):
- Defined as: (Sum of volume on up days ÷ Sum of volume on down days)
- 50-day window
- U/D > 1 = net buying pressure
- U/D > 1.2 = stronger institutional demand
7. Up Days with Volume ≥ 1.5 × ADV:
- Counts number of up days (Close > Previous Close) in last 50 days where Volume ≥ 1.5 × ADV
8. Average Turnover:
- AvgTurnover = Avg Volume × Price
- Thresholds:
- Large-cap ≥ 1000M
- Mid-cap ≥ 200M
- Small-cap ≥ 50M
Table Layout:
- 4 Columns:
- Col 1 → Category, Market Cap, % from 52W Low, % from 52W High
- Col 2 → Values for above
- Col 3 → Avg Volume, Vol Today, %Chg Vol, U/D Ratio
- Col 4 → Values for above + Up Days >1.5 × ADV, Avg Turnover
Color Coding:
- Value cells have distinct background colors
- Labels = black text, grey background
- Green highlights signify thresholds met