patricoos
Posts: 2
Joined: Tue Jul 13, 2021 10:56 am

Custom Flags Indicator

Hi,
I want to create custom indicator based on Flag [/ b] series (angular). I create already some custom indicators, but only line type (sma parent as in doc). I can not find any examples for not linear chart series type. Is it possible to create flags indicators?

https://jsfiddle.net/ronakdiyora/cL5zj7fv/4/
https://www.highcharts.com/docs/stock/c ... indicators
https://www.highcharts.com/docs/stock/flag-series
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Custom Flags Indicator

Hello patricoos!

We appreciate you reaching out to us!

Sure, you can define it using Highcharts.seriesType() method. Here you've got everything nicely explained:
https://www.highcharts.com/docs/stock/c ... indicators

For example, in this demo, we've got a custom line indicator: https://jsfiddle.net/BlackLabel/560nwmj1/ to change the indicator to the column type we need to add on the series prototype everything that the column series needs. Then we've got column indicator: https://jsfiddle.net/BlackLabel/3j6myau5/

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Stock”