This indicator helps traders and investors track how the current market price (CMP) compares to the all-time high (ATH) price of an asset. It calculates the percentage difference between the CMP and ATH and displays it visually on the chart. A label is placed on the latest bar, showing key information like:
ATH (All-Time High Price) CMP (Current Market Price) Percentage Comparison (CMP as a percentage of ATH) Additionally, the indicator plots a horizontal line at the ATH level to provide a clear visual reference for the price history.
Use Cases:
Identify price levels relative to historical highs. Gauge whether the price is nearing or far from its ATH. Quickly assess how much the price has recovered or declined from the ATH. Customization: You can modify the label's style, color, or text formatting according to your preferences. This indicator is useful for long-term analysis, especially when tracking stocks, indices, or other financial instruments on a weekly timeframe.
Note: This indicator is designed to work on higher timeframes (e.g., daily or weekly) where ATH levels are more meaningful.
In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e testarlo. Complimenti all'autore! Puoi usarlo gratuitamente, ma il riutilizzo di questo codice nelle pubblicazioni è disciplinato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.