This code is to replicate the relative strength indicator as used on investors.com (on lists like the IBD 50, big cap 20 etc).
Let me know if any issues / any updates wanted.
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...