Forum

iCustom in mql5 gives wrong values

Hi, I cannot find the answer in earlier questions about this. I've attached the source of the custom indicator and the EA. I did test this on the m5 timeframe (but that doesn't matter) When you compare the figures in the journal it's obvious that they don't match with the indicator. And please don't

iCustom in metatrader5

iCustom(symbol,0,"indicator") works only as the symbol matches the symbol of the chart. In all other cases it returns 0; Where can I find the solution