New Product Features
LightningChart JS Trader 4.1 introduces a couple of new technical indicators and drawing tools. Furthermore, several user-requested features and improvements have been added to the library.
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.
New technical indicators: Average Daily Range, Choppiness Index, and Hull Moving Average.
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.
Several Freeform Line tools drawn on the chart.
New features and improvements
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.
Data padding in use. 200 pixels on the right edge and 50 pixels on top and bottom. Note that top and bottom padding do not affect indicators.
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 behaviour is preferred.
The old behaviour without auto width on the top, and the new behaviour with it on the bottom. Both charts have the same zooming level.
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 notable 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.
Built better Fintech apps with LightningChart JS Trader v4.1
To learn more about this release, visit the documentation.





















