OPEN-SOURCE SCRIPT

Indian Market Sessions for Backtesting

This indicator is designed to increase the quality of your backtesting in the Indian Market.

NSE & BSE run from 9:15 am IST to 3:30 pm IST.

Naturally different times have different kinds of volatility.

On your chart you will find premarked -
  • Saffron - 9:15 am to 10:30 am - Opening Session - High Volatility Observed Historically
  • White - 10:35 am to 2:25 pm - Middle Session - Lower Volatility Observed Historically
  • Green - 2:30 pm to 3:30 pm - Closing Session - Medium to High Volatility Observed Historically


You will also find the start of each session marked with an arrow.

Feel free to change the times from the input settings and the color and visibility from the style settings.

_______________
Usage:
snapshot

When you backtest any strategies, say moving average crossovers, also mark the sessions in your sheet which will help you further increase accuracy.

Feel free to drop your doubts in the comments.
backtestingBSECyclesintradaynsesentimentsessionsTrend Analysis

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?


Also on:

Disclaimer