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

Script open-source

Dans le plus pur esprit 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 nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité