You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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" ?