OPEN-SOURCE SCRIPT

Sideways detection bollinger bands

26077
Sideways detection indicator using Bollinger bands .

In this case we take the original ratio between lower and upper and we smooth it even harder in order to get a better idea about the accuracy of the trend.

If the initial ratio is not between 0 and 1 and the smooth ratio is higher than our selected value, we get an idea if we are a in trending market or not.

Of course using it as a standalone has no usage, and it has to be combined with other tools like moving average, oscillators and so on.


IF you have any questions let me know

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.