nephew_sam_

SMT Pair (Nephew_Sam_)

nephew_sam_ Updated   
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org/MPL/2.0/
// © Nephew_Sam_

--------------------------------------------------------------
This code for version is entirely different from the previous two SMT divergence indicators that I had published in terms of effeciency.
There is an option to have upto 10 custom pairs and 1 default pair (if outside the 10) for your SMT/correlated pair.
The divergence lines are not perfect and is still under development.
--------------------------------------------------------------

This indicator shows a secondary SMT/correlated pair at them bottom pane as a line or bar chart and draws lines if there are any divergences between the primary and secondary pair.

ie .
GBPUSD - EURUSD
EURUSD - DXY (inversed)
XAUUSD - XAGUSD

Options:
1. Show the secondary pair in lines or candlesticks
2. Divergences between pivot points (I'm yet to implement last pivot to live price)
3. Set 10 primary-smt pairs + a default pair for every other.
4. For every pair there is an option to inverse the price of the smt pair

(Hover over the tips in the indicator settings to learn more)
Release Notes:
Updated indicator title
Release Notes:
Inverse bug fix

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?