http://www.forexfactory.com/images/icons/icon5.gif Changing histogram style in code
I have the FXfish indicator, and want to change the style of the histogram bars. I want to just have vertical lines, without the slopes that are drawn. Below is the code for the original; how do I change the style to just achieve vertical bars from top to bottom of the window?
Thanks!
int init()
{
SetIndexStyle(0,DRAW_HISTOGRAM,STYL E_SOLID,2,Lime);
SetIndexBuffer(0,buffer1);
SetIndexStyle(1,DRAW_HISTOGRAM,STYL E_SOLID,2,Red);
SetIndexBuffer(1,buffer2);
return(0);
}
I have the FXfish indicator, and want to change the style of the histogram bars. I want to just have vertical lines, without the slopes that are drawn. Below is the code for the original; how do I change the style to just achieve vertical bars from top to bottom of the window?
Thanks!
int init()
{
SetIndexStyle(0,DRAW_HISTOGRAM,STYL E_SOLID,2,Lime);
SetIndexBuffer(0,buffer1);
SetIndexStyle(1,DRAW_HISTOGRAM,STYL E_SOLID,2,Red);
SetIndexBuffer(1,buffer2);
return(0);
}