This indicator computes several classic studies in a separate pane: Bollinger Bands from a simple moving average and standard deviation, an inverse-Fisher transform of the CCI smoothed by a weighted moving average, RSI, MACD with a histogram, and Stochastic RSI.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Inputs set lengths, sources, band multiplier, MACD moving-average type, stochastic smoothing, channel and average lengths, and overbought and oversold levels. In the visible code the plot calls are commented out, so nothing is drawn until those lines are enabled. It is not a strategy and has no entries, exits, or stop loss.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
length
int
20
length
Source
source
close
src
StdDev
float
2.0
mult
Offset
int
0
offset
CCI Length
int
5
ccilength
Smoothing length
int
9
wmalength
RSI Length
int
14
rsiLengthInput
RSI Source
source
close
rsiSourceInput
Fast Length
int
12
fast_length
Slow Length
int
26
slow_length
MacD Source
source
close
macdSourceInput
Signal Smoothing
int
9
signal_length
Show all 31 settings
Setting
Type
Default
Variable
Oscillator MA Type
string
EMA
sma_source
Signal Line MA Type
string
EMA
sma_signal
MACD Line
color
#2962FF
col_macd
Signal Line
color
#FF6D00
col_signal
Above Grow
color
#26A69A
col_grow_above
Fall
color
#B2DFDB
col_fall_above
Below Grow
color
#FFCDD2
col_grow_below
Fall
color
#FF5252
col_fall_below
K
int
3
smoothK
D
int
3
smoothD
RSI Length
int
14
lengthRSI
Stochastic Length
int
14
lengthStoch
RSI Source
source
close
stochSourceInput
Channel Length
int
10
n1
Average Length
int
21
n2
Over Bought Level 1
int
60
obLevel1
Over Bought Level 2
int
53
obLevel2
Over Sold Level 1
int
-60
osLevel1
Over Sold Level 2
int
-53
osLevel2
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 TTM Squeeze momentum oscillator in a separate pane. It compares a Bollinger Band offset to a Keltner Channel offset and marks the zero line white when the difference is non-negative and black when the bands are inside the channel. A line
Calculates dynamic modeling values by applying a mathematical logistic differential equation to price change over a specified lookback length. It measures price momentum relative to the recent high-low price range. The script plots positive and negative logist
MACD-V is a volatility-normalized momentum indicator based on research by Alex Spiroglou. It calculates the standard MACD histogram and normalizes it by dividing by the Average True Range (ATR). Plotted in a separate pane as a colored histogram, it includes us
This indicator detects a Bollinger Band squeeze when the bands sit inside Keltner Channels, marking low volatility. It plots red dots during a squeeze and green dots when the bands are outside, in a separate pane. An optional histogram shows momentum as the cl
This indicator generates trade entry signals and target levels optimized for 1-hour timeframes, designed for external signal extraction. It calculates 7-period and 16-period EMAs alongside 10-period RSI and ATR filters. Long signals occur when the fast EMA cro
The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend