Okay it seems like I was calling upon 5 indicators using #property indicator_buffers when I was only representing three of them visually.
Once I called upon upon all of the buffers in the init section using IndicatorBuffers it seemed to recognize the extra buffers as background buffers.
My code is passing the strategy tester fine now, thank you very much.

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
As the title suggests, I am trying to strategy test a custom indicator of mine but it cannot seem to get passed certain dates due to an error that reads
"Array out of range" immediately followed by "Testing pass stopped due to a critical error in EA" then followed by "2 tick events processed in (less than a second)".
What is causing this problem and how might I fix it?