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
Optional filters hide repeating signals and keep only relevant exits, and a Krypton fear-and-greed filter can limit bottoms and tops to oversold or overbought zones. ATR distance is calculated for a book-profit reference, while highest and lowest bars color support and resistance. Settings change indicator lengths, label text and style, and whether historical marks and continuation candles appear. It does not place trades or define a stop loss.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Disable Repeating Signals
bool
true
disable_repeating_signals_param
Show Historical Top Bottom
bool
true
hist
Show Only Relevant Exits
bool
false
relEx
Krypton Fear And Greed Filter
bool
false
Krypron
Signal Label Text
string
▲ Bottom
slt1
Signal Label Text
string
▼ TOP
slt2
RSI Length
int
20
rsiLengthInput
Source
source
close
rsiSourceInput
Source
string
High/Low
src
Period For Highest/Lowest Bar
int
10
phlb
Resistance Color
color
color.red
resCol
Support Color
color
color.lime
supCol
Show all 35 settings
Setting
Type
Default
Variable
SuperTrend Factor
float
4.0
factor
SuperTrend Period
int
10
atrPeriod
MACD Fast Length
int
12
macd_length_fast
MACD Slow Length
int
26
macd_length_slow
MACD Signal Length
int
9
macd_length_signal
EMA Length
int
13
ema_length
ATR Length
int
20
atr_length
ATR Multiplier for Book Profit
float
1
atr_multiplier
Percent K Length
int
10
a
Percent D Length
int
3
b
Overbought
int
45
ob
Oversold
int
-45
os
Label Size
string
normal
label_size
Label Style
string
text bubble
label_style
BUY Label Color
input
GREEN
buy_label_color
SELL Label Color
input
RED
sell_label_color
Label Text Color
color
color.white
label_text_color
Show Continuation Candles
bool
true
showContinuation
Continuation Candle Color
color
color.black
continuationColor
Length
int
70
length_zlt
Band Multiplier
float
1.2
mult_zlt
Bullish Color
color
#002aff
green_zlt
Bearish Color
color
#002aff
red_zlt
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 RSI divergence lines at resistance and support levels based on 14-period RSI crossing above 70 or below 30 within a search window of 141 bars. It displays dual EMA trend fill between periods 199 and 299, VWAP filter, TKPS tick pattern diam
This indicator plots envelope bands based on a moving average or exponential moving average of a chosen price source. It computes RSI with user-set length and source. Signals trigger on crossovers: buy when price crosses the lower envelope band while RSI falls
US Momentum Swing Screener is a daily chart overlay indicator for US equities and ETFs. It plots a composite score based on an EMA ribbon (9/21/50/200), RSI and StochRSI momentum, MACD confluence, volume surge detection, ADX trend strength, Bollinger Band posi
Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD
This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver
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