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.
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
101 lines of Pine Script v5 from Tradingview/datsana-v-1.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Datsana V.1 displays dual EMA trend fill between periods 199 and 299, VWAP filter, TKPS tick pattern diamonds, Demark indicator ratio, Ehlers ratio, Bollinger Bands with conditional colors, active deceleration filter, and TPO extremes. Buy and sell signals appear as plotshapes when deceleration occurs alongside trend and TPO conditions, with an option to reverse signals. Candles can be colored via gradient. All elements draw on the price chart as overlay.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
rsi div. search length
int
141
search
high rsi
int
70
highrsi
low rsi
int
30
lowrsi
filter tkps
bool
true
acctkpsfl
active deceleration
bool
false
accdc
deceleration density
float
1.035
dsn
reverse trend for signals
bool
true
inverse
Buy Color
color
#27a69b
buy_color
Sell Color
color
#b63632
sell_color
Neutral Color
color
color.yellow
neutral_color
Color Candles
string
Gradient
color_candles
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 overlay indicator combines SuperTrend, RSI, MACD, and an EMA to mark labeled tops and bottoms on the price chart. Optional filters hide repeating signals and keep only relevant exits, and a Krypton fear-and-greed filter can limit bottoms and tops to overs
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