Hello,
I want to add Indicators like EMA,SMA,WMA etc. in High Stock Candle stick chart. I want to add checkboxes clicking on which i can get Indicators result simillar to below Screenshot. So Is there any way How can I add it?
I am using below code:
series : [{
name: 'AAPL Stock Price',
type : 'line',
id: 'primary',
data : data
}, {
name: '15-day SMA',
linkedTo: 'primary',
showInLegend: true,
type: 'trendline',
algorithm: 'SMA',
periods: 15
}, {
name: '40-day SMA',
linkedTo: 'primary',
showInLegend: true,
type: 'trendline',
algorithm: 'SMA',
periods: 40
}]
But its giving me an error like :
CandleStickComponent_Host.ngfactory.js? [sm]:1 ERROR Error: Highcharts error #17: www.highcharts.com/errors/17