I can't manage it... I don't know how to work with DRAW_ARROW. Which arrow code do I have to use for drawing a line? I never thought that this could be so hard...
mar:
I can't manage it... I don't know how to work with DRAW_ARROW. Which arrow code do I have to use for drawing a line? I never thought that this could be so hard...
Use a Wingding, but you will only get a series of dots or something like that.
I had a look at the Wingding-Table and I didn't find anything close to a line. I did it with dots and it works. But I still have no idea how to draw a line between the closes.
EDIT: correct, with dots it works. But why is it so complicated with a normal line? I really want to know what I don't consider in my code..
I had a look at the Wingding-Table and I didn't find anything close to a line. I did it with dots and it works. But I still have no idea how to draw a line between the closes.
EDIT: correct, with dots it works. But why is it so complicated with a normal line? I really want to know what I don't consider in my code..
I don't think that DRAW_COLORLINE has been implemented yet (at least in build 625)
Seems to me that the only way to do it at the moment is with 4 buffers
This will only draw to closed candles, trying to sort it out with the varying values of the current candle would be too much headache for me right now :)
I don't think that DRAW_COLORLINE has been implemented yet (at least in build 625)
Seems to me that the only way to do it at the moment is with 4 buffers
This will only draw to closed candles, trying to sort it out with the varying values of the current candle would be too much headache for me right now :)
Yes I would have used 2 alternating buffers for each color too, I didnt know DRAW_COLOR_LINE was not implemented. Strange that editor does recognise DRAW_COLORLINE as a keyword even though it is supposed to be DRAW_COLOR_LINE according to the docs.
I had a look at the Wingding-Table and I didn't find anything close to a line. I did it with dots and it works. But I still have no idea how to draw a line between the closes.
EDIT: correct, with dots it works. But why is it so complicated with a normal line? I really want to know what I don't consider in my code..
What you didnt consider is, when a line is supposed to end on one bar, and then begin again on the next bar, the line will fill in the gap. This is why GumRai is talking about using 4 buffers.
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.
I can't manage it... I don't know how to work with DRAW_ARROW. Which arrow code do I have to use for drawing a line? I never thought that this could be so hard...
Use a Wingding, but you will only get a series of dots or something like that.
I had a look at the Wingding-Table and I didn't find anything close to a line. I did it with dots and it works. But I still have no idea how to draw a line between the closes.
EDIT: correct, with dots it works. But why is it so complicated with a normal line? I really want to know what I don't consider in my code..
I had a look at the Wingding-Table and I didn't find anything close to a line. I did it with dots and it works. But I still have no idea how to draw a line between the closes.
EDIT: correct, with dots it works. But why is it so complicated with a normal line? I really want to know what I don't consider in my code..
I don't think that DRAW_COLORLINE has been implemented yet (at least in build 625)
Seems to me that the only way to do it at the moment is with 4 buffers
This will only draw to closed candles, trying to sort it out with the varying values of the current candle would be too much headache for me right now :)
I don't think that DRAW_COLORLINE has been implemented yet (at least in build 625)
Seems to me that the only way to do it at the moment is with 4 buffers
This will only draw to closed candles, trying to sort it out with the varying values of the current candle would be too much headache for me right now :)
I had a look at the Wingding-Table and I didn't find anything close to a line. I did it with dots and it works. But I still have no idea how to draw a line between the closes.
EDIT: correct, with dots it works. But why is it so complicated with a normal line? I really want to know what I don't consider in my code..