EmreKb

[EmreKB] BB Trend Magic

The BB Magic indicator is a trend-following tool that operates similarly to the Trend Magic indicator but uses the upper and lower values of Bollinger Bands. It works by dynamically adjusting its reference point based on the price's relationship with the Bollinger Bands.

Initially, the indicator uses the Bollinger Bands' lower value (BB Lower) as its reference. If the price reaches a higher BB Lower value, the BB Magic value is updated to this new BB Lower. This process continues as long as the price remains above the BB Magic value.

However, if the price closes below the BB Magic value, the reference point switches to the Bollinger Bands' upper value (BB Upper). In this case, the BB Magic value is updated to the new BB Upper value if the price creates a lower BB Upper. This mechanism helps capture downtrends effectively.

Whenever the price crosses above the BB Magic value again, the reference point switches back to BB Lower, and the cycle repeats. This approach allows the BB Magic indicator to adapt to price movements and trend changes more accurately, providing a reliable tool for traders to analyze market trends and make informed decisions.

Feel free to share your experiences and feedback on using the BB Magic indicator.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?