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!
Volume
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.
Volumetric Support and Resistance [BackQuant]Volumetric Support and Resistance
What this is
This Overlay locates price levels where both structure and participation have been meaningful. It combines classical swing points with a volume filter, then manages those levels on the chart as price evolves. Each level carries:
• A reference price (support or resistance)
• An estimate of the volume that traded around that price
• A touch counter that updates when price retests it
• A visual box whose thickness is scaled by volatility
The result is a concise map of candidate support and resistance that is informed by both price location and how much trading occurred there.
How levels are built
Find structural pivots uses ta.pivothigh and ta.pivotlow with a user set sensitivity. Larger sensitivity looks for broader swings. Smaller sensitivity captures tighter turns.
Require meaningful volume computes an average volume over a lookback period and forms a volume ratio for the current bar. A pivot only becomes a level when the ratio is at least the volume significance multiplier.
Avoid clustering checks a minimum level distance (as a percent of price). If a candidate is too close to an existing level, it is skipped to keep the map readable.
Attach a volume strength to the level estimates volume strength by averaging the volume of recent bars whose high to low range spans that price. Levels with unusually high strength are flagged as high volume.
Store and draw levels are kept in an array with fields for price, type, volume, touches, creation bar, and a box handle. On the last bar, each level is drawn as a horizontal box centered at the price with a vertical thickness scaled by ATR. Borders are thicker when the level is marked high volume. Boxes can extend into the future.
How levels evolve over time
• Aging and pruning : levels are removed if they are too old relative to the lookback or if you exceed the maximum active levels.
• Break detection : a level can be removed when price closes through it by more than a break threshold set as a fraction of ATR. Toggle with Remove Broken Levels.
• Touches : when price approaches within the break threshold, the level’s touch counter increments.
Visual encoding
• Boxes : support boxes are green, resistance boxes are red. Box height uses an ATR based thickness so tolerance scales with volatility. Transparency is fixed in this version. Borders are thicker on high volume levels.
• Volume annotation : show the estimated volume inside the box or as a label at the right. If a level has more than one touch, a suffix like “(2x)” is appended.
• Extension : boxes can extend a fixed number of bars into the future and can be set to extend right.
• High volume bar tint : bars with volume above average × multiplier are tinted green if up and red if down.
Inputs at a glance
Core Settings
• Level Detection Sensitivity — pivot window for swing detection
• Volume Significance Multiplier — minimum volume ratio to accept a pivot
• Lookback Period — window for average volume and maintenance rules
Level Management
• Maximum Active Levels — cap on concurrently drawn levels
• Minimum Level Distance (%) — required spacing between level prices
Visual Settings
• Remove Broken Levels — drop a level once price closes decisively through it
• Show Volume Information on Levels — annotate volume and touches
• Extend Levels to Right — carry boxes forward
Enhanced Visual Settings
• Show Volume Text Inside Box — text placement option
• Volume Based Transparency and Volume Based Border Thickness — helper logic provided; current draw block fixes transparency and increases border width on high volume levels
Colors
• Separate colors for support, resistance, and their high volume variants
How it can be used
• Trade planning : use the most recent support and resistance as reference zones for entries, profit taking, or stop placement. ATR scaled thickness provides a practical buffer.
• Context for patterns : combine with breakouts, pullbacks, or candle patterns. A breakout through a high volume resistance carries more informational weight than one through a thin level.
• Prioritization : when multiple levels are nearby, prefer high volume or higher touch counts.
• Regime adaptation : widen sensitivity and increase minimum distance in fast regimes to avoid clutter. Tighten them in calm regimes to capture more granularity.
Why volume support and resistance is used in trading
Support and resistance relate to willingness to transact at certain prices. Volume measures participation. When many contracts change hands near a price:
• More market players hold inventory there, often creating responsive behavior on retests
• Order flow can concentrate again to defend or to exit
• Breaks can be cleaner as trapped inventory rebalances
Conditioning level detection on above average activity focuses attention on prices that mattered to more participants.
Alerts
• New Support Level Created
• New Resistance Level Created
• Level Touch Alert
• Level Break Alert
Strengths
• Dual filter of structure and participation, reducing trivial swing points
• Self cleaning map that retires old or invalid levels
• Volatility aware presentation using ATR based thickness
• Touch counting for persistence assessment
• Tunable inputs for instrument and timeframe
Limitations and caveats
• Volume strength is an approximation based on bars spanning the price, not true per price volume
• Pivots confirm after the sensitivity window completes, so new levels appear with a delay
• Narrow ranges can still cluster levels unless minimum distance is increased
• Large gaps may jump past levels and immediately trigger break conditions
Practical tuning guide
• If the chart is crowded: increase sensitivity, increase minimum level distance, or reduce maximum active levels
• If useful levels are missed: reduce volume multiplier or sensitivity
• If you want stricter break removal: increase the ATR based break threshold in code
• For instruments with session patterns: tailor the lookback period to a representative window
Interpreting touches and breaks
• First touch after creation is a validation test
• Multiple shallow touches suggest absorption; a later break may then travel farther
• Breaks on high current volume merit extra attention
Multi timeframe usage
Levels are computed on the active chart timeframe. A common workflow is to keep a higher timeframe instance for structure and a lower timeframe instance for execution. Align trades with higher timeframe levels where possible.
Final Thoughts
This indicator builds a lightweight, self updating map of support and resistance grounded in swings and participation. It is not a full market profile, but it captures much of the practical benefit with modest complexity. Treat levels as context and decision zones, not guarantees. Combine with your entry logic and risk controls.
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!
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.
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.
Gold Pivot Extension Strategy (XAUUSD)🏆 Gold Pivot Extension Strategy (XAU/USD)
🚀 Looking to trade gold with precision using smart price action logic?
This strategy combines pivot-based structure, Fibonacci extensions, and ATR-based risk management to capture high-probability trades on XAU/USD — perfect for intraday and swing traders.
🔍 What This Strategy Does:
✅ Detects swing highs and lows using pivot logic
✅ Projects 127.2% and 161.8% Fibonacci extensions for profit targets
✅ Enters trades only when price breaks key zones with momentum
✅ Uses ATR (Average True Range) to dynamically size your stop-loss
✅ Includes risk-based position sizing so you never over-leverage
✅ Trades both long and short, adapting to bullish or bearish setups
✅ Real-time price line overlays the chart for clarity
⚙️ How It Works:
📏 Pivot Points — Finds the most recent significant high/low based on candle structure
🔄 Fibonacci Extensions — Calculates extended targets from that range (127.2% & 161.8%)
📉 ATR-Based SL & Dynamic Sizing — Automatically adjusts risk per trade
🔁 Entries/Exits — Buy/sell triggers based on price crossing the extension line with momentum
📈 Visuals — Real-time plots of pivot points, extension lines, and price path
💡 Why It Works:
This strategy mimics how smart money moves the market:
Buys from support, takes profits at extension targets
Let's you follow structure, not emotion
Removes guesswork from stop-loss and lot size decisions
🧪 Backtest & Tweak:
Works best on 1H or 4H charts for XAU/USD
Ideal during active sessions (London, NY overlap)
Use alongside volume, RSI, or EMA filters for extra confidence
🔔 Want More?
✅ Add alerts for automatic trade signals
✅ Convert to indicator-only version for manual entries
✅ Integrate with multi-timeframe trend filters
📌 Final Note:
This is a high-precision strategy designed to trade with the market, not against it. Combine it with discipline and patience — and gold may just become your most reliable setup.
Composite Money Flow (MFI + CMF + OBV z-score)Composite Money Flow gives a single, easy-to-read readout of buy/sell pressure by combining three complementary flows:
MFI (Money Flow Index) — price × volume momentum, native 0..100
CMF (Chaikin Money Flow) — accumulation/distribution across the bar (≈ −1..+1)
OBV z-score — manual OBV (cumulative signed volume) standardized, then squashed to −100..+100
All three are normalized to the same scale (−100..+100) and combined with user-set weights to form a composite Money Flow Score plus a Signal (SMA). Use thresholds to flag strong accumulation/distribution and alerts for timely notifications.
What you get
Money Flow Score (−100..+100) with color change at zero
Signal line (SMA) to smooth whipsaw
Upper/Lower thresholds (defaults +50 / −50) with optional background shading
Component lines (optional) to see each contributor (MFI/CMF/OBV) on the same scale
Six alerts: cross up/down 0, enter/exit extreme zones, cross above/below signal
Inputs (key)
Lengths: MFI Length, CMF Length, OBV Z-Score Length, Signal Smoothing
Weights: Weight: MFI, Weight: CMF, Weight: OBV Z-Score (blend to taste)
Zones: Upper Threshold (+), Lower Threshold (−)
Display: Show Component Lines, Shade Background in Extreme Zones
How traders use it
Direction filter: Score > 0 favors longs; < 0 favors shorts.
Momentum turns: Score crosses Signal → early shift in flow.
Strength zones: Above Upper = strong buy pressure; below Lower = strong sell pressure.
Confluence: Pair with structure (S/R, trend) and execution rules (ATR stop, risk budget).
Notes (implementation)
OBV is computed manually for compatibility; then standardized (z-score) and squashed to −100..+100 (softsign).
All plots are non-repainting; signals update live until bar close like any indicator.
Alerts Provided
Money Flow crosses up 0
Money Flow crosses down 0
Money Flow enters positive zone (above Upper)
Money Flow enters negative zone (below Lower)
Money Flow crosses above Signal
Money Flow crosses below Signal
Good starting settings
MFI 14, CMF 20, OBV Z-Score 50, Signal 9
Weights: MFI 1.0, CMF 1.0, OBV 1.0
Thresholds: +50 / −50
Turn on background shading for quick visual reads
Disclaimer
This script is for educational purposes only and is not financial advice or a recommendation. Trading involves risk; past results do not guarantee future performance. Signals can fail, especially around news and regime shifts. Test on paper, verify settings, and use appropriate position sizing and risk controls. You are solely responsible for your trading decisions.
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.
Volume Printed Candles WITH RVOL BREAKOUT/BREAKDOWN CONFERMATIONANZAR873
RVOL (Relative Volume)
Relative Volume = Current Volume ÷ Average Volume (last N candles)
If RVOL = 1.0 → Current volume = exactly average.
If RVOL > 1.0 → Current volume is higher than average (buyers/sellers are active).
If RVOL < 1.0 → Current volume is lower than average (market dull, higher risk of fake moves).
Examples:
RVOL = 0.7 → Volume is only 70% of average → Weak move.
RVOL = 1.5 → Volume is 50% higher than average → Strong move, genuine breakout/breakdown likely.
🔹 Candle Colors (based on RVOL):
Grey (RVOL < 0.7) → Low volume, weak move, possible fake.
Blue (0.7 ≤ RVOL < 1.0) → Medium-low volume, some activity but weaker than average.
Orange (1.0 ≤ RVOL < 1.5) → High volume, strong buying/selling pressure. With breakout/breakdown → reliable.
Red (RVOL ≥ 1.5) → Very High / Ultra volume. Big players active. If support/resistance breaks with red candle → strongest confirmation.
🔹 How to use in trading?
Breakout/Breakdown Confirmation → Trust only if RVOL ≥ 1.2–1.5 and candle color is Orange or Red.
Avoid trading → When candles are Grey or Blue (fake move risk).
Scalping/Quick Trades → Low RVOL = small targets, High RVOL = bigger targets possible.
In simple words:
RVOL is like a strength meter of the candle.
Colors instantly show candle reliability:
Grey/Blue = Weak
Orange/Red = Strong
⚡ Perfect for intraday, scalping, and breakout traders who want quick volume-based confirmation.
Candle Aura Glow [mqsxn]Illuminate your charts with a dynamic visual overlay that highlights the true energy behind each candle. Candle Aura Glow wraps candles in soft glowing rings, with intensity driven by Range/ATR, Volume, or Momentum. The stronger the move, the brighter and larger the aura — instantly drawing your eye to candles that actually matter.
This tool is purely visual yet highly intuitive, designed to make volatility, strength, and sentiment obvious at a glance. Whether you’re spotting institutional-sized moves, filtering noise, or simply enhancing your chart readability, Candle Aura Glow brings price action to life.
Features
- Multiple Engines: Choose glow intensity based on Range/ATR, Volume, or Momentum (ROC).
- Aura Customization: Adjust number of rings, transparency fade, horizontal/vertical padding, and color schemes.
- Directional Colors: Separate glow tones for bullish vs bearish candles.
- Performance Controls: Option to render only the most recent candles for heavy charts.
- Non-Repainting: Auras are drawn only on confirmed bars, keeping the visualization reliable.
Inputs
- Intensity Engine – Select what drives aura strength (Range/ATR, Volume, Momentum).
- ATR Length / Volume SMA / Momentum Length – Customize smoothing windows per engine.
- Glow Levels (rings) – Number of glow layers drawn per candle.
- Horizontal Pad / Vertical Pad – Control aura spread sideways and vertically (ATR-scaled).
- Min Intensity – Filter out weak candles to focus only on significant moves.
- Inner Alpha / Outer Alpha – Control fade from center outward.
- Bull/Bear Aura Colors – Customize glow color by direction.
- Use full wick – Base aura on entire wick or just the candle body.
- Only render last N bars – Improve speed by limiting glow history.
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
Volume Range Ratio EFFORTVolume Divided by Range Histogram
With an adjustable high line to see when there is a struggle between buyers and sellers
and an adjustable EMA for the histogram
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.
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
________________________________________
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).
BIST/TL Volume TaramaVolume and Volume Moving Averages Line are available.
You can screem all stocks on the BIST with two conditions you can set.
Manish's Momentum Indicator
Combines **Trend Highlighter** (GMMA + SMA89) with **Trend Power** (MFI + ATR Normalization) for a dual framework.
Auto-marks fresh **BULL/BEAR trend shifts** and momentum extremes (Overheated, Oversold, Volatile Reversals, Calm Distribution).
ATR is normalized (0–100 scale) to identify whether moves happen in calm or volatile conditions.
Optionally plots the **15-min opening range box** to highlight the day’s initial balance.
Background coloring distinguishes trend bias vs. momentum extremes for quick chart scanning.
Built-in info table shows live readings of MFI, ATR Normalization, Composite Signal, and Trend Signal.
All-in-one dashboard for fast assessment of trend alignment, volatility regime, and momentum strength.
BTC Sessions, Anchored VWAP and Session Brackets This indicator is helpful for me so I'm sharing with everyone. It does the following:
Marks every session ( US, Asian, European) - you can change the colours or toggle them off
Anchors VWAP at the beginning of every trading session so that you can long/short with a point of reference
brackets the previous session with dotted plain lines.
The indicator is configurable and you can switch these on/off individually.
EMA Distance Risk Manager
An advanced risk management tool showing distance to the farthest EMA with precise monetary risk calculations and smart position sizing alerts.
🎯 What is EMA Distance Risk Manager?
The EMA Distance Risk Manager is a professional risk management indicator designed for traders who use EMAs as dynamic stop-loss levels. It calculates your exact monetary risk to the farthest EMA and provides intelligent position sizing recommendations.
⚡ Key Features
📊 Smart Risk Calculations
Measures distance to the farthest of 3 customizable EMAs (default: 8, 13, 21)
Converts distance to precise monetary risk in your account currency
Works with any instrument: Forex (pips), Futures (points/ticks), Stocks (points)
Handles complex futures contracts with automatic tick-to-point conversions
🚨 Advanced Risk Alerts
Visual color-coded warnings when risk exceeds your threshold
Automatic position sizing suggestions (e.g., "Reduce volume to 67% of current")
Customizable risk threshold in currency units (default: $10)
High-visibility alerts are impossible to miss
🎛️ Full Customization
Choose between Real Market Data or Chart Type Data (Heiken Ashi friendly)
4 table sizes: Tiny, Small, Normal, Large
9 position options: any corner or center location
Customizable display title and currency formatting
🔍 Professional Features
Shows 1 tick/pip/point value for position sizing calculations
Debug mode displays all EMA values and distances
Works with any chart type: Candles, Heiken Ashi, Line, Renko, Point & Figure
Real-time updates on every bar
💡 How It Works
EMA Calculation: Uses your choice of chart data or real market data
Distance Measurement: Finds the EMA farthest from the current price
Risk Calculation: Converts distance to monetary units using instrument specifications
Alert System: Warns when risk exceeds your threshold with position sizing advice
🎯 Perfect For
Swing Traders using EMAs as dynamic stop-losses
Risk Managers who need precise monetary risk calculations
Position Sizers requiring exact volume reduction suggestions
Multi-Timeframe Traders managing risk across different instruments
⚙️ Settings Overview
EMA Configuration
3 customizable EMA periods (default: 8, 13, 21)
Real OHLC vs Chart Type data selection
Show/hide EMA plots (style via TradingView's Style tab)
Risk Management
Risk threshold in currency units
Automatic volume reduction calculations
High-visibility warning system
Display Options
4 table sizes for different screen setups
9 positioning options
Custom title and formatting
Debug mode for troubleshooting
📈 Use Cases
Example 1: Forex Trading
EURUSD with a 20-pip distance to the farthest EMA
Risk threshold: $25
Shows: "Risk: $20.00 USD" (✅ Safe to trade)
Example 2: Futures Trading
ES with 15-point distance to the farthest EMA
Risk threshold: $50
Shows: "Risk: $75.00 USD" + "⚠️ Reduce volume to 67% of current"
🔧 Installation & Setup
Add an indicator to your chart
Set your risk threshold in currency units
Adjust EMA periods to match your strategy
Choose table size and position
Style EMAs via TradingView's Style tab if desired
📊 Works With All Instruments
Forex: Automatic pip calculations
Futures: Point/tick conversions (tested on ES, NQ, GC, etc.)
Stocks: Standard point calculations
Crypto: Precise decimal handling
⚠️ Risk Warning: This indicator is for informational purposes only. Always verify calculations and manage your risk appropriately. Past performance does not guarantee future results.
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.
All in One (5 MAs + Dynamic Cloud + OH/OL + Narrow Range)The indicator is an All In One indicator to show 5 MAs, Open=High/Low candle and to mark the expected narrow range of the candle.