MetaTrader 4 Build 529 beta released with new compiler - page 126
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
The physical meaning is to check that the symbol whose name is entered as a string in the input parameters of the EA is available to trade. Identical code in MT5 works.
The code I gave you is just an example. It's a little different, but the meaning doesn't change.
P.S. What about error 138 in the tester?
Code:
Result:
Check:
What's stopping you from looking at the cause?It means that pass results were useless and discarded.
Thank you for the translation. I was struggling with the translation, couldn't understand it...
But the old build takes about 3 hours to optimize and finds about 2000 profitable EA parameters. The new build optimizes normally for half a minute or even less at first, finds profitable parameters and then abruptly breaks and finishes the optimization.
I repeat, I wrote about this strange optimization behavior about a month ago. It seems to have been fixed. Now I have the same problem.
Check:
What's stopping you from seeing the cause?There is nothing in the way.
There's nothing in the way.
Anyway, here goes. SymbolInfoTick seems to be still a bit crooked (it seems to copy the REAL last price, not from the history):
Result:
I had to change the Volume for the sake of compatibility with MT5. Now the internal bars in MT4 are the same as in 5.
This can't be the reason for the strong discrepancy between the test results on your demo account and, for example, on Alpari, where my customer is testing.
Previously, even with differences in quotes, there was not such a completely different performance of one EA on different accounts. Now in the visual mode we can see that in one test the position is clearly either positive or negative, but in another test the situation is quite the opposite.
You have to look in detail at the discrepancies with all the logs. You can't draw conclusions from a general view. I mean, you need details.