OPEN-SOURCE SCRIPT

Distance from the ATH price

Updated
This indicator shows us the distance (in %) between the current price and the ATH price.
The closer the price is to the ATH the higher the percentage.
100% means we reached the ATH price.

HOW TO USE:
No special input necessary.

Markets:
It can be used to all markets.

NOTE:
Some Exchanges don't go very far back in the past and for this reason this may have impact on this Indicator.
Release Notes
Distance to the ATH price added.
Option to choose between show distance from the ATH and to the ATH price.
Release Notes
Layuout updated
Release Notes
Bug fixed
alltimehighATHPrice/Earnings Ratio (P/E Ratio)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer