I think I'm getting the hang of it, next we tell the code
Buf2[i] = Buf1[i];
else
Buf2[i] = EMPTY_VALUE; we don't need to draw the 3rd line separately but we can do as the person above suggested adding a condition to our start module only he had the price of open and closs and we have arrays
Andrey Kipyatkov #: I think I'm getting the hang of it, next we tell the code
Buf2[i] = Buf1[i];
else - more
Buf2[i] = EMPTY_VALUE; you don't have to draw the 3rd line separately . We can do as the person above suggested adding the condition to our module, only he had the price of open and closs, while we have arrays
Andrey Kipyatkov #: I think I'm getting the hang of it, next we tell the code
Buf2[i] = Buf1[i];
else
Buf2[i] = EMPTY_VALUE; we don't need to draw the 3rd line separately . We can do as the person above suggested - add a condition to our module, only he had the open and closs price and we have arrays
If you need to change colour on the kinks, then look at this code and take snippets from it
I understand there's no point in adding something if we can set conditions for "superimposing" one line on another simply with a colour different from the first. The function is unnecessary
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.
Sorry, Makar, I think you can change it via SetIndexStyle. But I haven't tried it.
SetIndexStyle changes the whole line, not the desired section
MT5 has DRAW_COLOR_LINE for thatbut we can do as the person above suggested adding a condition to our start module only he had the price of open and closs and we have arrays
I think I'm getting the hang of it, next we tell the code
. We can do as the person above suggested adding the condition to our module, only he had the price of open and closs, while we have arrays
add)))
the result is a single-colored line
I think I'm getting the hang of it, next we tell the code
. We can do as the person above suggested - add a condition to our module, only he had the open and closs price and we have arrays
If you need to change colour on the kinks, then look at this code and take snippets from it
https://www.mql5.com/ru/code/18167
If you want to change the colour on the kinks, then look at this code and take snippets from it
https://www.mql5.com/ru/code/18167
Same thing - EMPTY_VALUE
What is the difference? And isn't order numbering from zero rather than one?
From one, OrdersTotal will return zero when there are no orders. But for some reason
for ( int i = OrdersTotal() ; i > 0 ; i -- )
gives an infinite loop, and so >= no.
h.s. is there another more convenient platform for communicating about mql???h.s. Is there another more convenient platform for communicating about mql???