backslash-f

BTC Pair Change %

backslash-f Mis à jour   
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)
Notes de version:
  • Add option to use the current timeframe instead of the default 24h
Notes de version:
  • 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
Notes de version:
  • Minor refactor
Notes de version:
  • Update chart
Notes de version:
  • Update chart
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?