The Psychological Line (PSY) is a sentiment oscillator that calculates the percentage of rising periods within a given lookback window. High PSY values indicate strong bullish sentiment while low values suggest prevailing bearish sentiment, making it useful for gauging crowd psychology and potential exhaustion points.
This sample renders IBM daily candlestick data on the main plot and displays the PSY indicator in a 30% height subplot. An area scroller driven by a separate value mapping provides full-range navigation. The chart includes a range picker and a range selector, with the default view spanning July 2018 to July 2019.
See the Technical Indicators documentation for all configuration options.