// Время в миллисекундах первой балансовой сделки (DEAL_TIME_MSC) в тестере равно нулюintOnInit()
{
if (HistorySelect(0, TimeCurrent()) && HistoryDealsTotal())
{
Print((datetime)HistoryDealGetInteger(HistoryDealGetTicket(0), DEAL_TIME)); // Время балансовой сделкиPrint(HistoryDealGetInteger(HistoryDealGetTicket(0), DEAL_TIME_MSC)); // Это же время в мс равно нулю
}
return(INIT_FAILED);
}
The tester does not call ParameterSetRange for input parameters that are not checked for Optimisation. For this reason ParametersGetRange returns zeros for the corresponding Start, Step and Stop values. This is not correct at all. For example, because of this, it is impossible to generate a complete SET file of the tester itself or to correct the Optimisation range of an input parameter if it is incorrectly set by the user.
fxsaber: How to quickly add up many strings (e.g. generate a trade report in string)
Result
There is a fact marked in red which cannot be explained in any way.
The peculiarity of the memory pool, the first call SumString2 in the memory pool is "saturated" with memory from the system, the second time, the memory is no longer requested from the system.
If you type the following line in the Metaeditor, the tooltip (or what is the correct name for a tooltip with options?) GetMicrosecondCount does not appear. DoubleToString(GetMicro
The highlighting is clever, the DoubleToString argument should be double andGetMicrosecondCount should be ulong.
And to get a list of EA instances when running a single tester run? Without reading settings file using dll. Made a convenient display of parameters used in test after optimization (via file and main variables), one inconvenience remains - all parameters have to be listed manually.
If you press Stop during optimisation and then restart Optimisation, it will not go, as this will be the entry
How to quickly add up many strings (e.g. generate a trade report in string)
Result
There is a fact marked in red which cannot be explained in any way.
The peculiarity of the memory pool, the first call SumString2 in the memory pool is "saturated" with memory from the system, the second time, the memory is no longer requested from the system.
I recommend correcting SumString1
On the editor.
DoubleToString(GetMicro
The highlighting is clever, the DoubleToString argument should be double andGetMicrosecondCount should be ulong.
It would work like this:
Any idea how to get the name of an arbitrary input parameter as a string?
Any idea how to get the name of an arbitrary input parameter as a string?
Great, thanks!
And to get a list of EA instances when running a single tester run? Without reading settings file using dll.
Made a convenient display of parameters used in test after optimization (via file and main variables), one inconvenience remains - all parameters have to be listed manually.
Do I get a list of EA instances when running a single tester run?
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
fxsaber, 2017.07.25 11:27
How to know the input parameters of an EA at least in single run mode?
For indicators there is IndicatorParameters.
For optimizations there is FrameInputs.
But for single run of the EA or normal run - nothing.