OPEN-SOURCE SCRIPT

Trading Day and Time Session

This script provides options for the user to choose:
- Start date and End date
- Trade time during a day (With UTC offset)
- Which days of the week to trade

It return a condition if all the date and time conditions are true. It's very easy to integrate with any script.

https://www.tradingview.com/x/H4f8Eqdd/
daterangetooldatetimePine utilitiessessionrangeTIMEtradesession

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