Questions from Beginners MQL5 MT5 MetaTrader 5 - page 798
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
Hello! I need your help, forum members. I am writing an indicator. I need an opening time of the bar to be processed. It would seem that this time should be stored in time[], but there is some nonsense.
2017.11.20 17:48:01.590 (RTS-12.17,M1) year 2016 29 15 26
2017.11.20 17:48:01.734 (RTS-12.17,M1) year 2016 29 15 27
2017.11.20 17:48:01.878 (RTS-12.17,M1) year 2016 29 15 29
2017.11.20 17:48:02.022 (RTS-12.17,M1) year 2016 29 15 33
2017.11.20 17:48:02.165 (RTS-12.17,M1) year 2016 29 15 45
2017.11.20 17:48:02.310 (RTS-12.17,M1) year 2016 29 21 12
2017.11.20 17:48:02.454 (RTS-12.17,M1) year 2016 1 20 54
2017.11.20 17:48:02.599 (RTS-12.17,M1) year 2016 2 12 52
2017.11.20 17:48:02.743 (RTS-12.17,M1) year 2016 2 22 28
2017.11.20 17:48:02.887 (RTS-12.17,M1) year 2016 2 23 20
2017.11.20 17:48:03.031 (RTS-12.17,M1) year 2016 3 11 47
2017.11.20 17:48:03.175 (RTS-12.17,M1) year 2016 3 22 34
2017.11.20 17:48:03.320 (RTS-12.17,M1) year 2016 3 22 35
2017.11.20 17:48:03.463 (RTS-12.17,M1) year 2016 4 21 56
2017.11.20 17:48:03.609 (RTS-12.17,M1) year 2016 4 23 32
It feels like there are only a few bars per day. Can you give me a hint plz, my brain is already screwed up.
Yes, but crooked.
At first glance CopyTick works in the tester. Are there any known bugs in CopyTicks operation in the tester ? CopyTicksRange in real life works without bugs ?
In next build developers will make correct display of TRADE flags in the tester.
There is a bug with tick times in the tester. We have to subtract a certain value each time. SD is aware of the problem.
Can you elaborate on that?
Thanks for your help, so many willing to help!!!!!!!!!!!! I'm tired of reading the comments on my code..............
Please advise how to find out the price step (in the "Teak size" specification)?
Please advise how to find out the price step (in the "Teak size" specification)?
ht
Thank you! I searched and couldn't find it...
Then the next question, let's say the step is 25, then how to arrange rounding to a number divisible by 25, maybe there is a function?
Thank you! I searched and couldn't find it...
Then the next question, let's say the step is 25, then how to arrange rounding to a number divisible by 25, maybe there is a function?
I made a function, it seems to work