OPEN-SOURCE SCRIPT
Atualizado Comparative Relative Strength Autoselect

Comparative Relative Strength (CRS) is a relative momentum indicator, used to compare a security against an index, or against another security. The comparison is used to show the relative performance to each other.
This script is a Quality of Life improvement, which attempts to match the base symbol to its relevant index on the local stock exchange. Thus automagically selecting the best and most relevant comparative symbol.
Features:
*optional comparative symbol override, in case your favourite index is not included in this script, or you want to force it to function as as a traditional cRS script without the autoselect feature.
* optional moving average crossover line
* optional absolute momentum calculation, calculating the excess return of the basesymbol and comparativesymbol against its own simple moving average.
This script is a Quality of Life improvement, which attempts to match the base symbol to its relevant index on the local stock exchange. Thus automagically selecting the best and most relevant comparative symbol.
Features:
*optional comparative symbol override, in case your favourite index is not included in this script, or you want to force it to function as as a traditional cRS script without the autoselect feature.
* optional moving average crossover line
* optional absolute momentum calculation, calculating the excess return of the basesymbol and comparativesymbol against its own simple moving average.
Notas de Lançamento
* added a zero cross line* changed default settings
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.