BacktestRookies

Currency Strength

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


Yen strength beating pound strength


Opposing Trends

Dec 11
Release Notes: Bugfix

Fix for NA values that recently started to appear.
Remove from Favorite Scripts Add to Favorite Scripts
newbie question. How do I compile this? thanks!
Reply
This is super cool stuff... You still around?
Reply
@isarnil, Yes, if you mean in general, still working on the platform :)
Reply
Very nice work! Impressed as always.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out