Problems drawing a Rectangle
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!
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.