pablocode / Profilo
Senior Software Engineer
al
Expert
Amici
5
Richieste
In uscita

pablocode
hi guys, can anyone help me figure out whats going on?
loading stddev indicator on the chart in these 2 ways:
1) is equivalent to calling STDDEVhandle = iStdDev(NULL,0,STDperiod,0,STDmethod,STDprice);
2) loading the stddev.mq5 indicator code taken from this codebase page https://www.mql5.com/en/code/49
the results are the same for any period and price type with SMA, SMMA, LWMA methods
unfortunately with method EMA values generated are different at start bars, why?
loading stddev indicator on the chart in these 2 ways:
1) is equivalent to calling STDDEVhandle = iStdDev(NULL,0,STDperiod,0,STDmethod,STDprice);
2) loading the stddev.mq5 indicator code taken from this codebase page https://www.mql5.com/en/code/49
the results are the same for any period and price type with SMA, SMMA, LWMA methods
unfortunately with method EMA values generated are different at start bars, why?

: