The Current Price Indicator draws a horizontal line at a specific price level on a stock chart, typically highlighting the opening and closing prices of the visible range. It provides an immediate visual reference for comparing the current trading position against key price points.
This sample plots CSCO daily OHLC data with the Y-axis on the right side and adds two price indicators — one pinned to the first-visible value and another to the last-visible value. Each indicator uses a custom color palette (#ef6c00 for falling, #64b5f6 for rising) with colored label backgrounds. The chart includes a synchronized line scroller, a range picker, and a range selector, with the default view showing the last year of data.
See the Technical Indicators documentation for all configuration options.