mzubairkhan
Posts: 1
Joined: Wed Apr 13, 2022 5:57 pm

Showing Users Trades on Highcharts Stock

Hi there,

I'm creating a trading platform similar to iqoption.com and I want to use Highcharts stock charts for showing the current prices for any market. I have studied that I can create a series of data in real-time with Highcharts Stocks chart. I want to show the user's trades on the chart with a custom icon as I have the price value and time on which the user starts trading.

Is it possible with Highcharts Stock Charts OR Not?
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Showing Users Trades on Highcharts Stock

Hi mzubairkhan,

Welcome to our forum and thanks for contacting us with your question!

Yes, it is possible. To do something like this you can use scatter series to add a point with custom symbol or use SVG renderer tool to draw image.
Demo: https://jsfiddle.net/BlackLabel/vmrdLe8z/
API reference: https://api.highcharts.com/class-refere ... s#addPoint,
https://api.highcharts.com/highcharts/s ... ker.symbol,
https://api.highcharts.com/class-refere ... erer#image

Let me know if that was what you were looking for!
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”