TheOnlyFoXy

Foxy's Logarithmic Bollinger Bands

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.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?