More confused:
PERIOD_D1 = 16408 !!!!!
Was there any problems to give it a correct value as it was in MQL4 - 86400.
There is no warning in Help file or anything. Each developer needs to learn it in hard way by spending lot of time debugging and wondering why it's not working.
And of course - Period() returns some bullshit value too.
So, everyone, be aware - ALWAYS USE PeriodSeconds() !
tsaktuo:
So, how is it??? Should I stop drinking? :)
You are not drunk for sure but jut try remember this is beta. I am still waiting for 2 months now the major bugs to be solved but it appears I should go start drinking.. :)
(Build 306)
Output:
2010.08.16 20:07:36 K_sStatisticsOfBars (EURUSD,M30) min = 2008 dt.min = 0 dt.hour = 0
But if I do like this:
Then output is:
2010.08.16 20:12:29 K_sStatisticsOfBars (EURUSD,M30) min = 0 dt.min = 0 dt.hour = 0
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
(Build 306)
Output:
2010.08.16 20:07:36 K_sStatisticsOfBars (EURUSD,M30) min = 2008 dt.min = 0 dt.hour = 0
But if I do like this:
Then output is:
2010.08.16 20:12:29 K_sStatisticsOfBars (EURUSD,M30) min = 0 dt.min = 0 dt.hour = 0