Errors, bugs, questions - page 201

 
Mr.FreeMan:

will the genetic algorithm
work correctly in the tester, if all parameters of the indicator have already been searched in the Expert Advisor itself, but only one TRIX value has been placed in the input, which stores the variation of the parameters?

It will, if the values of the input parameters are unambiguously matched to the hidden calculated variations.
 

When changing account, information about the account to which MT5 is connected at startup is left in the taskbar. Build 355.

 

MQL5: Added methods of managing indicators on a chart: ChartIndicatorDelete, ChartIndicatorName, ChartIndicatorsTotal.

I will put it in a nutshell:


 

Hello!
Can you add Dow Jones Index (DJI) quotes to the Metatrader 5 trading platform?

 
AndrewX2002:

Hello!
Can you add Dow Jones Index (DJI) quotes to the Metatrader 5 trading platform?

Hello, only if your broker adds it, you can't do it yourself.
 
Ashes:

When changing account, information about the account to which MT5 is connected at startup is left in the taskbar. Build 355.

Is this repeated in the 358 build?
 
alexvd:
Is it repeated in the 358 build?
[Not yet] no.
 

I request period in indicator - _Period or Period() and write them in Comment(). On charts less than 60 min. it shows everything correctly, but 60 and more writes some nonsense. In particular, it shows 16385 on H1. Is it supposed to be like that? Then how can I know the chart period in minutes?

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

I request period in indicator - _Period or Period() and write them in Comment(). On charts less than 60 min. it shows everything correctly, but 60 and more writes some nonsense. In particular, it shows 16385 on H1. Is it supposed to be like that? Then how can I know the period of a chart in minutes?

Now, unlike in MT4, Period does not indicate the number of minutes in a period.

As for how to know...

PeriodSeconds

Returns the number of seconds in a period.

intPeriodSeconds(
ENUM_TIMEFRAMESperiod=PERIOD_CURRENT//the period of the chart
);

Parameters

period=PERIOD_CURRENT

[in] Value of period of the chart from enumeration ENUM_TIMEFRAMES. If the parameter is not specified, it returns the number of seconds of the current period of the chart, on which the program is running.

Returned value

Number of seconds in the specified period.

 
Interesting:
Now, unlike MT4 the period does not mean the number of seconds in a period.
It never showed the number of seconds, even in MT4 respected... But minutes in MT4 it showed clearly. Then what does _Period show on the H1 chart? Seems like a serious bug to me.
Reason: