Questions from Beginners MQL5 MT5 MetaTrader 5 - page 7

 
Hello. Can you please tell me how to start the Meta tester agent. I'm following the instructions but the agents don't appear ((((. What can be the reason?
 
Can an EA written in MQL4 be offered for sale in MQL5 Market and sell it for credits?
 
Paladin80:
Can an EA written in MQL4 be offered for sale in MQL5 Market and sell it for credits?
no
 
Desead:
Doesn't anyone know why there is such a difference between the chart and the log? In the end the result is the same - the entire chart is painted with arrows as if I was actively buying and selling. In the log of the tester 1 deal is written (this is correct) but when I close the tester and look at all statistics it says 79 deals at all and so on. What the fuck, how to work ? why i can not make only 1 transaction ?

Judging by the screenshot, you are testing on Alfa forex data. You didn't specify this point, not everyone can guess.

This broker has enabled swap accrual through over-opening at midnight. Thus, every night there is an automatic closing of the position and reopening anew.

By the way, this mode is easy to detect in the reports, look at the distribution chart of entries by day of the week and by hour. You will see the opening on Saturday and the distribution peak at 00:00.


 
Rosh:

Judging by the screenshot, you are testing on Alfa forex data. You didn't specify this point, not everyone can guess.

This broker has enabled swap accrual through over-opening at midnight. Thus, every night there is an automatic closing of the position and reopening anew.

By the way, this mode is easy to detect in the reports, look at the distribution chart of entries by day of the week and by hour. You will see the opening on Saturday and the distribution peak at 00:00.


Yes, thank you. If I had known this point was important. I trade at work via another broker and it is not present there.


I have two more questions.

1. Market Watch window, currency specification tab has a stop level. For instance, for EURUSD I have 60. It means this is the minimum distance from the current price for a stop (I hope I got it right) How can I get this parameter programmatically?

2. Is it possible to call the optimization directly from the EA, making it self-optimizing, or the optimization module has to be completely written myself?

I thank you in advance.

 
Desead:

Yes, thank you. If I had known this point was important. It's just that at work I trade through another broker and there's no such thing there.


Two more questions came up.

1. Market Watch window, currency specification tab has a stop level. For instance, for EURUSD I have 60. It means this is the minimum distance from the current price for a stop (I hope I got it right) How can I get this parameter programmatically?

2. Is it possible to call the optimization directly from the EA, making it self-optimizing, or the optimization module has to be completely written myself?

I thank you in advance.


Справочник MQL5 / Стандартные константы, перечисления и структуры / Состояние окружения / Информация об инструменте

SymbolInfoInteger(
   string  name,        // символ
   SYMBOL_TRADE_STOPS_LEVEL // идентификатор свойства
   );

No, you cannot call the optimization from the EA.

 
Urain:

No, you cannot call the optimisation from the EA.

Thank you.


When an EA is active, the context menu appears on the right button, which contains an item - list of EAs, which indirectly hints at the possible inclusion of several EAs on the chart at the same time. But if you add a second EA, it will replace the first one. How to bypass this limitation and is it possible ?

I have one EA that directly trades and another one which plots horizontal lines. They do not run simultaneously. Or it may be simpler to combine them into one or convert the EA which only draws the area to an indicator ?

Документация по MQL5: Стандартные константы, перечисления и структуры / Константы объектов / Типы объектов
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы объектов / Типы объектов
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы объектов / Типы объектов - Документация по MQL5
 
Desead:

Thank you.


When an EA is active, the context menu appears on the right button, which contains an item - list of EAs, which indirectly hints at the possible inclusion of several EAs on the chart at the same time. But if you add a second EA, it will replace the first one. How to bypass this limitation and is it possible ?

I have one EA that directly trades and another one which plots horizontal lines. They do not run simultaneously. Or it may be simpler to combine them into one or make the EA only marking area an indicator ?

The context menu shows all EAs running in the terminal, it is a common list of EAs and scripts for all charts,

As opposed to indicators which have a separate list for each chart .

So you're wrong about

...which indirectly hints at the possible inclusion of several EAs on the chart at the same time...
 
VDev:

I don't need a silly chorus about the 5.

It's just a shame that a good 5 theme will die somewhere in the sump because of cheesy and stubborn marketing

It's not marketing - it's life. Forex trading comes gradually to the same rules as trading on the stock market, that is, the rules are getting more complicated. There is no getting away from it.
 
Friends, could you give me an answer to a probably simple question? The task is to overlay a second candlestick chart, also candlestick pounddollar, on one candlestick chart, eurodollar, from above. How to solve this question? I cannot even understand where to start and what should happen as a result. is it an indicator or expert advisor ? how will i draw the candlesticks or maybe there are standard features and i am racking my brains ?
Reason: