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
measured:
2019.07.30 00:44:29.156 tst_iXXX_Copy (EURUSD,H1) CopyClose: loops=1410065408 ms=69407
2019.07.30 00:45:29.408 tst_iXXX_Copy (EURUSD,H1) iClose: loops=1410065408 ms=60250
Running the script:
What's wrong? (no time to figure it out)
Running the script:
What's wrong? (no time to figure it out)
there is no check for the number of bars on the chart, maybe the exit by a non-existent bar - i have unlimited and H1 period on eu, rand() seems to give 65 thousand at most
I've popped the rand() compiler, here's a correct test of all 4 methods:
2019.07.30 00:59:10.911 tst_iXXX_Copy (EURUSD,H1) CopyClose: loops=1410065408 ms=69765
2019.07.30 01:01:23.655 tst_iXXX_Copy (EURUSD,H1) iClose: loops=1410065408 ms=132735
2019.07.30 01:03:51.541 tst_iXXX_Copy (EURUSD,H1) Close[i]: loops=1410065408 ms=147890
2019.07.30 01:05:19.872 tst_iXXX_Copy (EURUSD,H1) CopyRates: loops=1410065408 ms=88328
there is no check for the number of bars on the chart, it may crash on a non-existent bar - i have unlimited and H1 period on eu, rand() seems to give 65 thousand at most
I've popped the rand() compiler, here's a correct test of all 4 methods:
2019.07.30 00:59:10.911 tst_iXXX_Copy (EURUSD,H1) CopyClose: loops=1410065408 ms=69765
2019.07.30 01:01:23.655 tst_iXXX_Copy (EURUSD,H1) iClose: loops=1410065408 ms=132735
2019.07.30 01:03:51.541 tst_iXXX_Copy (EURUSD,H1) Close[i]: loops=1410065408 ms=147890
2019.07.30 01:05:19.872 tst_iXXX_Copy (EURUSD,H1) CopyRates: loops=1410065408 ms=88328
Somehow not good when you need a file :)
Hmm, I guess it's not possible without a half-litre...
why is loops=-2147483648 in my source code different!
;)
PS: to ulong- ints replace in the define - if you're going to test until morning ))))
Hmm, I guess it's not possible without a half-litre...
why is loops=-2147483648 in my source code different!
;)
PS: to ulong-into the ints in the define - if you're going to test until morning ))))
Replaced:
:))
Replaced:
:))
MQL-source code is one-to-one, I copied the test from the terminal log
hmm, hard to guess where else the naughty hands have dug ))))
i am not that keen on it, the code works fine - it worked for me! i got it from here when we discussed
SZY: Win10 - 64, build 2093 (Intel Core - 8GB RAM) - no problems noted, what do you have there?
--------------
attached...it's a script, in the script folder...don't know what else to suggest
Under Wine on Debian x64 only one kernel runs for some reason
MQL-source code is exactly the same, I copied the test from the terminal log
hmm, it's hard to guess where else the naughty pens have dug ))))
i am not that keen on it, the code works fine - it worked for me! i got it from here when we discussed
SZY: Win10 - 64, build 2093 (Intel Core - 8GB RAM) - no problems noted, what do you have there?
--------------
attached...it's a script, in the script folder...don't know what else to suggest
Vin10 - 64 , build 2093 (Intel Core i3-3217U CPU @ 1.80GHz - 12GB RAM)- no problems noticed...
problems noticed...
The only thing to do here is to reduce the number of cycles and if there is a place where the script will work - use the GetLastError() unpacking to look for it
alternatively: or some settings of the terminal? - hmm, what settings are there? - number of bars on the chart and that's it
The only thing to do here is to reduce the number of cycles and if there is a place where the script will work - use the GetLastError() undo to look for it
alternatively: or some settings of the terminal? - hmm, what settings are there? - Number of bars on the chart - that's it.
I have no time to look for it. I thought there was something "out of the box" - I just ran it and saw the result. And so ... Yes, and the script does not work immediately, and hangs until you close it forcibly by pressing the PCM on its icon. And only then something there is printed. In general - with macros one hassle for some reason.