I periodically read examples of the MT5 order system, it seems to me everything is not convenient, that's why I'm not in such a hurry to get acquainted with the MT5 order system
replaced for you, here is the code without the macro substitution
I don't know why you spend so much time working with multidimensional arrays if you can't understand C++ / MQL syntax and basics, you have arrays defined with one dimension and you are trying to use them with another dimension, I could be wrong of course, but this trick should not work even in Python, imho
So I can do it myself, I need it to work in a macro and specifically via transfer.
#ifdef identifier
// код, находящийся здесь, компилируется, если identifier уже был определен для препроцессора в команде #define.#endif
#ifndef identifier
// код, находящийся здесь, компилируется, если identifier в данный момент не определен командой препроцессора #define.#endif
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.
Igor, why don't you take a break from philosophical problems and see my #9377 and see if you can give me some advice.
Unfortunately, I don't write for MQL5, I only use ready-made examples and write them for myself, so I won't be able to help you.
Try to post it in the MQL5 branch, maybe the moderator can help you there.
https://www.mql5.com/ru/forum/6343/page1112
Thank you, we will be looking for it.
If you have MQL4, I can advise to use the library for transferring to MQL5. I do it that way, it is convenient and not time-consuming,
I periodically read examples of the MT5 order system, it seems to me everything is not convenient, that's why I'm not in such a hurry to get acquainted with the MT5 order system
replaced for you, here is the code without the macro substitution
I don't know why you spend so much time working with multidimensional arrays if you can't understand C++ / MQL syntax and basics, you have arrays defined with one dimension and you are trying to use them with another dimension, I could be wrong of course, but this trick should not work even in Python, imho
So I can do it myself, I need it to work in a macro and specifically via transfer.
How does this case work?
How does this case work?
Exactly as it is written.
There is a problem:
occurs when trying to assign a buffer value via:
with both i , and StartDrawing equal to zero... Tried without formulas:
Still writes an error... What could be the reason?
There is a problem:
occurs when trying to assign a buffer value via:
with both i , and StartDrawing equal to zero... Tried without formulas:
Still writes an error... What could be the reason?
Is HighBuffer[] not zero in size?