OPEN-SOURCE SCRIPT

Chart Info

OVERVIEW
What would a general summary of the symbol on the chart look like? Here’s an example: This script was created to help you easily access the essential details of a symbol, which I believe are critical for daily use.

CONCEPTS
When using any indicator or analysing price movement, the characteristics of the chart become important. Each symbol has a unique character and the more we can quickly find out about it, the better. Instead of embedding those details within each individual indicator, it is often more practical to access these data through an external tool. This indicator presents the following results related to the symbol on your chart in a table format:

  • ID: Ticker ID (Exchange, Base Currency, and Quote Currency)
  • TIMEFRAME: The chart's time period
  • START: The starting date of the chart
  • FINISH: The finishing date of the chart
  • INTERVAL: The total time between the start and finish dates (based on timeframe). The current bar is not included in the total time until it is closed.
  • BAR INDEX: The total number of bars on the chart (can also be viewed in both forward and backward directions in the data window as a series type).
  • VOLATILITY: Percentage ratio of 14-bar ATR to close.
  • CHANGE: The daily percentage change.
  • HODL: The percentage return that would be gained if the symbol had been bought and held since the first bar.
  • DAILY BUY: The percentage return that would be gained if the same amount of buying was made daily (a kind of DCA).


MECHANICS
This is a very simple script. I didn't add user-defined timestamp inputs because I didn’t want to overwhelm the indicator with parameters. However, if requested, i can make improvements in this direction in a second version.

NOTES
I live in Istanbul, so I designed the default timezone offset as GMT+3. Please remember to adjust it according to your own timezone to ensure the date results are accurate.


I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
educationalPine utilities

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明