
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
I am sure that there is a solution.
I didn't get this error when I tried this code,
Anyway try the following code, this might not be the perfect solution but try it anyway.. :)
I didn't get this error when I tried this code,
Anyway try the following code, this might not be the perfect solution but try it anyway.. :)
It is not an error
Yeah sorry , I know my mistake, it is not an error.. :D
But I got the same results over all the time periods
Yeah sorry , I know my mistake, it is not an error.. :D
But I got the same results over all the time periods
OMG!
Once again, tick generation is based on OHLC prices and support points, is different between a M1 chart & a M15 chart : indicators datas are calculated from these prices. That algo has been added to MT4 and remained in MT5.
https://www.mql5.com/en/articles/75
Once again, tick generation is based on OHLC prices and support points, is different between a M1 chart & a M15 chart : indicators datas are calculated from these prices. That algo has been added to MT4 and remained in MT5.
https://www.mql5.com/en/articles/75
What could be the answer?
I didn't check or try, however I would like to help you.
You are using tickdata right ? Did you try with "normal" MT4 data ?
Your code relies on ticks, if you get different results it's most probably because the starting point (tick) is not the same when you change the timeframe.
I didn't check or try, however I would like to help you.
You are using tickdata right ? Did you try with "normal" MT4 data ?
Your code relies on ticks, if you get different results it's most probably because the starting point (tick) is not the same when you change the timeframe.
It is the same test duration (from 1/1/2013)