"Professional-grade Anchored VWAP" logo
Professional-grade Anchored VWAP
"Professional-grade Anchored VWAP" uploaded image
"Professional-grade Anchored VWAP" uploaded image
"Professional-grade Anchored VWAP" uploaded image
"Professional-grade Anchored VWAP" uploaded image
Since 26/09/2025
10
Sales

This is a professional-grade custom indicator for cTrader designed to calculate the Anchored Volume Weighted Average Price (AVWAP). Unlike standard VWAP indicators that reset daily, this tool allows traders to "anchor" the calculation to a specific high-impact event—such as a CPI release, a market crash, or the start of a trend—providing a true institutional view of the average price since that moment. It also includes Volume-Weighted Standard Deviation Bands to identify overextended price action.


1. Core Calculation & Anchoring Logic


  • Precision Anchoring: The indicator utilizes a user-defined Anchor Date (e.g., "2024-01-01 10:00") to strictly ignore all data prior to that specific minute. This ensures the average price reflects only the participants involved in the current specific move or timeframe.
  • Institutional Formula: It calculates the true VWAP using the cumulative sum of (Price × Volume) divided by the cumulative sum of Volume.
  • Typical Price Source: By default, it uses the "Typical Price" (High + Low + Close) / 3 for calculations, which is the standard method used by institutional algorithms to determine fair value, though this can be adjusted to Open or Close prices.


2. Advanced Volatility Bands


To help traders gauge market extremes, the indicator calculates two sets of dynamic bands based on Volume-Weighted Variance:

  • Band 1 (The Value Zone): Defaults to 1.0 Standard Deviation. This inner zone typically contains the "fair value" noise of the market. A breakout from this zone often signals momentum.
  • Band 2 (The Extreme Zone): Defaults to 2.0 Standard Deviations. Prices reaching this outer band are statistically overextended, often signaling potential mean-reversion opportunities (fading the move) or strong trend exhaustion.
  • Independent Control: Both bands include individual Show toggles (ShowBand1, ShowBand2) and customizable deviation multipliers (Band1Dev, Band2Dev), allowing for clean charts tailored to specific volatility strategies.


3. Visual & Operational Logic


  • Strategic Color Coding:
    • Yellow (VWAP): Acts as the central "magnet" or trend baseline.
    • Lime Green (Band 1): Represents the immediate support/resistance "Value Area".
    • Red (Band 2): Highlights extreme deviations where reversal probability increases.
  • State Preservation: The code utilizes IndicatorDataSeries for internal state variables (_cumVol, _cumPV), ensuring that values remain accurate during historical recalculations and real-time updates without repainting errors.


Logic Flow Summary


  1. Initialize: Parse the user's specific Anchor Date string into a system DateTime object.
  2. Filter Time: For every bar, check if the current time is before the Anchor. If so, return NaN (draw nothing) and reset cumulative counters to zero.
  3. Accumulate Data: Once the Anchor time is reached, begin adding the current bar's Volume and (Price × Volume) to the running total.
  4. Compute VWAP: Divide the Running PV Total by the Running Volume Total to get the VWAP line.
  5. Compute Variance: Calculate volume-weighted variance and derive the Standard Deviation.
  6. Plot Bands: Add/Subtract the calculated Deviation from the VWAP to plot the Lime and Red bands.
Indicator profile
0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!
BTCUSD
Forex
Breakout
Indices
EURUSD
Commodities
GBPUSD
NZDUSD
Fibonacci
VWAP
Bollinger
Scalping
SMC
Crypto
Stocks
XAUUSD
NAS100
USDJPY
Products available through cTrader Store, including trading bots, indicators and plugins, are provided by third-party developers and made available for informational and technical access purposes only. cTrader Store is not a broker and does not provide investment advice, personal recommendations or any guarantee of future performance.

More from this author

Automated ORB bot: Stop/Limit entries, EMA/PDH filters, auto-BE, and session trade limits.
Fixed Range Volume Profile (FRVP) : analyzes price volume within a custom rectangle to find POC, VAH, and VAL.
Tracks virgin levels. Lines vanish only after a candle closes beyond the high/low on your chosen timeframe.
Auto-detects Swing Highs/Lows to draw dynamic Support & Resistance levels with break tracking.
Session-based range tool projecting adaptive Gann & Fib levels with auto bias flip and extensions.
Session POC levels for Asia, London & NY with mitigation tracking for precise liquidity-based trading.

You may also like

PrimeTrend: ATR trendline detects reversals, plots entry/SL/3 targets. Tune params (speed vs. robustness). Backtest +
REAL Supertrend because default Ctrader Supertrend gives different signals
Enhance trading with TSV! Analyze volume flow and price trends using the powerful Time Segmented Volume indicator.
Buy/Sell signals filtering noise, color-coded trends & strength shield 🛡️. Trade only with POWER ⚡
Comprehensive time session indicator
Non-repainting Fractal + ZigZag indicator with smart filtering. True market structure. No future function, no drift.
ToolBox V1.0
Market Session Indicator
This Indicator will show you Direction, Distance, and Time;
📈 Initial Balance Breakout Signals: visually accurate IB levels, breakout alerts & forecast zones for smart trading.
Approach to price analysis by visualizing candlestick data through the lens of linear regression slopes 📈📉
📈 Divergency v1.1 Indicator for cTrader: A Comprehensive Guide 🚀
Nadaraya-Watson Envelope Indicator
Bar Force is a bar strength analysis indicator that evaluates the last X candles on the chart
The Follow Line Indicator is a versatile tool designed to identify market trends and provide accurate buy/sell signals.
🧭 See when your market tends to move—by Month, Day-of-Week, or Hour-of-Day🧭
OAK PRICE ACTION INDICATOR by EDDEREK
Flexible Volume Profile, designed with performance in mind.
Since 26/09/2025
10
Sales