The tooltip says:
Using SetIndexBuffer() the tooltip says:
[1 of 2] bool SetIndexBuffer(int buffer_num,double&double_array,ENUM_INDEXBUFFER_TYPE buffer_mode=INDICATOR_DATA)
What is the 1 of 2 refering to and what is the ENUM_INDEXBUFFER_TYPE .... parameter ? The docs I have don't mention a third parameter in SetInddexBuffer()
OIC ... its the mql5 way of doing it ..
So if I were to do SetIndexBuffer(0,Buffer,INDICATOR_DATA) does that mean I am now locked into doing other things mql5 style ? Or are mql5 and mql4 functions now integrated to the extent where they are interchangable across the board ?
[1 of 2] means there is variant available. By pressing up/down key you can go from 1 to 2 and vice-versa. Documentation of SetIndexBuffer() doesn't seem to be updated yet.
AFAIK, you can use both (old and new from mql5), but I haven't tried yet if it's well working.
See documentation for ENUM_INDEXBUFFER_TYPE.
Thanks I read your post on rates_total I am going to experiment a little with indicator loops, The new SetIndexBuffer() is useful, you can use the enumerator to set the buffer as a drawing or calculating buffer there is a third enum to set it as a color I'm not sure to the purpose of a color buffer though.
To add comments, please log in or register