Common Question 13
How do I create a High-Low Bar, High-Low-Close, Open-High-Low-Close, or Box Plot (Candle Stick) graph?
These types of graphs actually require multiple subsets to define different aspects of the plotting graphics. When constructing one of these types of graphs, first make sure you are setting the Subsets property to an appropriate value.
You then set PlottingMethod to SpecificPlotMode and also set the SpecificPlotMode appropriately.
For example, if you wanted to produce a High-Low Bar (requires 2 subsets) along with 1 comparison line showing the mid point of each bar.
The above code produces the following image.
Creating an Open-High-Low-Close is just as easy. The changes would be to set Subsets to at least 4, and set SpecificPlotMode = PESPM_OHLC (4).
For more information, read about the SpecificPlotMode property.
Within the demo and demo projects, see example 004 or 030.
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc.