this thread help u and u gonna like this too This is the fifth article from the series "MQL4 Languages for Newbies". Today we will learn to use graphical objects ...
fbj wrote >>
this thread help u and u gonna like this too This is the fifth article from the series "MQL4 Languages for Newbies". Today we will learn to use graphical objects ...
this thread help u and u gonna like this too This is the fifth article from the series "MQL4 Languages for Newbies". Today we will learn to use graphical objects ...
Thanks fbj.
It's a very interesting article for Newbies like me. I think i found my error!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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 everyone,
I've been trying to draw a rectangle on my window but i don't get anything.
I think the problem is in this code:
...
ObjectCreate("Box", OBJ_RECTANGLE, 0, time1, box_low,time2, box_high);
ObjectSet("Box", OBJPROP_COLOR, PowderBlue);
ObjectSet("Box", OBJPROP_STYLE, STYLE_SOLID);
ObjectSet("Box", OBJPROP_WIDTH, 2);
...
time1: I use number of seconds elapsed since midnight (00:00:00), January 1, 1970
time2: I use other number of seconds elapsed since midnight (00:00:00), January 1, 1970
box_low: I use the low price wich i calculated before
box_high: the high price that i also calculated before
Please can anyone check if there's anything wrong.
Many thanks in advance.