Discussion of article "The Principles of Economic Calculation of Indicators" - page 2

 
Renat:
Fortunately, the error of indicator creation due to the fault of the terminal practically does not occur.

This is too strong a statement. There will always be some crooked Prival who will make such a mess out of it :-).

 

Let's get back to the ram.

there is a genetic algorithm that changes the value of the moving average.

and the variable changes during the indicator's operation.

How to initialise a technical indicator correctly.

and it is impossible to leave the cycle, it must be completed to the end.

Генетические алгоритмы - это просто!
Генетические алгоритмы - это просто!
  • 2010.05.25
  • Andrey Dik
  • www.mql5.com
В статье автор расскажет об эволюционных вычислениях с использованием генетического алгоритма собственной реализации. Будет показано на примерах функционирование алгоритма, даны практические рекомендации по его использованию.
 

Tell me why this check occurs everywhere

   if(prev_calculated > rates_total || prev_calculated <= 0)// check for the first start of indicator calculation

I am interested in the condition prev_calculated > rates_total ( bars processed on the previous call are more than the size of the input time series).

Is this really possible (what is this situation) ? I just haven't stepped on this rake yet.

 
I think I understand. This situation can occur if there is a limitation(Max. bars in the window=50000). Right ?
 
Thank you