All indicators

Volatility - Time of Day Report

Feb 28, 2023

Static chart image
Time BasedDashboardVolatility

The Volatility - Time of Day Report indicator analyzes historical market volatility and generates statistical reports based on specific hours of the day. This tool helps traders identify high-activity periods and quiet sessions, allowing for better-informed decisions regarding entry timing, strategy adjustment, and asset selection.

Usage

The script is designed to be used on intraday timeframes (primarily the 1-hour chart) to collect and aggregate volatility data. The output is displayed as a histogram where each column represents an hour of the day.

  • Identifying Peak Volatility: Traders can see which specific hours exhibit the highest relative movement to prepare for breakouts or avoid slippage.
  • Strategy Optimization: Compare your strategy's historical performance against the most volatile times to see if certain hours should be avoided or prioritized.
  • Asset Selection: Use the report to determine which pairs in a watchlist are most active during your specific trading window.
  • Timezone Alignment: Adjust the reporting to match your local time, the exchange time, or UTC to visualize how different global sessions (London, New York, Tokyo) impact the asset.

Details

The indicator calculates volatility relative to the average daily range (ATR) rather than absolute price changes. This normalization ensures that the data remains relevant even if the asset undergoes significant price shifts or different regimes of volatility over time.

The calculation includes price gaps to provide a comprehensive view of market movement. Because different exchanges observe Daylight Saving Time (DST), the script allows for geographical timezone selection to maintain accuracy throughout the year. For the best results, use the 1-hour timeframe; however, the script also supports 30-minute and 15-minute intervals for markets that open at non-hourly increments (e.g., 9:30 AM).

Settings

Report

  • Timezone: Select between Exchange time, UTC, or specific geographical regions to align the report with desired market sessions.
  • Daily ATR Period: Sets the lookback period for the daily average true range used to normalize hourly volatility.
  • Output: Choose between "Mean" (average) or "Median" (middle value) for the statistical aggregation of the data.
  • From / To: Defines the historical date range used for data collection.

Style

  • High Volatility: Sets the color used to represent the highest volatility periods in the histogram gradient.
  • Low Volatility: Sets the color used to represent the lowest volatility periods in the histogram gradient.

FAQ

How do I access the Volatility - Time of Day Report? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Which timeframe should I use for this indicator? The indicator is optimized for the 1-hour timeframe. If an asset's session begins on a 15 or 30-minute mark, you should use the corresponding 15m or 30m timeframe for accurate data collection.

What does it mean if a column is red vs blue? The columns use a color gradient based on the "High Volatility" and "Low Volatility" settings. Typically, red indicates the most volatile hours in the dataset, while blue indicates the quietest periods.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.