OPEN-SOURCE SCRIPT

Forex Session Breaks DST AWARE!

There seems to be no open source forex trading session DST (Daylight Savings Time) aware scripts which I think is absurd. This amazing community deserves better. So I adapted some code by icostan adding DST capabilities.

Original code by icostan here
Session breaks

I added DST code. Warning may not be perfect yet. Could be a bug or two. It only supports 3 major sessions right now but you can add your own rules for the other timezones by copying my logic.

It is open source so please add the other sessions and regions as needed and update me please.
breaksdaylightDSTsavingssessionsessionbreakssessionsTIMETrend 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