DIfferent calculation value in back test by using iCustome function & running Indicator. why ?!

To add comments, please log in or register
Mehrdad Shiri
4795
Mehrdad Shiri  

HI.

Why there is different between value?

the value calculated by coding in EA and using iCustum are equal,

but the value by indicator add to chart , is different.

============================================================================================



why ?

i think: the correlation indicator ( attached ) is a multi symbol calculation.

so must add the other chart to market watch inside the Indicator code. ( for mt4 back test)

?!
Files:
William Roeder
20207
William Roeder  
  1. On MT4: Unless the current chart is that specific pair/TF referenced, you must handle 4066/4073 errors.
              Download history in MQL4 EA - MQL4 and MetaTrader 4 - MQL4 programming forum

  2. Do not assume a shift of the current chart equals the same shift of other charts. Always use iBarShift.
Mehrdad Shiri
4795
Mehrdad Shiri  
whroeder1:
  1. On MT4: Unless the current chart is that specific pair/TF referenced, you must handle 4066/4073 errors.
              Download history in MQL4 EA - MQL4 and MetaTrader 4 - MQL4 programming forum

  2. Do not assume a shift of the current chart equals the same shift of other charts. Always use iBarShift.

Thank you.

To add comments, please log in or register