Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 968
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
Are the quotes stored in the tester/history folder?
No.
\history\downloads\symbol*.dat - archive of quotes.
\history\server\*.hst - quotes.
\tester\history\*.fxt - generated from *.hst files every time you start test or optimization.
Forum on trading, automated trading systems and strategy testing
Question to MT4 developers: Tester files
Sergey Basov, 2016.01.14 07:25
I'm not an MT4 developer, but I can answer from personal experience.
Deleting them will not affect anything. They will just be generated again during the next testing or optimization.
The quotes are stored in *.hst files, from them the tester generates *.fxt files, and each time they are generated anew.
No.
\history\downloads\*.dat - archive of quotes.
\history\server\*.hst - quotes.
\tester\history\*.fxt - generated from *.hst files every time you run a test or optimisation.
This stuff puts a lot of strain on the drive on startup... Why doesn't the tester delete it if it generates it again every time? Is there any way to set it up?
Hello! I wanted to get the opening time of the current month's bar, but got an error 4074 (ERR_NO_MEMORY_FOR_HISTORY). It's also interesting that if I start testing from June 1, everything is correct, but from June 2 the error starts to appear. How to solve this month's problem?
Hello!
I faced the same error 4074(ERR_NO_MEMORY_FOR_HISTORY) when testing with quotes from another broker. And it's not the first 3rd party quotes that I use. I haven't got such error with others. What is the reason for the error, and how to fix it, maybe someone has already figured it out?
Why does the simplest code in mt5 work completely differently than in mt4? For example, the following code, which calculates the average mt4 muwings buffer value:
...doesn't work in mt5. To make it work in more or less similar way (by gut feeling method), you need it like this:
And then, the first 7 buffers show some prohibitive values. Everything further seems to work fine. My jaw tightened by such a trifle)
Please advise how to solve this correctly?
Added Comment between calculations and everything fucking redrawn :D
What's the big deal?I can't figure out how to write such a condition with iFractal? If:
Weekend. Fooling around...
I can't figure out how to write such a condition with iFractal? If:
out of ready, this is how you look for fractals:
You need to call 2 times to find the first fractal and the subsequent Up, roughly like this:
Added Comment between calculations and everything fucking redrawn :D
What's the trick?ArraySetAsSeries(true) for indicator buffers.
from ready-made, this is how you look for fractals:
You need to call you 2 times to find the first fractal and the next Up, like this:
Thanks, it works, only one condition is met:
if(barfrup_1<barfrup_2 && barfrdown_1<barfrdown_2)
And I need
if(barfrup_1<barfrup_2 && barfrdown_1>barfrdown_2)
And I can't open positions with it for some reason.