
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
Thanks, I will try it!
Can that actually be done as a histogram? I haven't done much with histograms but I thought the histogram bars always started from Zero. What the OP has posted above looks extremely difficult as drawn (to me at least).
For example, wickless candles . . .
Please see if this code is correct
This is what I got
Yep, can be done, I have an Indicator that uses it extensively. It is problematic to do in a separate window, but in the main chart window it works exactly as I have described. It does mean that there is a limit of 4 colours as each colour needs 2 buffers . . . if more than 4 colours are needed then one option is to split the functionality across 2 or more Indicators.
Thats not 100% true. There is the limit of 4 colors simultaneously shown on the same bar. In total you can have the standart 8 colors. (if buffer2 is higher than buffer1 the color of buffer 2 is used)
Lets see if I understand what you are saying . . .
buffer1 Red
buffer2 Blue
Case 1, buffer1[x] > buffer2[x] histogram is Red
Case 2, buffer2[x] > buffer1[x] histogram is Blue
Please see if this code is correct
This is what I got
Lets see if I understand what you are saying . . .
buffer1 Red
buffer2 Blue
Case 1, buffer1[x] > buffer2[x] histogram is Red
Case 2, buffer2[x] > buffer1[x] histogram is Blue
Please see if this code is correct
This is what I got
I did spot this ...
which is a bit naughty. The second parameter should be 0 not NULL (regardless of what the numerical value of NULL happens to be at this point in time).
https://docs.mql4.com/series/ihigh