OPEN-SOURCE SCRIPT

Comparative Strength [FT]

This indicator calculates the comparative strength between 2 variables by subtracting them instead of division/ratio.
Example:
A is stronger than B, then if A-B, it would be positive because value A is bigger than B.
A is weaker than B, then when A-B, this would be negative because A is lower than B.

What it does:
It takes the difference of averages of variable A (ie: stock), and the same for variable B (ie: index), and then the result of those is substracted to get a value.

Why is this indicator useful ?
To visualise comparative values between 2 related variables. IE: stock-index, stock-commodities, forex-interest rates, forex-bond, forex-inflation.


DISCLAIMER: Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security, investment, currencies or assets.
comparativecomparativestrengthRelative Strength Comparison

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明