millerrh

Relative Performance

millerrh Aggiornato   
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.
Note di rilascio:
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.
Note di rilascio:
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 open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?