Re: MT4 Indicator requests and ideas

18621
qdjack wrote: Sun May 21, 2023 1:53 am Thank you, but the problem persists and has not been resolved.
Look at the two sentences in the original code of the file I published.
int init()
{
SetIndexBuffer(0,xtUpH); SetIndexStyle(0,DRAW_HISTOGRAM,0,5,clrBlue);
SetIndexBuffer(1,xtDnH); SetIndexStyle(1,DRAW_HISTOGRAM,0,5,clrRed);
}
int deinit()
{
}
There is no need to delete objects in deinit() at all.
Sorry, I'm afraid that I don't understand….


Re: MT4 Indicator requests and ideas

18622
kvak wrote: Sun May 21, 2023 8:24 am Sorry, I'm afraid that I don't understand….
Hello! I mean, without changing these two lines of code
SetIndexBuffer(0,xtUpH); SetIndexStyle(0,DRAW_HISTOGRAM,0,5,clrBlue);
SetIndexBuffer(1,xtDnH); SetIndexStyle(1,DRAW_HISTOGRAM,0,5,clrRed);
Can it be displayed normally on the main image under the premise of?


Re: MT4 Indicator requests and ideas

18629
qdjack wrote: Sun May 21, 2023 1:53 am Thank you, but the problem persists and has not been resolved.
Look at the two sentences in the original code of the file I published.
int init()
{
SetIndexBuffer(0,xtUpH); SetIndexStyle(0,DRAW_HISTOGRAM,0,5,clrBlue);
SetIndexBuffer(1,xtDnH); SetIndexStyle(1,DRAW_HISTOGRAM,0,5,clrRed);
}
int deinit()
{
}
There is no need to delete objects in deinit() at all.
What is the name of this channel indicator?