Drawing tools and annotations allow you to layer geometric shapes, trend lines, and analytical markers on top of stock chart data, enabling rich multi-instrument technical analysis.
This sample combines ORCL and CSCO closing-price line series with MSFT candlesticks on a single annotated plot. Annotations include horizontal and diagonal trend lines for each ticker, a filled triangle marking a recovery zone, and a dashed Andrews Pitchfork projecting a forward channel. Custom HTML tooltips format OHLC and line values separately, and a candlestick scroller with range controls enables interactive date navigation.
Follow the step-by-step Stock Chart Tutorial to learn how stock charts are built. See the Drawing Tools and Annotations documentation for all configuration options.