BTC Pair Change %

It adds a "change percentage widget" (of the BTC pair) to the top right of the chart.
(Refer to the image for an example.)
The change percentage calculation is performed as described here:
To match the "Chg%" that appears on TradingView watchlists, a 24H (1440min) timeframe is used, as described here:
money.stackexchange.com/a/98439/121115
In short, this script:
- Searches for the BTC pair of the current symbol
- Calculates the change % using the above described logic (links)
- Adds a "change percentage widget" (of the BTC pair) to the top right of the chart
- Allows for using 24H timeframe or the current timeframe (enable "Use current timeframe" under the script options)
- Add option to use the current timeframe instead of the default 24h
- The indicator now supports two timeframes; each one has its own row
- The timeframes default to "current chart" and "1 day"; the timeframes can be changed
- The table background, border and text colors can be customized as well
- Minor refactor
- Update chart
- Update chart
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.