I'm interested in using phplot to graph a different candlestick chart called heikin ashi. You can read about in the wiki below. Is there an option in phplot to draw this different type of candlestick chart?
That aside, I would like to get this working on my system and seeking a little guidance in getting it working. From what I am looking at it should be simple to read the raw data and recalculate the open and close values to match the heikin ashi candlestick. The high and low values are the same so no change. Once I got the 4 values, I just pass them to phplot and it will draw the heikin ashi chart instead of the usual candlestick chart. I just want to confirm this would work before spending time trying to make it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I briefly looked at phplot.php and saw the variables $yo, $yh, $yl, $yc which looks like open, high, low, and close. Instead of modifying the data, I could modify these variables and recalculate the open and close values appropriately.
The teddy bear strikes again.
Last edit: dobah 2016-08-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm interested in using phplot to graph a different candlestick chart called heikin ashi. You can read about in the wiki below. Is there an option in phplot to draw this different type of candlestick chart?
https://en.wikipedia.org/wiki/Candlestick_chart
That aside, I would like to get this working on my system and seeking a little guidance in getting it working. From what I am looking at it should be simple to read the raw data and recalculate the open and close values to match the heikin ashi candlestick. The high and low values are the same so no change. Once I got the 4 values, I just pass them to phplot and it will draw the heikin ashi chart instead of the usual candlestick chart. I just want to confirm this would work before spending time trying to make it.
I briefly looked at phplot.php and saw the variables $yo, $yh, $yl, $yc which looks like open, high, low, and close. Instead of modifying the data, I could modify these variables and recalculate the open and close values appropriately.
The teddy bear strikes again.
Last edit: dobah 2016-08-03