backslash-f

BTC Pair Change %

backslash-f Aktualisiert   
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)
Versionshinweise:
  • Add option to use the current timeframe instead of the default 24h
Versionshinweise:
  • 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
Versionshinweise:
  • Minor refactor
Versionshinweise:
  • Update chart
Versionshinweise:
  • Update chart
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?