Questions from Beginners MQL5 MT5 MetaTrader 5 - page 981

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
Friends, can you tell a newbie what's wrong? I want to find bars corresponding to a certain time, below is the code, but it doesn't work.
Friends, can you tell a newbie what's wrong? I want to search for bars corresponding to a certain time, below is the code, but it doesn't work.
Searching for a bar by time
Friends, can you tell a newbie what's wrong? I want to find bars corresponding to a certain time, below is the code, but it doesn't work.
And you, sorry not to offend, didn't count the number of crooked brackets?
I'm sorry, I don't want to offend anyone, but have you considered the number of curve brackets?
This is how I copied it, the compiler doesn't swear.
Searching for a bar by time
The task was to select all the bars of a certain hour at a certain period of time and subsequently calculate the parameters of this bar. That is why I decided to master this function. I am just beginning to master MQL5, that is why I may have some silly questions.
I have understood it and it works.
Gentlemen, please help me to understand this. I am developing an indicator that uses max and min of the previous day. How to avoid Saturday and Sunday from drawing?
There are no ticks on the weekend, so the indicator will not do anything. And if it doesn't do anything, it means it won't draw anything :)
Gentlemen, help me out here. I am writing an indicator, which draws max and min of the previous day. How to exclude Saturday and Sunday from drawing?
First, show me how you get them, these max and min.
Month()
how to know the month in MQL5?MQL4 has a function how to know the month in MQL5?
MqlDateTime - structure to store the date.
TimeToStruct- passes the time to the structure.
Now look at the fields of the structure:
MqlDateTime - structure to store the date.
TimeToStruct- passes the time to the structure.
Now look at the fields of the structure:
In addition to this, there are