OPEN-SOURCE SCRIPT

Relative Strength

由Capeya提供
已更新
Relative Strength show the quotient (ratio) between a numerator (Your Security) and a common denominator (SPX, BTC, ...).
I inspired myself from already established indicators. But I've made my own because I had some issues with others.

Sometimes the moving average weren't fixed but where floating through the window.
Sometimes the colors (Up, Down) were inaccurate because the compiler didn't notice infinitesimal changes (0.0001 > 0.0002)

Thanks.

(The Relative Strength indicator is at the top of the chart.)
版本注释
Added colors on SMA: If RS > SMA then green, else Red.
Fixed some other stuffs: Symbol template for ticker input...
版本注释
The moving average is colored based on its own slope.
Can be displayed or not.
版本注释
Added color customization,
Added color for Relative Strength All Time High.
版本注释
Possible to color based on X previous highs instead of all time high only.
If the lookback value is set to 0 then it looks for ATH;
Else it will look for the input, previous highs.

Modified for Tronsom
版本注释
NA
Oscillators

开源脚本

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

想在图表上使用此脚本?

免责声明