Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1136
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
Here is the code that draws a line on M5:
I would like a line to be drawn at the beginning of each hour on M5 that will not be connected to the previous ones. I.e. just a horizontal line, not a broken line. The line is the average price of the previous hour.
And if you remove the *beam* property of this line, it would be great.
It doesn't work. It only draws one line at start-up and that's it.
It doesn't work. It only draws one line at start-up and that's it.
How many do you need?
How much do you need?
I would like to see a line drawn at the beginning of each hour on M5 that will not be connected to the previous ones. I.e. just a horizontal line, not a broken line. The line is the average price of the previous hour.
middle of the bar H1 ?
middle of the bar H1 ?
Yes, only on the M5.
draw a picture as it should be, and not with one line
draw a picture as it should be, and not with one line
***
By the way, why draw exactly with the Horizontal Line graphical object? Wouldn't it be better to do it with an indicator andDRAW_ARROW style?
Something like this display: