krishnakhanna

Panchang Time

//This indicator is required in NimblrTA and can be used to define timeslots for the trend confirmation

study("Panchang Time", overlay=true)
timeinrange(res, sess) => time(res, sess) != 0
premarket = #C0C0C0
regular = #0000FF
regularslot2 = #00CCFF
postmarket = #5000FF
notrading = na
sessioncolor = timeinrange("30", "0915-0930") ? premarket : timeinrange("30", "0915-0930") ? regular : timeinrange("30", "0931-1200") ? regularslot2 : timeinrange("30", "1201-1305") ? postmarket : notrading
bgcolor(sessioncolor, transp=90)
Release Notes: Updated Panchang Timeslot Indicator
Date:29/01/2022

This indicator is required in NimblrTA and can be used to define timeslots for the trend confirmation
Release Notes: Date: 29/01/2022

This indicator is required in NimblrTA and can be used to define timeslots for the trend confirmation
Refer to KP Panchang to identify the timeslots and update them from settings

Intended for intraday usage.

Automated Tools/Indicators/Screeners available at https://kkonline.org/nimblrta
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?