Objects aren't being created in the live MT5 charts but they appear on the strategy tester charts? Thanks
- Check the Chart for its objects: Ctrl+B => List all.
- Debug your EA:
https://www.metatrader5.com/en/metaeditor/help/development/debug
https://www.mql5.com/en/articles/654
https://www.mql5.com/en/articles/35
https://www.mql5.com/en/articles/2041
https://www.mql5.com/en/articles/272
https://www.mql5.com/en/articles/150 - or Print() the relevant variables of show their values with Comment() on the chart
Code debugging - Developing programs - MetaEditor Help
- www.metatrader5.com
MetaEditor has a built-in debugger allowing you to check a program execution step by step (by individual functions). Place breakpoints in the code...

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
The question is straightforward, how can my indicator objects be ONLY created on the strategy tester BUT NEVER on the LIVE MT5 charts? I only have one of these indicator too.
Thanks.