Tango_X: If someone is able to add multitiming to this EA and it will work properly - I'm ready to pay.
//+------------------------------------------------------------------+//| Обработчик событий на графиках |//+------------------------------------------------------------------+voidOnChartEvent(constint id, // Идентификатор событияconstlong &lparam, // Параметр события типа longconstdouble &dparam, // Параметр события типа doubleconststring &sparam) // Параметр события типа string
{
//--- Если это пользовательское событиеif(id>=CHARTEVENT_CUSTOM)
{
//--- Выйти, если запрещено торговатьif(CheckTradingPermission()>0)
return;
//--- Если было событие "тик"if(lparam==CHARTEVENT_TICK)
{
//--- Проверяет сигналы и торгует по нимCheckSignalsAndTrade();return;
}
}
}
add more events listed in spy
//--- Если было событие "тик"if(lparam==CHARTEVENT_TICK)
CHARTEVENT_TICK заменить на M1-M5 и т.д. по списку
I think there was something wrong withCheckTradingPermission too
//--- Если было событие "тик"if(lparam==CHARTEVENT_TICK)
CHARTEVENT_TICK заменить на M1-M5 и т.д. по списку
Why add M1-M5 etc.? Ticks are independent of time... I.e. if there was a tick, it was on all times, right? If you track a new bar, then it's different...
Hello! Actually the question is in the picture, I can't understand what's wrong. The Expert Advisor is multitime and multisymbol, but only USDCHF.m with one-minute period is selected in order not to clutter it with signals. Please understand the question and help, because I am stumped!
Example taken from here https://www.mql5.com/ru/articles/648
В этой статье мы рассмотрим реализацию простой схемы для мультивалютного эксперта. В данном случае имеется в виду, что эксперт можно будет настроить на тестирование/торговлю по одинаковым условиям, но с разными параметрами для каждого символа. В качестве примера создадим схему для двух символов, но сделаем это так, чтобы при необходимости можно...
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.
Thank you. Point me in the direction of Spy.ex5 (preferably .mq5)
You can find it in the same thread:
Forum on trading, automated trading systems and strategy testing
Analysis of test results and optimization in MetaTrader 5 strategy tester
fxsaber, 2018.01.28 12:25
Indicator
...
Anatoliy, I wrote to you in person
Answered there.
So there's an indicator in the same thread too:
Thank you!
If someone is able to add multitiming to this EA and it will work properly - I'm ready to pay.
add more events listed in spy
I think there was something wrong withCheckTradingPermission too
add more events listed in spy
Why add M1-M5 etc.? Ticks are independent of time... I.e. if there was a tick, it was on all times, right? If you track a new bar, then it's different...
the "all ticks" mode is the most expensive way, if you are not a scalper and open on a new bar, there is no point in running all the ticks on the code
it also allows you to get away from the current chart
Hello! Actually the question is in the picture, I can't understand what's wrong. The Expert Advisor is multitime and multisymbol, but only USDCHF.m with one-minute period is selected in order not to clutter it with signals. Please understand the question and help, because I am stumped!
Example taken from here https://www.mql5.com/ru/articles/648