I'm working on an indicator and using the fibo tool to plot lines. Everything works as I want except one minor thing.
I would like to get rid of the fibo slanted line shown below in first screen shot..
In MT4, I can edit the object and pick Color = NONE and it disappears (see bottom screen shot).
In my code, I cannot seem to find the value to use . I try the below CLR_NONE and the line still shows as black (see first screen shot).
Is there some value I can use in my code to make this line disappear?
Thank you in advance,
Want it to look like this.
Unfortunately this looks like a "bug" problem with Build 600.
On build 509, the code does make the line disappear and shows "NONE" in the parameter box
Notice the difference in behavior of the same code in the object properties.
I have solved my problem.
In build 509, using Print to see the value of CLR_NONE = -1
In build 600, using Print to see the value of CLR_NONE = 4294967925
So the issue is in build 600 compiler for this constant.
If Use the following code in Build 600 my problem is solved:
Build 600 is obsolete. This bug is already corrected in current build 610.
Please double posts, it's useless. Thank you.
Sorry I did not know build 600 is obsolete. It is latest version which downloaded from my broker.
Also did not mean to double post. First one was a question that I solved shortly after posting.
Second post was to report the bug. I did search and didn't find it first.
Once again, sorry if I didn't post correctly.
I appreciate this forum and thank you as always for the quick responses!
I updated my build to 616 by connecting to Metaquotes.
This bug still exists in build 616.Same behavior, CLR_NONE does not work.
I already replied but someone helpfully removed my post.
In build 509 CLR_NONE is . . .
In build 600 CLR_NONE is . . .
Absence of color. Indicates empty state of colors