I’m new to backtesting. Trying to test out an Martingale based EA on MT4. For some reason my graph is off. When the EA Martingale’s to make up for a losing position, you should see big dips in the graph, but I never see that. I see big humps when I should be seeing big dips. Any thoughts?
Alexei, excuse me for being stupid and clueless, but then this code I took from MetaEditor, what is this code?
Regards, Vladimir.
1 - technical (standard)
Getting the handle
intiAlligator(
string symbol, // имя символаENUM_TIMEFRAMES period, // периодint jaw_period, // период для расчета челюстейint jaw_shift, // смещение челюстей по горизонталиint teeth_period, // период для расчета зубовint teeth_shift, // смещение зубов по горизонталиint lips_period, // период для расчета губint lips_shift, // смещение губ по горизонталиENUM_MA_METHOD ma_method, // тип сглаживанияENUM_APPLIED_PRICE applied_price // тип цены или handle
);
2 - custom. In spite of the fact that it comes with the terminal.
And this one is like this
intiCustom(
string symbol, // имя символаENUM_TIMEFRAMES period, // периодstring name // папка/имя_пользовательского индикатора
... // список входных параметров индикатора
);
2 - user. Despite the fact that it is supplied with the terminal.....
I see. Thanks for the clarification. I didn't think that the same indicator placed in different places has such a catastrophic difference. Probably they work differently?
ESTARIX backtesting. I am trying to test a Martingale based EA on MT4. For some reason my chart is not working. When the EA is martingaleing to offset a losing position, you should see big dips in the chart, but I don't see that. I see big humps when I should be seeing big dips. Any thoughts on this?
Your EA, when closing a series of positions, starts closing from the most profitable position. That's why the balance rises at first and then falls when the losing positions start closing. If you want to see failures, change the closing order.
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.
Good afternoon! For some reason the strategy tester stopped working. Although it was working last night.
How can I fix it?
Regards, Alexander
Hi Alexei, I don't know, but I think I've made everything clear and understandable in my post:
Hi. But it can't be fitted to the standard indicator... That's why I specified the problem.
Hi. BUT there is no way to fit the standard indicator... That's why I specified the problem.
Good morning, Alexey! Can you explain why it is impossible to fit?
Regards, Vladimir.
Good morning, Alexei! Can you explain why you can't put it in?
Regards, Vladimir.
Because the code is not available for the standard, or rather technical indicator.
Because the code is not available for the standard, or rather technical indicator.
Alexey, I apologise for my stupidity and cluelessness, but then this code, which I took from MetaEditor, what kind of code is it?
Regards, Vladimir.
Alexei, excuse me for being stupid and clueless, but then this code I took from MetaEditor, what is this code?
Regards, Vladimir.
1 - technical (standard)
Getting the handle
2 - custom. In spite of the fact that it comes with the terminal.
And this one is like this
1 - technical (staff)
2 - user. Despite the fact that it is supplied with the terminal.....
I see. Thanks for the clarification. I didn't think that the same indicator placed in different places has such a catastrophic difference. Probably they work differently?
Regards, Vladimir.
I guess they work differently, too, huh?
I will answer my own question. It turned out that with the same input parameters, both indicators show the same picture.
Regards, Vladimir.