Home forums Using CanvasJS combining candlestick chart and line chart (moving average line) Reply To: combining candlestick chart and line chart (moving average line)

#17605

Suyash Singh
Moderator

@Vineet Deodhar,

1) what js code would be right for having Exponential Moving Averages instead of SMA.

Please have a look at this updated jsfiddle.

2) I need 5 EMAs. So I think I can pass those many json datasets in the way you have specified. Right?

Yes, you can add multiple EMA’s to the chart by adding them to data-series array.

___
Suyash Singh
Team CanvasJS