mital.thakkar31
Posts: 5
Joined: Fri Jun 15, 2018 10:02 am

Angular 5 High Stock Candlestick Chart Indicators

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
Attachments
123.PNG
123.PNG (43.61 KiB) Viewed 3255 times
daniel_s
Posts: 769
Joined: Fri Sep 01, 2017 11:01 am

Re: Angular 5 High Stock Candlestick Chart Indicators

hi mital.thakkar31,

Please move the thread of this topic to the issue you created on our GitHub. Reminding you, here is the link: https://github.com/highcharts/highchart ... /issues/38 .
Sebastian posted the answer there, so please take a look on it.

Best regards!
Daniel Studencki,
Highcharts Developer
mital.thakkar31
Posts: 5
Joined: Fri Jun 15, 2018 10:02 am

Re: Angular 5 High Stock Candlestick Chart Indicators

Hi,
As I want to add indicators in High stock candlestick chart in Angular 5.And I am using Highcharts version 6+ .So I did not find any library to integrate indicators in High Stock Chart.

https://www.npmjs.com/package/highcharts-indicators(We encourage you to use Highstock 6+ as it has a vast range of technical analysis indicators build in. This plugin was build for older versions of Highstock)
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Angular 5 High Stock Candlestick Chart Indicators

Hi mital.thakkar31,

Please, try not to duplicate threads on few support canals. There is still open GitHub issue here: https://github.com/highcharts/highchart ... /issues/38

Kind regards!
Rafal Sebestjanski,
Highcharts Team Lead
mital.thakkar31
Posts: 5
Joined: Fri Jun 15, 2018 10:02 am

Re: Angular 5 High Stock Candlestick Chart Indicators

I found the solution .You can refer below link for the solution:

https://github.com/mitalthakkar/candlestick-indicators

Return to “Highcharts Stock”