Chartbreaker
    Preparing search index...

    HighLowHistory Generator

    The HighLowHistory generator displays the high and low values for previous days as horizontal OHLC projection lines on the current intraday chart. This helps traders identify historical support and resistance levels from prior trading sessions.

    Use a Controller object to add the generator to a chart:

    const highLowHistory = controller.addGenerator('HighLowHistory');
    
    • Only available for intraday charts - daily or longer intervals are not supported.
    • Tick charts are not supported.
    • Type: integer

    • Default: 5

    • Details

      The number of previous days to display. Each day is rendered as an OHLC projection showing the high/low range of that trading session.

    The generator scans the chart data to identify day boundaries and creates OHLC projection lines for each previous day's trading range. As new data arrives:

    • The current day's range extends automatically.
    • When a new day starts, the oldest day is removed (if the limit is reached) and a new day projection begins.
    • Day projections carry forward their styling settings when shifting.