This indicator scans multiple symbols for regular MACD bullish and bearish divergences filtered by long-term trend direction using 150-period and 600-period EMAs.
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
When a divergence aligns with the trend filter, it dispatches a JSON-formatted alert on bar close. Users can configure pivot lookback lengths, divergence range thresholds, and select individual symbols across crypto pairs. It overlays directly on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Pivot Lookback Right
int
2
lbR
Left
int
2
lbL
Lookback Range Max
int
60
rangeUpper
Min
int
6
rangeLower
e01
bool
true
e01
s01
symbol
BTCUSDT
s01
e02
bool
true
e02
s02
symbol
ETHUSDT
s02
e03
bool
true
e03
s03
symbol
BNBUSDT
s03
e04
bool
true
e04
s04
symbol
ADAUSDT
s04
Show all 40 settings
Setting
Type
Default
Variable
e05
bool
true
e05
s05
symbol
XRPUSDT
s05
e06
bool
true
e06
s06
symbol
SOLUSDT
s06
e07
bool
true
e07
s07
symbol
DOTUSDT
s07
e08
bool
true
e08
s08
symbol
DOGEUSDT
s08
e09
bool
true
e09
s09
symbol
UNIUSDT
s09
e10
bool
true
e10
s10
symbol
LUNAUSDT
s10
e11
bool
true
e11
s11
symbol
AVAXUSDT
s11
e12
bool
true
e12
s12
symbol
LTCUSDT
s12
e13
bool
true
e13
s13
symbol
SHIBUSDT
s13
e14
bool
true
e14
s14
symbol
LINKUSDT
s14
e15
bool
true
e15
s15
symbol
BCHUSDT
s15
e16
bool
true
e16
s16
symbol
ALGOUSDT
s16
e17
bool
true
e17
s17
symbol
XLMUSDT
s17
e18
bool
true
e18
s18
symbol
MATICUSDT
s18
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 screens multiple symbols for regular RSI divergence and extreme RSI readings. It compares pivot lows and highs in price with a 14-period RSI, then alerts when price makes a lower low against a higher RSI low, or a higher high against a lower RSI
This indicator implements a full Chanlun pipeline on the price chart. It merges contained bars, marks top and bottom fractals, and connects alternating fractals into strokes. Overlapping strokes form pivot boxes, and MACD area ratios flag trend or consolidatio
This indicator plots calendar-spread context for commodity futures on the price chart. It maps the chart symbol to front and next month contracts automatically, or uses manual symbols, then calculates the spread as a difference or ratio. Fast and slow EMAs, a
This indicator projects a dual-asset momentum matrix visualizer directly onto the price chart overlay. It calculates normalized momentum for the chart symbol using either RSI or Stochastic inputs adjusted by ATR volatility, and compares it against a benchmark
Kurutoga Screener Timing Fix calculates price divergence from highest-high and lowest-low midpoints across three lookback horizons. By assessing divergence consistency across base, double, and quadruple lengths, it identifies synchronized momentum conditions.
This indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d