for the label to display the price change for 1 day, 1 week, 1 month and 1 year, you must switch the graph to the daily (1D) timeframe
this script shows:
- the maximum price and the date of this maximum
- the minimum price and date of this minimum
- current price and date of this price
- the difference between the current price and the maximum price in percent...