OPEN-SOURCE SCRIPT

Currency Strength

Mis à jour
Republished: The original script violated house rules by including an external link to Backtest Rookies.

Background

The currency strength indicator takes up to 4 forex pairs and calculates the average strength across all pairs. The indicator uses the pair's daily percentage change to calculate the overall strength. For flexibility, it can accept any instrument as an input. This means you can use multiple instances to track various currency strengths. It was designed with the major pairs in mind but there is no reason why it cannot be used for other FX pairs.

Note: The indicator defaults to GBP. When setting it up for other currencies, be sure to flag whether the currency is a counter currency or not.

The code is provided free and open source. Please modify it as you see fit.

Screenshots

Defaults with Annotation

snapshot

Yen strength beating pound strength

snapshot

Opposing Trends

snapshot
Notes de version
Bugfix

Fix for NA values that recently started to appear.
averagecurrencycurrencystrengthForexforextradingRelative Strength ComparisonstrengthTrend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité