Try reading the log. It states the problem.
Solved that by adding all symbols to watchlist… total elements still outputs 0
Cutey Pie #:
Solved that by adding all symbols to watchlist… total elements still outputs 0
https://www.mql5.com/en/articles/654
Solved that by adding all symbols to watchlist… total elements still outputs 0

Debugging MQL5 Programs
- www.mql5.com
This article is intended primarily for the programmers who have already learned the language but have not fully mastered the program development yet. It reveals some debugging techniques and presents a combined experience of the author and many other programmers.
Thank you, I knew this one would come…
I think my problem is understanding the all object and pointers thing…!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi community,
I'm so new to all this so please bare with me...
long story short I've got pointer access issues. I'm using Creating Multi-Expert Advisors on the basis of Trading Models - MQL5 Articles as my start point to which I've made little adjustments.
I get this when trying to run my code, which I will provide. The Bot used to run but now at runtime i get this error.
2021.12.11 14:01:51.967 ModelTest2 (AU200,H1) Load indicators...
2021.12.11 14:01:51.967 ModelTest2 (AU200,H1) cannot load indicator 'Moving Average' [4302]
2021.12.11 14:01:51.967 ModelTest2 (AU200,H1) Error creating MACD indicator
2021.12.11 14:14:13.047 ModelTest2 (XAGUSD.s,M5) Load indicators...
2021.12.11 14:14:13.047 ModelTest2 (XAGUSD.s,M5) cannot load indicator 'Moving Average' [4302]
2021.12.11 14:14:13.047 ModelTest2 (XAGUSD.s,M5) Error creating MACD indicator
2021.12.11 14:14:13.047 ModelTest2 (XAGUSD.s,M5) invalid pointer access in 'ModelTest2.mq5' (112,30)
I'm also pretty sure that the virtual orders don't get added...