OPEN-SOURCE SCRIPT

Morph's Time Filter

Time Filter (days of week and hours of day)

Here you can select which days of the week you would like to filter as well as what hours you would like it to trade within. Take this code and add it to any script and use the "TimeFilter" to your strategies or indicators to filter out certain times
multitimeframe

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