ActiveTraderNor / Publications
Forum
Different currency pair data for same chart (gives 0)
I am struggeling with this on the 5 min chart for GBPJPY. First "movAverA" gives correct value (ex. 141.5), but second "movAverB" always gives 0. What do I have to do different? barIndex is the index for each bar (looped). double movAverA = iMA("GBPJPY", 5, 12, 0, MODE_EMA, PRICE_CLOSE, barIndex);