Forum

Indicator value retreived by EA code lags 5 minutes behind what shows on the chart

Hi all. I just got my first EA up and running and I am finding that the indicator values lag about 5 minutes behind the values displayed on the chart. I see a bit of chatter about this. Is this a common thing? I saw one post that suggested coding a custom indicator . I managed to find the code for

Not getting correct results for indicators using iCustom and CopyBuffer

Hi. I am new to MQL5 so I apologise if I don't describe my issue well or use the correct terms. I am trying to get Indicator values using iCustom and CopyBuffer, but I am just getting zero values. I am working on an Expert Advisor that uses three Indicators: TEMA (9), Vwap bands (9), and CCI (9)