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, is it possible to set index buffer to class type?
Thanks, in advance.
I have a class:
Variable:
And I want to set index buffer to the support, I tried this version and got error.: '_support' - parameter conversion not allowed
SetIndexBuffer(2, _support, INDICATOR_CALCULATIONS);
UPDATE:
Found:
SetIndexBuffer
The function binds a specified indicator buffer with one-dimensional dynamic array of the double type.
So Is it any way to add buffer, for example, with ENUM(or other type) ?