volodarh: Please tell me. Why is the strategy tester on MT5 lying about the robot's test results? The robot based on the stochastic on 100% of history on all ticks according to the test results is not making many deals, while there were clear signals for that. For example, it only makes bullish trades whereas the end of a bullish trade must be followed by the beginning of a bearish one (by crossing the signal line). On the real time chart it makes all trades as it should?
First, check the logs to see if there are any errors... Then check the logic. Then you formulate your question as correctly as possible and provide technical details and attach the code. In general, do the right thing.
Karputov Vladimir: First check the logs to see if there are any errors... Then check the logic. Then formulate the question as correctly as possible and provide technical details, attach the code. In general, do the right thing.
Everything's fine in the log. And how do you check the logic?
fvdtrejder: I would also like to ask you a question. If we don't tie it to historical data at all, but just have two static arrays with a finite number of values. It can be done in MQL4?
We should use an offline chart, but we will still have to emulate time on the X-axis somehow. Or radically draw everything myself on CCanvas.
volodarh: Everything is OK in the logbook. How do you check the logic?
Enter logging into a file and write there the values of the required variables, at which the signal should occur. This approach helped me a lot at one time to find a hard to catch error, also signals did not work.
Good day! MQL4, indicator, there is an error: "stack overflow". Possible causes and solutions, please advise.
Thank you for ignoring it, the solution has been found. The reason: repeated calling of the previous function in the next function. Remedy: Create a duplicate counterpart of the first function.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Please tell me. Why is the strategy tester on MT5 lying about the robot's test results? The robot based on the stochastic on 100% of history on all ticks according to the test results is not making many deals, while there were clear signals for that. For example, it only makes bullish trades whereas the end of a bullish trade must be followed by the beginning of a bearish one (by crossing the signal line). On the real time chart it makes all trades as it should?
First check the logs to see if there are any errors... Then check the logic. Then formulate the question as correctly as possible and provide technical details, attach the code. In general, do the right thing.
Everything is OK in the logbook. Can you tell me how to check the logic?
I would also like to ask you a question. If we don't tie it to historical data at all, but just have two static arrays with a finite number of values. It can be done in MQL4?
Everything is OK in the logbook. How do you check the logic?
Hello!
Can you please tell me if it is possible to remove an Expert Advisor from the chart when a certain event occurs? Or only manually?
Hello!
Can you please tell me if it is possible to remove an Expert Advisor from the chart when a certain event occurs? Or only manually?
ExpertRemove
Good day! MQL4, indicator, there is an error: "stack overflow". Possible causes and solutions, please advise.
Thank you for ignoring it, the solution has been found. The reason: repeated calling of the previous function in the next function. Remedy: Create a duplicate counterpart of the first function.