implot icon indicating copy to clipboard operation
implot copied to clipboard

How do i plot the candle stick charts???

Open MalikHamza007 opened this issue 7 months ago • 4 comments

As i was reading the docs i saw the gif of the candle stick charts just like in a trading app. I am building a mock trading simulator usign clion. I need to implement candle stick charts . Can anyone Help me with this ASAP. Thank you

MalikHamza007 avatar May 12 '25 01:05 MalikHamza007

You can see those cancle sticks as "error bars". In science papers they look like this, for instance:

Image

The example https://github.com/epezent/implot/blob/master/implot_demo.cpp shows error bars.

brmarkus avatar May 12 '25 06:05 brmarkus

Also have a look into the repo https://github.com/epezent/implot_demos with a more detailed sample for candle sticks:

https://github.com/epezent/implot_demos/blob/master/demos/stocks.cpp

Which looks like this:

Image

brmarkus avatar May 12 '25 06:05 brmarkus

Sure Thanks a lot I'll keep in touch

MalikHamza007 avatar May 12 '25 09:05 MalikHamza007

I am working with some other packages that use implot; dearpygui and dearcygui to do candle plotting as well. I am working on making a custom x axis that can omit weekends for daily charts and night hours for shorter time periods. Can you point me in a direction where i can look at the implot api for some background on this?

Thanks

khazaddim avatar Jun 04 '25 01:06 khazaddim