ubzen:
There are codes by WHRoeder which creates IIRC indicator buffers using Arrays; there are allot of his such examples.
My polyline code is just creating line objects on the main chart, but you could modify it to draw them on any chart.
flaab:
Can it be done the other way around? I am actually painting several histograms in the main chart. I would like to paint 3buffers another window (an oscillator) :-)
You can look up the window number with WindowFind() and use that in the ObjectCreate() You can NOT use the buffers.
erzo:
You can simulate invisible buffer arrays in an indicator
My polyline uses that technique, but that is NOT what the OP was asking. He wanted some buffers to DISPLAY on the main chart and some on the subchart, which is impossible.
WHRoeder:
My polyline uses that technique, but that is NOT what the OP was asking. He wanted some buffers to DISPLAY on the main chart and some on the subchart, which is impossible.
can anyone tell me how can i add new chart in seperate windows (minichart) with new pair and different timeframes? something like below but with my indi
can anyone tell me how can i add new chart in seperate windows (minichart) with new pair and different timeframes? something like below but with my indi
I don't know who they are . . . if you mean what is shown in your attached image . . . it's probably using a pair of Indicator buffers drawing a histogram, but it's not a chart like the usual charts, it's an Indicator output. You will notice there is no Open and Close.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
There are codes by WHRoeder which creates IIRC indicator buffers using Arrays; there are allot of his such examples.
Can it be done the other way around? I am actually painting several histograms in the main chart. I would like to paint 3buffers another window (an oscillator) :-)
You can simulate invisible buffer arrays in an indicator as many as you want, but it is a workaround, here is an article about it:
http://www.forexfactory.com/showthread.php?t=165411
Using two windows is not a simple question, I found examples that draws objects, but thats all, like this:
https://www.mql5.com/en/code/7116
You can simulate invisible buffer arrays in an indicator
My polyline uses that technique, but that is NOT what the OP was asking. He wanted some buffers to DISPLAY on the main chart and some on the subchart, which is impossible.
My polyline code is just creating line objects on the main chart, but you could modify it to draw them on any chart.
can anyone tell me how can i add new chart in seperate windows (minichart) with new pair and different timeframes? something like below but with my indi
can anyone tell me how can i add new chart in seperate windows (minichart) with new pair and different timeframes? something like below but with my indi
You cannot.
Then how they do it ?
Then how they do it ?