Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1137
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
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:
Will it work so that these are separate lines for each hour and not connected in a broken line?
Don't: if you use only one graphical construction (in the picture above two graphical constructions are used), the indicator will draw only one icon per bar. This method will avoid problems with a huge number of horizontal lines.
Don't: if you use only one graphical construction (in the picture above two graphical constructions are used), the indicator will draw only one icon per bar. This method will avoid problems with a huge number of horizontal lines.
I tried to implement the idea as an indicator. But I got a solid line. I.e. it was calculated from the 1st bar up to the 11th one, and when a new bar appeared, the line was just completed.
My knowledge in this field is probably insufficient...(
I dare to repeat the question... The Expert Advisor creates an indicator window. An attempt is made to change the height of this window from the Expert Advisor, but nothing happens. I am using this method:
Help me to understand what is wrong?
Here's
https://www.mql5.com/ru/charts/10810168/usdchf-m5-forex-club-international
in the code base, called
Mid Bar H1
I dare to repeat the question... The Expert Advisor creates an indicator window. An attempt is made to change the height of this window from the Expert Advisor, but nothing happens. This method is used:
Please help to understand what is wrong?
The Expert Advisor cannot create an indicator window.
If you want to change the window of an already placed indicator in the chart, you should find the number of the window by its short name and try to change its height. But this is just a theory, because I've never done it, as I don't need to.
in the code base, called
Mid Bar H1
Thank you! It's working.
please.
Expert cannot create an indicator window.
If we want to change the window of an indicator, which has already been placed in the chart, we should find the number of the window by the short name of the indicator and try to change its height. It is only a theory, because I have never done it.
The Expert Advisor still creates a window using ChartIndicatorAdd and the indicator blank, then it displays its information there.
Thank you for the idea, we will try it.