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
The first plots Accumulation/Distribution, a cumulative volume line, in a separate pane. Later sections include ADX, ATR with selectable smoothing, Bollinger Percent B, Hull moving average, a conditional colour example, Cumulative Volume Index by exchange, an Ichimoku cloud and a regression channel with deviation bands. Several study declarations are pasted together, so each section is meant to be copied out and used on its own.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
ADX Smoothing
int
14
adxlen
DI Length
int
14
dilen
Length
int
14
length
Smoothing
string
RMA
smoothing
length
int
20
length
Source
source
close
src
mult
float
2.0
mult
length
int
9
length
Source
source
close
src
Exchange
string
NYSE
exch
Conversion Line Periods
int
9
conversionPeriods
Base Line Periods
int
26
basePeriods
Show all 24 settings
Setting
Type
Default
Variable
Lagging Span 2 Periods
int
52
laggingSpan2Periods
Displacement
int
26
displacement
Deviation (%)
float
5
dev_threshold
Depth
int
10
depth
Upper Deviation
int
2
upperMult
Lower Deviation
int
-2
lowerMult
Use Upper Deviation
bool
true
useUpperDev
Use Lower Deviation
bool
true
useLowerDev
Show Pearson's R
bool
true
showPearson
Extend Lines
bool
false
extendLines
Count
int
100
len
Source
source
close
src
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 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
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
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
This indicator calculates the Relative Strength Index (RSI) alongside a simple moving average to generate directional momentum signals in a separate pane. It supports Break Flip and Break Continuous scanning modes for long and short setups. A wide array of opt
This Pine v4 study ports early NostalgiaForInfinity V6 conditions onto the price chart. It computes two Bollinger setups, several EMAs and SMAs, RSI, MFI, a percent SMA spread labeled EWO, a 14-period choppiness value, and short and longer volume medians. Fixe
The script calculates a variant of the Fear & Greed Index using rate of return, accumulation distribution money flow weighted by volume, and volatility from VIX. It offers display options for the raw index value or price candles scaled by the index level. Smoo