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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian