ObjectSetInteger(chart_ID,name,OBJPROP_LEVELCOLOR,i,colors[i]);
https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_fibo

Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Types / OBJ_FIBO
- www.mql5.com
//| Create Fibonacci Retracement by the given coordinates | time1=0, price1=0, time2=0, price2=0, width=1, //
I'm new to this MQL5 Community and this is my first time writing in.
I wanted to convert this Fibonacci from mq4 to mq5 but am haven problem with it, i will like someone to help me fix it. And is there a way to assign individual colors to each Fibonacci Level. For example: 50% Level = BLue; 61.8% = Red; -23.6% = Green and so on?
Files:
thhik.mq5
16 kb

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 All
I'm new to this MQL5 Community and this is my first time writing in.
I wanted to know if there is a way to assign individual colors to each Fibonacci Level. For example: 50% Level = BLue; 61.8% = Red; -23.6% = Green and so on? I don't think the default settings allow you to customize the levels individually.
I know someone wrote MQL4 code in the past that allows one to choose the color for each level but I'd imagine this is not compatible with the MT5 platform. If anyone has any idea or knows of something that is available to fulfill this task, please let me know.
Apologies for being very vague. I am not a coder so I wouldn't know where to start.
Appreciate your time and look forward to any replies.
Many thanks.