A combined overlay that calculates several well-known indicators in one script: an ATR-based stop distance that colors bars yellow when price moves beyond it, ADX with directional indices, RSI with a selectable moving average or Bollinger Bands and optional divergence, the True Strength Index, an Awesome Oscillator with signal line, Stochastic RSI, and a MACD style oscillator.
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
Lengths and sources for each part are set through inputs. The visible start of the code does not define entry or exit rules.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Lenght
int
14
lenght456
ADX Smoothing
int
14
lensig
DI Length
int
14
len2
RSI Length
int
14
rsiLengthInput
Source
source
close
rsiSourceInput
MA Type
string
SMA
ma11TypeInput
MA Length
int
14
ma11LengthInput
BB StdDev
float
2.0
bbMultInput
Show Divergence
bool
false
showDivergence
Long Length
int
25
long
Short Length
int
13
short
Signal Length
int
13
signalx
Show all 40 settings
Setting
Type
Default
Variable
fastperiod
int
5
fastperiod
slowperiod
int
34
slowperiod
signalperiod
int
7
signalperiod
K
int
3
smoothK
D
int
3
smoothD
RSI Length
int
14
lengthRSI
Stochastic Length
int
14
lengthStoch
RSI Source
source
close
src
length357
int
20
length357
Source
source
hlc3
src357
Method
string
SMA
typeMA
Fast Length
int
12
fast_length2
Slow Length
int
26
slow_length2
Source
source
close
src26
Signal Smoothing
int
9
signal_length
Oscillator MA Type
string
EMA
sma_source
Signal Line MA Type
string
EMA
sma_signal
start
float
0.02
start
increment
float
0.02
increment
Max Value
float
0.2
maximum
Length
int
200
len200
Source
source
close
src200
Offset
int
0
offset200
Method
string
SMA
typeMA200
Length
int
9
len741
Length2
int
13
len963
Length3
int
21
len852
Source
source
close
src741
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.
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre
An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire
This overlay indicator marks Linda Raschke short-term bar setups on the price chart. It flags Turtle Soup and Turtle Soup plus one false breakouts of a prior extreme, 80-20 bars, inside bars, failed inside-bar breakouts, outside up and down bars, NR4 and NR7 c
This indicator combines Bollinger Bands, RSI, Stochastic RSI, and volume spike detection to identify mean-reversion conditions during range-bound market regimes. It calculates Bollinger Band width to identify low-volatility states and triggers buy or sell sign
The 8zz Contrarian Indicator plots reverse sentiment trading signals directly on the price chart based on tracked retail post activity. It generates bullish signals during retail panic and bearish signals during market euphoria. The indicator features adjustab