OPEN-SOURCE SCRIPT

SMT Divergences [LuxAlgo]

The SMT Divergences indicator highlights SMT divergences between the chart symbol and two user-selected tickers (ES and YM by default).

A dashboard returning the SMT divergences statistics is also provided within the settings.

🔶 SETTINGS

  • Swing Lookback: Calculation window used to detect swing points.
  • Comparison Ticker: If enabled, will detect SMT divergences between the chart prices and the prices of the selected ticker.


🔹 Dashboard

  • Show Dashboard: Displays statistics dashboard on the chart.
  • Location: Location of the dashboard on the chart.
  • Size: Size of the displayed dashboard.


🔶 USAGE

snapshot

SMT Divergences are characterized by diverging swing points between two securities.

snapshot

The detection of SMT Divergences is performed by detecting swing points using the user chart prices as well as the prices of the selected external tickers. If a swing point on the chart ticker is detected at the same time on external tickers, comparison is performed.

Due to the detection requiring swing point confirmation (3 candles by default), this indicator can better be used to study price behaviors on the occurrence of an SMT divergence.

snapshot

The dashboard highlights the number of SMT divergences that occurred on a swing high and swing low between the chart ticker and the selected external tickers.

The returned percentage indicates the proportion of swing highs or swing lows that led to an SMT divergence.
DivergenceeducationalictictconceptsluxalgosmartmoneyconceptsSMCSMTsmtdivergenceTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer