gd library documentation (older): http://www.boutell.com/gd/manual2.0.33.html
https://libgd.github.io/manuals/2.1.1/files/gd-c.html
Example of a Candlestick Chart: