PROTECTED SOURCE SCRIPT
Updated 90min cycles

I did this little script to help me with the cycle I hope it will help some of you too !
For default, I have made 90 min cycle, but you can change it easily on the settings if you prefer an other time interval because it is really subjectif.
By default the cycle will begin at midnight from YOUR local time, but this can be a little annoying when you want for example to make it begin at midnght from NY or London without changing the UTC of your chart (if you still want to have your hour displayed normally).
I couldn't find an indicator to help me do that so I added a little setting which allow you to move the start hour of your cycle (so you will have to do some math to move it accordingly to what you want but that's okay ;) ).
That way you can choose the interval you like AND when it begin !
For default, I have made 90 min cycle, but you can change it easily on the settings if you prefer an other time interval because it is really subjectif.
By default the cycle will begin at midnight from YOUR local time, but this can be a little annoying when you want for example to make it begin at midnght from NY or London without changing the UTC of your chart (if you still want to have your hour displayed normally).
I couldn't find an indicator to help me do that so I added a little setting which allow you to move the start hour of your cycle (so you will have to do some math to move it accordingly to what you want but that's okay ;) ).
That way you can choose the interval you like AND when it begin !
Release Notes
Update chartRelease Notes
Fixed a bug which was making 2 horizontal line in the middle of the chartProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.