shay75
April 20, 2020, 12:21am
1
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
My AFL uses 2 different instruments. One is the base instrument (foreign) and the other is the tradedInstrument (primary chart instrument). For example CBOE index and ES. Now signals are triggered based on price crossing over some indicator created using the base Instrument. I am facing a problem when traded instrument has no price for few seconds while the base instrument has price(tick) for those seconds. because there are holes in the traded instrument even though base instrument has the pric…
1 Like