I have a problem getting the levelcolor of a FibonacciChannel object.
For testing, I put a fibonacci channnel object on the chart and name it "test_fiboObj", then execute this code:
ObjectSet("test_fiboObj", OBJPROP_LEVELCOLOR, Red);
color fiboColor = ObjectGet("test_fiboObj",OBJPROP_LEVELCOLOR);
Print("LevelColor: ", fiboColor);
It changes the object level to Red color, but it prints:
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.
Hi,
I have a problem getting the levelcolor of a FibonacciChannel object.
For testing, I put a fibonacci channnel object on the chart and name it "test_fiboObj", then execute this code:
ObjectSet("test_fiboObj", OBJPROP_LEVELCOLOR, Red);
color fiboColor = ObjectGet("test_fiboObj",OBJPROP_LEVELCOLOR);
Print("LevelColor: ", fiboColor);
It changes the object level to Red color, but it prints:
This is "OBJ_FIBOCHANNEL" only.
I can get the levelcolor from the other 5 fibo objects. (OBJ_FIBO, OBJ_FIBOTIMES, OBJ_FIBOFAN, OBJ_FIBOARC, OBJ_EXPANSION)
How can I get the levelcolor of the "OBJ_FIBOCHANNEL" ?