You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello ;
I want just to have something like this : the picture in down
so we don't draw the histogram from zero line
As anyone have an idea !!
I would like just to draw or to create a bar between the 2 lines ??
I try to do this, in order to draw ome bar between 2 moving average :
but I don't understand why the result is like an horizontal line
here is a best example :
https://www.mql5.com/en/code/10070
remark the way that she draw the MACD Ichimoku with color blue and red !!
may be we must use the function
SetIndexDrawBegin
Yep, it uses Histogram . . .
need to adjust the scale and add OBJPROP_RAY=false
here is a best example :
https://www.mql5.com/en/code/10070
remark the way that she draw the MACD Ichimoku with color blue and red !!
may be we must use the function
SetIndexDrawBegin
Nope . . . you want something like this ?
Nope . . . you want something like this ?
Yes, like that !!
how do you do for that ??
is there an exemple for the code ??
thanks
I used 2 sets of 2 buffers, one for red one for blue, both DRAW_HISTOGRAM . . . the problem with the histogram being drawn from the bottom of the screen cannot be overcome, as far as I can see . . it only seems to happen when the Indicator is drawing to a separate window . . to work round the problem I used the same technique as used in the example you provided, https://www.mql5.com/en/code/10070, and that uses another buffer to colour over the part of the histogram that runs from the bottom of the screen to the lower of the 2 values that make up each histogram bar.
All the information you need is in this thread . . you need to learn how to find it . . .