How can I change Fibonacci levels display colour?
You need to add the code to the help (OBJ_FIBO). Like this:
//--- create an object if(!FiboLevelsCreate(0,InpName,0,date[d1],price[p1],date[d2],price[p2],InpColor, InpStyle,InpWidth,InpBack,InpSelection,InpRayLeft,InpRayRight,InpHidden,InpZOrder)) { return; } //--- int levels = 3; // number of level lines double values[3] = {0.0,0.236,0.382}; // values of level lines color colors[3] = {clrAliceBlue,clrBlue,clrRed}; // color of level lines ENUM_LINE_STYLE styles[3] = {STYLE_SOLID,STYLE_DASH,STYLE_DOT}; // style of level lines int widths[3] = {1,2,3}; // width of level lines long chart_ID = 0; // chart's ID string name = "FiboLevels"; // object name FiboLevelsSet(levels, // number of level lines values, // values of level lines colors, // color of level lines styles, // style of level lines widths, // width of level lines chart_ID=0, // chart's ID name); //--- redraw the chart and wait for 1 second ChartRedraw(); Sleep(1000);

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, //

You are missing trading opportunities:
- Free trading apps
- Free Forex VPS for 24 hours
- 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
I tried to change the Fibonacci display color but it only changes the color of the diagonal line across the levels as in the image below. How can I change the level colors? Please see my relevant code below: