INVITE-ONLY SCRIPT

SMT/Divergence Suite (any Indicator)

Updated
Hello Traders!

The TRN SMT/Divergence Suite detects divergences for any given indicator, even custom ones and divergences any two given instruments (SMT – smart money technique/tool). The indicator finds with unrivaled precision bullish and bearish as well as regular and hidden divergences. The main difference compared to other SMT/divergences indicators is that this indicator finds rigorously the extreme peaks of each swing, both in price and in the corresponding indicator/instrument. This precision is unmatched and therefore this is one of the best SMT/divergences detectors. The indicator helps traders to identify potential changes in trend before they occur.

snapshot

Feature List

  • Works with any given custom oscillators or indicator
  • SMT (Smart Money Technique)/Divergence detecting for any given instruments
  • 11 different build-in oscillators (incl. Cumulative Delta)
  • Customizable look and feel


The TRN SMT/Divergence Suite works with any given indicator, even custom ones. In addition, there are 11 built-in indicators. We have chosen a selection of different momentum, trend following and volume oscillators that gives you maximum flexibility. Most noticeable is the cumulative delta indicator, which works astonishingly well as a divergence indicator.
Following is the full list of the build in indicators/oscillators:

  1. Awesome Oscillator (AO)
  2. Commodity Channel Index (CCI)
  3. Cumulative Delta Volume (CDV)
  4. Chaikin Money Flow (CMF)
  5. Moving Average Convergence Divergence (MACD)
  6. Money Flow Index (MFI)
  7. Momentum
  8. On Balance Volume (OBV)
  9. Relative Strength Index (RSI)
  10. Stochastic
  11. Williams Percentage Range (W%R)


The divergences are colored with vivid lines and labels. Bullish divergences are distinguished with luminous blue lines, while bearish divergences are denoted by striking red lines. Upon detecting a divergence, the colored lines act as a visual indicator for traders, signaling an imminent possibility of a trend reversal. In response, traders can leverage this valuable insight to make informed decisions in their trading activities.

Choose Your Custom Divergence Indicator

Handpick your custom indicator, and the TRN SMT/Divergence Suite will hunt for divergences in your preferred market and timeframe. Importantly, you must add the indicator to your chart. Afterwards, simply go to the “Parameters” section in the indicator settings and choose "External Indicator/SMT". If the custom indicator has one reference value, then choose this value in the “External Indicator/SMT (High)” field. If there are high and low values (e.g. candles), then you also must set the “External Indicator Low/SMT” field.

In the provided graphic, we've chosen the stochastic RSI as our example, and as you can see, the TRN SMT/Divergence Suite instantly identifies and plots bullish and bearish divergences on your chart.

Make sure that the TRN SMT/Divergence Suite is in the same panel as the custom divergence indicator and that both indicators are pinned to the same scale of your chart.

snapshot

Smart Money Technique (SMT)/Divergence detecting in Relation to other Instruments

Smart Money Technique/Tool (SMT) means the divergence detection between two related instruments. The TRN SMT/Divergence Suite finds divergences in relation to other instruments, e.g. NQ vs. ES or BTCUSDT vs. ETHUSDT. Just add another instrument to the chart. As representation style you can choose lines or candles/bars. Afterwards, simply go to the “Parameters” section in the indicator settings and choose "External Indicator/SMT". If the second instrument is represented as line, then choose this value in the “External Indicator/SMT (High)” field. If there are high and low values (e.g. candles/bars), then you also must set the “External Indicator/SMT Low” field.

snapshot

The detection of SMTs can help traders to decide whether the trend continues, or a reversal is imminent. E.g. if the NQ makes a new higher high but the ES fails to do so and makes a new lower high, then the TRN SMT/Divergence Suite shows a divergence. As a result, the probability is high that the trend will not continue, and the trader can make an informed decision about what to do next.

How to set Parameters for Divergence Indicators

To begin, access the indicator settings. Look for the "Parameters" section where you can fine-tune Parameters 1-3. The default settings are already optimized for the oscillators AO, RSI, CDV, W%R, MFI and Stochastic. For other divergence indicators, you might want to adjust the settings to your liking. The parameter order is the same as in the corresponding divergence indicator.

What are Divergences?

When the price of an asset moves in one direction, but its indicators move in the opposite direction, this is called a divergence. Divergences can be a powerful signal that a trend reversal is about to occur.

There are two types of regular divergences: bullish and bearish. A bullish divergence occurs when the price of an asset makes a lower low, but its indicators make a higher low. This can be a sign that the asset is oversold and that a reversal is imminent. A bearish divergence, on the other hand, occurs when the price of an asset makes a higher high, but its indicators (such as Relative Strength Index - RSI) make a lower high. This can be a sign that the asset is overbought and that a reversal is imminent.

Next to regular divergences there are hidden divergences. These divergences occur when the price of an asset moves in the opposite direction of an indicator, suggesting a possible shift in the underlying trend. In trading, hidden bearish and hidden bullish divergences are patterns that traders often look for on price charts to identify potential trend reversals or continuation patterns.

Conclusion

While signals from TRN SMT/Divergence Suite can be informative, it is important to recognize that their reliability may vary. Bearish and bullish divergences are not foolproof indicators and should be used in conjunction with other analysis techniques and risk management strategies.

Risk Disclaimer

The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Release Notes
We changed the divergence alerts to be triggered only once the divergence is confirmed.
Release Notes
We added the option to use confirmed and/or unconfirmed SMT/divergence alerts.
Release Notes
The following updates have been made:
  1. The Settings UI has been improved.
  2. The CVD algorithm has been updated to make it more precise.
  3. Individual settings for oscillators have been added.
  4. Drawings are now enabled on the main chart.
Release Notes
Alerts have been fixed.
Release Notes
Oscillator drawing and default values fixed
cumulativevolumedeltaDivergencedivergencesdivergencetradingOscillatorssmartmoneySMTsmtdivergenceswingtradingtrn-trading

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact TRN-Trading for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

Access: https://TRN-Trading.ai The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.

Want to use this script on a chart?

Warning: please read before requesting access.

Get Instant Access NOW: TRN-Trading.ai

Join Our Free Discord: discord.gg/EYgg9UHJZC
Documentation: docs.trntrading.ai
Also on:

Disclaimer