PROTECTED SOURCE SCRIPT

Session Volatility Monitor

66
Overview

Session Volatility Monitor is a versatile volatility indicator tailored for intraday and session-based trading. It computes the average maximum price deviation (either up or down) from the session's opening price over a user-specified number of prior days, providing insights into expected "room to move" in the current session. This helps traders gauge potential exhaustion points, set realistic targets or stops, and identify when a directional move has reached historical norms (flagged as "REACHED" with the exact price level).
Displayed via a customisable table and optional horizontal target lines, it's ideal for markets like forex, crypto, futures, or stocks where session volatility matters. The indicator supports custom sessions with timezone adjustments, making it adaptable to global trading hours (e.g., London, NY, or Asia kill zones). For assets with small tick sizes (e.g., forex pairs at 0.0001), a multiplier scales values for readability (e.g., showing pips as 67.0 instead of 0.00670).

Key Features

Session-Based Calculations:

Defines sessions via presets (e.g., "NY Kill Zone: 07:00-10:00") or custom HHMM-HHMM inputs. (please note that preset sessions are mainly for futures e.g. "Full Day18:01-17:00", but also can be useful for forex and crypto)
Adjustable UTC offset (e.g., -5 for ET) to align with your asset's timezone—ensures accurate detection regardless of TradingView's UTC internal clock.
Tracks the max one-sided move (high - open or open - low) per session, averaging over 1–N previous days (default: 14).

Table Display:

Avg Max Move: Historical average deviation, labeled with days averaged and session time.
Current Move: Real-time displacement from session open (positive for up, negative for down).
Room to Go Up/Down: Remaining distance to reach the average, updating live; appends "REACHED (price)" if hit during the session.
Customisable: Text color, font size (tiny to huge), position (e.g., bottom_left), and value scaling via multiplier/decimal places.

Target Lines:

Optional horizontal lines at "Up Target" (open + avg move) and "Down Target" (open - avg move).
Lines start at the session open bar and extend only through the session duration (e.g., stops at 12:00 for a 07:00-12:00 session)—no further projection post-session.
Fully customisable: Toggle on/off, color, style (solid/dotted/dashed), width, label text/background.

Display Adjustments for Forex/Crypto:

Multiplier: Scales raw values (e.g., set to 10000 for EURUSD to show pips like 45.0 instead of 0.0045).
Decimals: Controls precision (0–5 places) for table values.

How to Use

Add to Chart: Search for "Session Volatility Monitor" in TradingView's indicators and apply to your symbol (e.g., EURUSD for forex, NQ1! for futures, BTCUSD for crypto).

Configure Settings:

Select a session preset or custom range; adjust UTC offset if needed (e.g., +0 for UTC symbols like crypto).
Set "Number of Previous Days to Average" (e.g., 14 for a two-week look back).
For small-tick assets, set Multiplier (e.g., 100 for crypto points, 10000 for forex pips) and Decimals (e.g., 0 for whole numbers).
Customise table position/size/color and target lines for visibility.

Interpret Outputs:

Monitor the table for "room to go"—if Room Up is low/negative, upside might be limited; "REACHED" signals a potential reversal or exhaustion.
Use target lines as visual S/R levels; they auto-start at session open and halt at close.
Combine with price action, volume, or other indicators for entries (e.g., buy near down target if bullish bias).

Example Scenario:

Forex (GBPUSD, 1-min): Set session to "London Kill Zone: 02:00-05:00" (UTC+0), multiplier=10000. Table shows pips; lines mark expected highs/lows.

Limitations and Tips

Historical Data Limits: Averages are capped by TradingView's bar history (e.g., ~14 days on 1-min for free plans). Upgrade for deeper look backs or use higher timeframes.

Session Accuracy: Ensure UTC offset matches your chart—test with the "In Session" plot (enable in Style tab, zoom y-axis if columns are tiny).
No Alerts/Signals: Purely informational; add custom alerts via TradingView for "REACHED" conditions.

Performance: On very low timeframes with long sessions, lines might consume line limits (max ~50)—toggle off if needed.

Tips: For crypto/forex, experiment with multiplier to match your preferred units (e.g., points vs. decimals). Hide debug plot in Style tab for clean charts. If "REACHED" doesn't trigger, verify on historical data where moves exceed averages.

This tool draws from concepts like Average Daily Range but focuses on directional, session-specific volatility for precise intraday decision-making. Feedback welcome!

Disclaimer

This indicator is for educational purposes only and does not constitute financial advice. Always consult a professional before trading.


Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.