Hi, i want to draw a vertical line in next days or week Bar.
How could i do so for example today date is = 2009.03.26
and when i want to draw a vertical line i'm writing this:
ObjectCreate("line1",OBJ_VLINE,0,Time[0],0);
it works fine, BUT when i want to draw a vertical line at 2009.03.27 (tomorrow) it doesn't work;
ObjectCreate("line1",OBJ_VLINE,0,Time[-5],0);
i did Time[-5] because i want to choose the next 5 Bar but it doesn't works.
Any ideas guys?
Thank you
- MQL4 Vertical Line
- ObjectCreate() problems
- EA tester + ObjectCreate() Function
haitham_elnemr:
Hi, i want to draw a vertical line in next days or week Bar.
How could i do so for example today date is = 2009.03.26
and when i want to draw a vertical line i'm writing this:
ObjectCreate("line1",OBJ_VLINE,0,Time[0],0);
it works fine, BUT when i want to draw a vertical line at 2009.03.27 (tomorrow) it doesn't work;
ObjectCreate("line1",OBJ_VLINE,0,Time[-5],0);
i did Time[-5] because i want to choose the next 5 Bar but it doesn't works.
Any ideas guys?
Thank you
why would you want to draw a line on a bar that does not exist?
any ideas guys ?
Thank you veru much Ais :)
Welcome u salam galaikum
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