millerrh

Relative Performance

millerrh Actualizado   
This indicator takes the Performance Table from @BeeHolder and converts it to a Relative Performance table so you can compare the current chart vs. an Index (or whatever other ticker you want) to see the relative performance of one vs. the other. I also added a cell for ADR, which is also the same value as "Monthly Volatility" in the stock screener. This can be useful when screening stocks based on performance and volatility.
Notas de prensa:
Conversion to Pine v5
Added a box to the table that looks at the distance from the 52 week high. The idea behind this is that the strongest stocks will be close to their highs and that's what you should focus on. I've coded it so that if a stock is within 25% of its 52 week high the color will be green indicating a good candidate.
Notas de prensa:
Changed the calculation for distance from the 52 week high to be the drawdown off the high instead of the percentage required to get back to the high as I think this is what people usually refer to when talking about this metric.

Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?