
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
The call can be made with specifying the period, then the value of the specified TF will be returned,
or without indication of the period, the value will be returned from the current one
(r) :o)I guess this is the way to do it, right?
int
hallelujah... now that's a deal))))))
and with the function
to make it work like this, it must still be like this, right?
You can go from MQL4 to MQL5 and vice versa...
In order to find out the number of minutes of a given period of the graph, divide the value of thePeriodSeconds function by 60. This link shows a 404 error :) I will try it myself:
Will this do? it won't))) so many errors it's scary)
No then overloading won't work, you won't be able to compile. My code is correct and the call in the next post is also correct.
int
Ahhhh I remember it's simpler, but then you have to divide it by 60 to get the minutes.
Ahhhh I remember it's simpler, but then you have to divide by 60 to get the minutes.
A bit for working with periods as in MQL4
I'm putting in a test from 2010.01.01 to today. I output the date of the very first bar 2009.01.02.
How can I make the first available bar be e.g. 2006.01.02?