LightningChart JS Trader v4.1

Released: May 27, 2026

Updates in v4.1

Features

  • New Technical Indicators:
    • Average Daily Range, Choppiness Index, and Hull Moving Average are now available. Similarly to other moving averages, the Hull Moving Average can also be used to smooth other indicators.
  • Freeform Line:
    • Freeform Line drawing tool has been added to LightningChart JS Trader. This brush-like tool allows users to draw lines and curves freely on the chart. The color and the width of the line can be freely modified.
  • Data Padding:
    • Data padding feature allows leaving empty space between the data and the chart edges. The space, defined in pixels, is added automatically when zooming the chart. This can make interpreting the chart easier as new values are not that close to the edge of the chart. Data padding can be set separately for top, bottom, left, and right edges.
  • Candlestick and Bar Auto Width:
    • A new auto width feature has been added for chart types using candlesticks and bars. This feature automatically scales candles and bars when zooming closer to the data, leaving less empty space between data points. Auto width is enabled by default but can be disabled if old behavior is preferred.
  • DateTime-Index Conversions:
    • Two new methods, convertDateTimeToIndex() and convertIndexToDateTime(), are now available to help converting between DateTime values and X-axis indexes. For example, you can easily check what time value the 100th data point has or what is the index of the point that was week ago.
  • Other Improvements:
    • Prevented drawing tools to be drawn on top of the margins. Now they are all clipped correctly at the edges of the chart.
    • Added more safety checks to all indicator calculations, preventing them from crashing the application in most, if not all cases.
    • Indicator categories now open at the same location instead of next to the respective category button. The previous approach left a large gap between the indicator search bar and the indicator list.