Change color of line dynamically
and what if i want use line with 3,4,5,6 different colors?
why wont MQL give a simplest simplest thing, like :
if(myCond) {
MyBuffer1[i].color = red;
}
or etc...
selnomeria: why wont MQL give a simplest simplest thing, l
|
|
and what if i want use line with 3,4,5,6 different colors?
why wont MQL give a simplest simplest thing, like :
if(myCond) {
MyBuffer1[i].color = red;
}
or etc...
In metatrader 4, if you want to draw multi color lines, you have to use additional 2 buffers for each additional color. If you don't (if you use only one buffer per additional color), you will get a repainting indicator
That condition is true if you want to draw muti color LINES. For other types of drawing styles you do not have to do that
It is so hard to code to make the line (i.e. MyBuffer1) to have different colors while some conditions change...
How to do that? Is there any update?