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
Delta-RSI & 3-EMA Strategy fits RSI with a polynomial over a rolling window, then marks buy and sell labels when the chosen condition occurs: zero crossing, signal-line crossing, or direction change. Optional exit labels use the same condition set. Three EMAs of configurable lengths plot on price, and an optional root-mean-square error filter can hide signals when the RSI fit is poor. It is declared as a study, so it does not place orders or manage stops.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RSI Length
int
21
rsi_l
D-RSI Polynomial Order
int
2
degree
D-RSI Frame Length (must be greater than Order)
int
21
window
D-RSI Signal Length
int
9
signalLength
Show Buy Signals
bool
true
islong
Show Sell Signals
bool
true
isshort
Show Exit Signals
bool
false
showendlabels
Entry Condition for Buy
string
Zero-Crossing
buycond
Entry Condition for Sell
string
Zero-Crossing
sellcond
Exit Condition
string
Zero-Crossing
endcond
Filter by Means of Root-Mean-Square Error of RSI Fitting
bool
false
usenrmse
RSI fitting Error Threshold, %
int
10
rmse_thrs
Show all 18 settings
Setting
Type
Default
Variable
srcfast
source
open
srcfast
EMA-Fast
int
5
emaslow
EMA-Medium
int
9
emaslow2
EMA-Slow
int
21
emaslow3
===Information===
bool
true
show_info
Lot Size
float
0.01
lot_size
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 Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma
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
This indicator plots three moving averages on the price chart alongside colored fills between the lines to visualize trend structure. Internally, it calculates a Stochastic RSI oscillator to detect oversold reversals. When the Stochastic %K line rises above 10
Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E