OPEN-SOURCE SCRIPT

Seasonality - Session Performance - Morning Afternoon Evening

By ILuvMarkets
Updated
Use this indicator on Intraday Timeframe. Higher the timeframe, more the data

This script calculates the performance of an instrument for different sessions.
Session inputs can be updated to study performance of
- Morning vs Afternoon vs Evening
- Pre-Market vs Market vs Post-Market (provided the data feed supports pre and post market)
- Overnight vs Intraday

Three session inputs are provided to tweak the session range

Performance is calculated as session close / session open - 1

Session timeframes can be set for various countries. Make sure the session timeframe aligns with the Candle open/close for the timeframe you choose. Some examples below
US Markets: 0930-1130 1130-1430 1430-1630 Timeframe 1 hour
India Markets: 0915-1030 1030-1415 1415-15:30 Timeframe 75min
Release Notes
Added AVG/+ive aggregates
Release Notes
Added Win Rate and Daily Avg Returns
afternooneveningintradaymorningnseovernightpre-marketSPX (S&P 500 Index)Trend Analysis
ILuvMarkets

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer