[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 538
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
I want to draw a horizontal segment in the indicator from the given value ExtMapBuffer1[i]
sideways by the value of b
(period if 1 hour b=24, if 30 min b=48, i.e. number of bars in one day)
ObjectCreate("highLine",OBJ_TREND,0,Time[i],ExtMapBuffer1[i],Time[i]+b,ExtMapBuffer1[i]);
But alas, it doesn't draw...
I want to draw a horizontal segment in the indicator from the given value ExtMapBuffer1[i]
sideways by the value of b
(period if 1 hour b=24, if 30 min b=48, i.e. number of bars in one day)
ObjectCreate("highLine",OBJ_TREND,0,Time[i],ExtMapBuffer1[i],Time[i]+b,ExtMapBuffer1[i]);
But alas, it doesn't draw...
I want to draw a horizontal segment in the indicator from the given value ExtMapBuffer1[i]
sideways by the value of b
(period if 1 hour b=24, if 30 min b=48, i.e. number of bars in one day)
ObjectCreate("highLine",OBJ_TREND,0,Time[i],ExtMapBuffer1[i],Time[i]+b,ExtMapBuffer1[i]);
But alas, it doesn't draw...
ObjectCreate("highLine",OBJ_TREND,0,Time[i],ExtMapBuffer1[i],Time[i-b],ExtMapBuffer1[i]);
Thanks, but now the problem is just a ray instead of a segment...i.e. from the first point it goes sideways, clearly the problem is with the second coordinate, but I haven't figured it out yet.
Thanks, but now the problem is just a ray instead of a segment...i.e. it goes away from the first point, clearly the problem is with the second coordinate, but haven't figured it out yet.
https://docs.mql4.com/ru/objects/objectset
https://docs.mql4.com/ru/constants/objects/properties
costy_:
Thank you so much! Phew... my first turkey :)
Now the question is, what function should I prescribe so that it deletes all of its graphics after removing an indicator?
Hi all!
my robot does WindowScreenShot("shots\\")
currents question:
>>> how to mail this .gif file from the folder?
Thanks in advance!
Question for connoisseurs:
Why do the Bid and Ask internally not correspond to what is shown on the chart?
I put Bid and Ask values in the commentary, which I take off in two different ways.