Thanks for the reply - that makes no difference.
The levels are redrawn, but all levels take the last color, style and width set in the arrays.
The documentation now gives an example where the individual fib levels can be set (color, style, width, value).
Anyone managed to get this working? For me, it is the same as it's always been, namely all levels take the same color, style and width.
Excerpt from the documentation:
There is no OBJPROP_LEVELCOLOR + n
https://docs.mql4.com/constants/objectconstants/enum_object_property
Hi RaptorUK - that screenshot above is directly from the link you posted. You need to scroll down to the ENUM_OBJECT_PROPERTY_INTEGER section, and you'll find it listed there.
(Note: I'm referring to application through ObjectSetInteger() not ObjectSet() here)
Does anyone know if this functionality is supported in MQL5? In which case, there is slightly more hope...
Thanks for the reply - that makes no difference.
The levels are redrawn, but all levels take the last color, style and width set in the arrays.
Hello angevoyageur,
I understand that has always been the case.
But doesn't it seem a little odd that they have recently written an example about how to do exactly that? And there are appropriate members of the enumeration family?
Hello angevoyageur,
I understand that has always been the case.
But doesn't it seem a little odd that they have recently written an example about how to do exactly that?
Yes I know, it's a copy/paste from mql5 documentation. And it does not work with MQL5 either.
You can try your chance with ServiceDesk
Well if it doesn't work in MQL5, then I'm not going to hold my breath!
Thanks for clarifying the situation with MQL5.
I'll go back to using excessive numbers of objects and code to achieve a seemingly simple task.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The documentation now gives an example where the individual fib levels can be set (color, style, width, value).
Anyone managed to get this working? For me, it is the same as it's always been, namely all levels take the same color, style and width.
Excerpt from the documentation: