1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
73 lines of Pine Script v5 from volume/04-volume-log10-bb.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Log Volume + Bollinger Band calculates Bollinger Bands around the chosen volume series using standard deviation and selectable moving average smoothing types, including Hull and exponential averages. Input settings allow users to adjust moving average lengths, standard deviation multipliers, moving average algorithms, table placement, and color-coding logic based on price or volume changes. As a standalone indicator, it does not provide automated trading signals, entry triggers, or trade execution rules.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Table Position
int
1
pos_in
True = Vol × Price / False = Vol
bool
true
usePrice
True = log10 Vol / False = Vol
bool
true
useLog
True = Volume color / False = Price color
bool
true
barColorsOnPrevVolume
Length
int
120
vollen
Type
string
HMA
typebb
Upper
float
2
devmult1
Lower
float
-2
devmult2
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator plots a Supertrend-based trend-following setup in a separate pane and skips conditions it treats as a sideways market. A volatility range is built from an ATR value, with RMA, SMA, EMA, or WMA smoothing, or from a fixed point distance. Optional
This indicator standardizes price inputs using z-score normalization before calculating a relative strength index (RSI). It generates trade signals when standardized price components cross over or under the standardized RSI feature. Signals can be filtered by
This script calculates Bill Williams' Market Facilitation Index (BW MFI) to evaluate price movement efficiency relative to trading volume. It computes the range between the high and low prices divided by volume for each bar, returning zero when volume is zero.
PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l
This indicator combines Chaikin Money Flow (CMF), a SuperTrend baseline, and an Average True Range (ATR) calculation inside a separate sub-pane. It calculates a standard 20-period CMF plotted as a line and colored histogram columns around a zero baseline, trac
The Expectation Maximization Gaussian Mixture Regime indicator clusters market states into two to five components using an online Expectation-Maximization Gaussian Mixture Model. It processes three input features: volatility-normalized momentum, relative volat