Errors, bugs, questions - page 2177
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
StringToTime
Much obliged!
Terribly slow and not optimal to handle string variable conversions.
You have the answer above:
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
Alexey Viktorov, 2018.03.30 19:30
Fill MqlDateTime structure and get full date and time from it.
Thank you very much!
We don't look for easy ways. Way to go...
We are not looking for an easy way out. Way to go...
Write him a little example ;)
Fill in the MqlDateTime structure and get the full date and time from it.
Interesting to see how it works in code
Write him a little example ;)
It was said
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
Maxim Khrolenko, 2018.03.30 18:49
I can't find an answer to the question, how to write a time value corresponding to the given parameters into a variable of datetime type based on 6 variables of int type (year, month, day, hour, minute)? Then I need to find the index of the candle that opened at that time, but that's not a problem for me. If anyone has a link where you can find the answer, please, I'll figure it out on my own.It was said.
What day of the week does that make it? Have you checked? Just wondering if it calculates it by itself during the conversion or not.
Even these two: day_of_week and day_of_year
What day of the week is it? Have you checked? I'm just wondering if it calculates it by itself during conversion or not.
Even these two: day_of_week and day_of_year.
If you put it back into the structure afterwards.
TimeToStruct(_Time, dateTime);
it'll show up all right.
day_of_week = 5
day_of_year = 88
What day of the week is it? Have you checked? Just curious if it calculates it by itself during conversion or not.
Even these two: day_of_week and day_of_year
It doesn't work when day_of_year is filled in (
A very strange pause of 22 seconds. Who can explain?
result: