backslash-f

BTC Pair Change %

backslash-f Atualizado   
This script makes it easier to quickly check how the BTC pair of the current symbol is performing on any pair.
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)
Notas de Lançamento:
  • Add option to use the current timeframe instead of the default 24h
Notas de Lançamento:
  • 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
Notas de Lançamento:
  • Minor refactor
Notas de Lançamento:
  • Update chart
Notas de Lançamento:
  • Update chart
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?