Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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) ?