backslash-f

BTC Pair Change %

backslash-f 已更新   
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)
版本注释:
  • 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
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?