OPEN-SOURCE SCRIPT
Updated Riles' Rotation

This indicator is built off of the 1 hour time frame. I used the ZigZag indicator to get 500 data points on BTC since last april, ruling out <2% deviations in price. Taking those percentages, I ran them through an excel sheet and found which deviations were the most common. An up/down relationship I will call a rotation, there are 250 rotations derived from the 500 points of data. Thus, this indicator is based off of a 250 EMA. Each band is a common deviation on the 1 hour time frame, as indicated by an excel generated histogram. The common deviations also appear relevant on the daily timeframe for BTC. This demonstrates potential support and resistance, as well as potential mean reversion. Do not take trades blindly based off of it. It merely shows potential support and resistance based off of historical percentage deviations from the 250 EMA.
Release Notes
Changed the bottom and top channels, as well as altered the U2,3 and L2,3 to be crosses rather than lines. It makes the info a little easier to read imoOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.