This versatile indicator plots logarithmic Bollinger Bands on any financial asset or timeframe in the TradingView platform. Unlike traditional Bollinger Bands, which use simple arithmetic calculations, Foxy's LBB employs logarithmic scales to better capture and visualize percentage-based price movements.
The core functionality includes:
Basis Line: A central moving average line calculated on the log10 of the selected price source (default is close price). Multiple moving average types are available, including SMA, EMA, RMA, and volume-weighted variants. Upper/Lower Bands 1: The first set of upper and lower bands, plotted at a user-defined number of standard deviations (default 2.0) above and below the Basis Line. Upper/Lower Bands 2: A second set of bands plotted at a different standard deviation level (default 3.0) to cater to different volatility preferences. Offset: An option to vertically offset the plotted lines for better visualization alongside other indicators or studies. By using a logarithmic scale, Foxy's LBB provides a more accurate representation of percentage-based price changes, making it particularly useful for analyzing and trading volatile assets or markets with significant price swings.
Traders can leverage this indicator for various purposes, such as identifying potential overbought/oversold conditions, gauging volatility levels, and spotting trend continuations or reversals based on the interaction between price and the band levels.
Whether you're a seasoned trader or just starting, Foxy's LBB offers a powerful and flexible tool to enhance your technical analysis and decision-making process in the TradingView environment.
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.
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.