I had a coder Alexander Voronkov from Ukraine helping me by adding two MA's to a EMZ indicator. Unfortunately I have not been able to get a hold of him for almost two weeks. My fingers are crossed that he and his family are safe.
I looked through the previous post talking about "array out of range", but I'm not a coder so they didn't help me.
Hopefully someone here can help.
The Indicator (EMZ_MAs) works fine. It even seems to work on live charts when add to an EA (via Fxdreema). I use it to draw a line on the chart when the two MA's cross.
Where the problem starts is when I run it in mt4's Strategy Tester. where it does not work. No lines a shown on the chart. The error that shows in the Journal when running the EA: "EMZ_MAs GBPJPY,M15: array out of range in 'EMZ_MAs.mq4' (76,36)"
I assume the problem is with the indicator, but I guess it could be the EA. Either way it would be great to be able to back-test some ideas
Here is the indicator. If there is no problem with it I can upload the EA if need be.
I looked through the previous post talking about "array out of range", but I'm not a coder so they didn't help me.
Hopefully someone here can help.
The Indicator (EMZ_MAs) works fine. It even seems to work on live charts when add to an EA (via Fxdreema). I use it to draw a line on the chart when the two MA's cross.
Where the problem starts is when I run it in mt4's Strategy Tester. where it does not work. No lines a shown on the chart. The error that shows in the Journal when running the EA: "EMZ_MAs GBPJPY,M15: array out of range in 'EMZ_MAs.mq4' (76,36)"
I assume the problem is with the indicator, but I guess it could be the EA. Either way it would be great to be able to back-test some ideas
Here is the indicator. If there is no problem with it I can upload the EA if need be.
Attached File(s)
EMZ_MAs.mq4
8 KB
|
89 downloads