Index EMA has different values per result

I am trying to output a weekly Index EMA to the explorer window but I am getting a different result for each line and I would have expected the result to be the same for each line? Any ideas what I am doing wrong?

Index = Foreign("XKO", "Close"); //ASX 300
IndexEMA = EMA(Index, 90);

AddColumn(Index, "Index");
AddColumn(IndexEMA, "IndexEMA");


1 Like

Read this thread it might help

1 Like