Indicator · Pine Script v5 · On the chart

Multi Alert MACD Divergences [Alorse]

by Hugs-4-Bugs

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.

View on GitHub

GitHub stars4on the repository
Pine versionv5runs as is
Lines of code284
Settings40inputs
LicenceNone stated
Last update1 year ago5 Apr 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

Hugs-4-Bugs on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Divergence, Oscillators & momentum, Screeners & dashboards

Markets

Crypto

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Pivot Lookback   Rightint2lbR
Leftint2lbL
Lookback Range   Maxint60rangeUpper
Minint6rangeLower
e01booltruee01
s01symbolBTCUSDTs01
e02booltruee02
s02symbolETHUSDTs02
e03booltruee03
s03symbolBNBUSDTs03
e04booltruee04
s04symbolADAUSDTs04
Show all 40 settings
SettingTypeDefaultVariable
e05booltruee05
s05symbolXRPUSDTs05
e06booltruee06
s06symbolSOLUSDTs06
e07booltruee07
s07symbolDOTUSDTs07
e08booltruee08
s08symbolDOGEUSDTs08
e09booltruee09
s09symbolUNIUSDTs09
e10booltruee10
s10symbolLUNAUSDTs10
e11booltruee11
s11symbolAVAXUSDTs11
e12booltruee12
s12symbolLTCUSDTs12
e13booltruee13
s13symbolSHIBUSDTs13
e14booltruee14
s14symbolLINKUSDTs14
e15booltruee15
s15symbolBCHUSDTs15
e16booltruee16
s16symbolALGOUSDTs16
e17booltruee17
s17symbolXLMUSDTs17
e18booltruee18
s18symbolMATICUSDTs18
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.

Similar Pine Scripts

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

Indicator v6 Support & resistanceDivergence
Updated 2 months ago · GPL-3.0 GitHub repository of 缠论 - 分型与笔 [Chanlun Core]

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

Indicator v6 TrendOscillators & momentum
Updated yesterday · MIT GitHub repository of Vein: Spread Context [WavesUnchained]

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

Indicator v6 Oscillators & momentumVolatility & bands Repaints
Updated 3 months ago · None stated GitHub repository of Pro Grid Elite: Advanced Dual-Asset Momentum Matrix
1 stars

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.

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 1 year ago · MIT GitHub repository of Kurutoga Screener Timing Fix

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

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - RSI Directional Momentum Scanner

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers