If you have not provided the code, then you will not receive help (there are no telepaths here).
General advice - first of all look for mistakes in yourself.
If you have not provided the code, then you will not receive help (there are no telepaths here).
General advice - first of all look for mistakes in yourself.
" If you have not provided the code, then you will not receive help (there are no telepaths here)."
The problem is if I provide the code as attachments, some forum members complain that they will not read it until know what is inside or if I provided the code and attachment many will not have time to go through it (the length of code and multiple files). So it is catch 21 situation for me.
It would be good if you (being an Masters of the Subject), can ask specific code where I could have made mistake.
" General advice - first of all look for mistakes in yourself."
I have tried from my side to check thoroughly in code, no where I am calling indicators with old path or file name.
The indicators called from new path are working perfectly fine WITHOUT any ERROR.
Wish you could have paid attention to "As I noticed two times, I did change the TimeFrame, but Tester was using old TimeFrame and when Looked into Input Tab, I realized it still uses the old TimeFrame, changing it solved the problem." part of my query. This simply does not require any code.
Anyway thanks for your time.
******************************************
QE 2 10:13:42.006 Tester program file Indicators\MyIndicators\iCustom\cVWEMA.ex5 read error
NF 2 10:13:42.006 Custom Indicator loading of cVWEMA US30,M5 failed [557]
PR 0 10:13:42.048 Tester program file added: \Indicators\MyIndicators\cVWEMA.ex5. 17575 bytes loaded
When a person makes mistakes in his code, he usually does this: reduce his code to a minimum, and thus localize the error. You need to throw out all your code and leave only the OnInit section. This way you will find your mistake very quickly. I also repeat - learn to work with the strategy tester.
An example of working with iCustom - we get the indicator data in the EA [data folder]\MQL5\Indicators\Examples\MACD.mq5
- 2020.09.06
- www.mql5.com
When a person makes mistakes in his code, he usually does this: reduce his code to a minimum, and thus localize the error. You need to throw out all your code and leave only the OnInit section. This way you will find your mistake very quickly. I also repeat - learn to work with the strategy tester.
Thanks Vladimir
I will into your suggestions and hope to pin point the problem code.
Cool ... this looks to be very informative article.
Will grasp it to learn how to use strategy tester.
Thanks a lot
When a person makes mistakes in his code, he usually does this: reduce his code to a minimum, and thus localize the error. You need to throw out all your code and leave only the OnInit section. This way you will find your mistake very quickly. I also repeat - learn to work with the strategy tester.
Hi Vladimir
I have gone through the article learn to work with the strategy tester. I is informative, however could not find answer to my problem.
I have tried running a blank EA just created from the template and run it. To my utter surprise, the error still continues, that CONFIRMS my belief that the tester is saving information and while next run, it use that information again.
Would be great if I know how to RESET Strategy Tester to kind of NULL and it start afresh.
The EA otherwise working fine (gives no error) in real mode on demo account.
Hi Vladimir
I have gone through the article learn to work with the strategy tester. I is informative, however could not find answer to my problem.
I have tried running a blank EA just created from the template and run it. To my utter surprise, the error still continues, that CONFIRMS my belief that the tester is saving information and while next run, it use that information again.
Would be great if I know how to RESET Strategy Tester to kind of NULL and it start afresh.
The EA otherwise working fine (gives no error) in real mode on demo account.
Please follow these steps:
- Provide your MQL5 code
- Describe in detail where you click, what you do, what you get. With screenshots.
Please follow these steps:
- Provide your MQL5 code
- Describe in detail where you click, what you do, what you get. With screenshots.
Thanks Vladimir
The problem has been sorted out itself. I just run the tester for a different period and it gives no more errors.
So it is again assured that it was not the MQL CODE problem.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Friends
I failed to understood, why my EA keeps looking for old files which have been deleted / relocated to a different folder.
It seems some where the Strategy Tester keeps old records and repeat them while running. As I noticed two times, I did change the TimeFrame, but Tester was using old TimeFrame. Basically I am looking to reset the Tester. How can I do that?
Please help me out.