flaab:
Good afternoon,
I am developing an indicator which draws a text label with a 270º angle, which means the label is displayed vertically. Here's the setting code:
It worked fine in b409, and b419. But for some reason, on b432, it does not and the label is displayed horizontally, ignoring the angle.
Does anyone have a clue why?
Thanks in advance!
if(Period() < PERIOD_H4) { ObjectCreate("NewsText"+i, OBJ_TEXT, 0, current, WindowPriceMin()+(WindowPriceMax()-WindowPriceMin())*0.8 ); ObjectSet("NewsText"+i, OBJPROP_COLOR, clr); ObjectSet("NewsText"+i, OBJPROP_ANGLE, 90); ObjectSetText("NewsText"+i, news[i][COLUMN_DATE] + " " + news[i][COLUMN_DESCRIPTION] + " " + text, 8); }This is from https://www.mql5.com/en/code/10459 it works still on 432
Hi deVries,
I'll give it a second try. It just worked fine and when compiled when the b432 version, it does not :(
(The same code compiled with earlier compilers works fine)
Thanks for the answer, I shall try to find details!
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
Good afternoon,
I am developing an indicator which draws a text label with a 270º angle, which means the label is displayed vertically. Here's the setting code:
It worked fine in b409, and b419. But for some reason, on b432, it does not and the label is displayed horizontally, ignoring the angle.
Does anyone have a clue why?
Thanks in advance!