Do you have any code so far ?
Tatenda Maswedza: What causes failure to view buffer on chart window after declaring it. My indicator won't show me the buffers
- You don't "declare" buffers. You declare a double array and in OnInit, make it a buffer:
double b[]; : SetIndexBuffer(0, b);
- In MT4 since build 1090 tell it the buffer type. (It no longer defaults to line.)
#property indicator_type1 DRAW_LINE // Bug 1090 must set.
alternatively in OnInit()
SetIndexStyle(0, DRAW_LINE);
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
What causes failure to view buffer on chart window after declaring it. Or better still how can I view buffer data on indicator chart window. My indicator won't show me the buffers