OPEN-SOURCE SCRIPT

8 Pair Strength R2.0 updated by JustUncleL

Updated
This is an updated script Originally written by glaz

Description:
This study is a version of Currency Strength Meter, that utilises TradingView's built-in "True Strength Index" (TSI) function. The TSI uses moving averages of the underlying momentum of a financial instrument.

Modifications:
10-Nov-2017 by JustUncleL
  • Corrected the weighting on JPY pairs, by dividing their close values by 100 to bring them within 1.0 range of the other pairs.
  • Added option to use different Data Source, eg hl2, hlc3, ohlc4 etc.
  • Updated to PineScript version 3.
  • Updated variable names to reflect their origin.

Release Notes
Some minor changes.

  • Added max_bars_back=100 parameter to study line. This should prevent "index out depth" errors, which appear to occur at random.
  • Added minval/maxval limits to fast and slow.
  • Changed order of plots so they show up in alphabetic order in the "Style" parameters of the script.
  • Increased default linewidth.
Release Notes
...
Added with optional Dynamic coloured labels at the end of the Strength lines.
Release Notes
... R2.2 by JustUncleL
  • Improved labelling options.
  • Added option to use ATR weighted (default) pair influences in the Strength calculations, the overall results compared with standard calculation though are only minor, but may help in certain situations.


currencystrengthTrend 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?


JustUncleL

Disclaimer