Make a Fibo line disappear - page 2

 

clrNONE does not work.

The object is still Black when using this value. clrNONE in build 616 still equals 4294967925, not -1


--Steve

 
I tried Alert ((int)clrNONE); the result is -1
 

Yes - there is a way to force it with int, but it shouldn't be that way

  
// This line works and object is disappear as expected

ObjectSet(FName ,OBJPROP_COLOR,int(clrNONE));

// This line does not work and object appears with default color

  ObjectSet(FName ,OBJPROP_STYLE,clrNONE);
 
steveF:


Yes - there is a way to force it with int, but it shouldn't be that way

You are right about the bug, sorry. You can report this by writing to the ServiceDesk of Metaquotes (you have to register on mql5.com).

By the way, the actual value is 4294967295 and not 4294967925. And this value is exactly the same as -1. It's not the problem.

 
angevoyageur:
You are right about the bug, sorry. You can report this by writing to the ServiceDesk of Metaquotes (you have to register on mql5.com).

By the way, the actual value is 4294967295 and not 4294967925. And this value is exactly the same as -1. It's not the problem.


Bug Reported as you requested.

Thanks,

Steve

 
Anyways, 2023 now and still not fixed.
int(clrNONE) does work.
 
Eric Evert Ouweneel #:
Anyways, 2023 now and still not fixed.
int(clrNONE) does work.
It will never be fixed, MT4 development is stopped since a long time. Use a modern software, not one from 2005.