下面K线是实心的,怎么改成空心K线。
int init() {
SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID, 4, Red);
SetIndexBuffer(0, g_ibuf_88);
SetIndexStyle(1, DRAW_HISTOGRAM, STYLE_SOLID, 4, Red);
SetIndexBuffer(1, g_ibuf_92);
SetIndexStyle(2, DRAW_HISTOGRAM, STYLE_SOLID, 4, LimeGreen);
SetIndexBuffer(2, g_ibuf_96);
SetIndexStyle(3, DRAW_HISTOGRAM, STYLE_SOLID, 4, LimeGreen);
SetIndexBuffer(3, g_ibuf_100);
SetIndexDrawBegin(0, 0);
SetIndexDrawBegin(1, 0);
SetIndexDrawBegin(2, 0);
SetIndexDrawBegin(3, 0);
SetIndexBuffer(0, g_ibuf_88);
SetIndexBuffer(1, g_ibuf_92);
SetIndexBuffer(2, g_ibuf_96);
SetIndexBuffer(3, g_ibuf_100);
return (0);
}
|