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
Hey gang, I'm running into a puzzling issue with this EA. Any help would be very appreciated!
I'm not sure exactly what information will be most helpful, so I'll try to give enough info without giving too much. Let me know if you want to see any other bits of the code, or have it explained further.
At its essence the issue I'm having is that, when a ZigZag point is created on bar [1], my EA seems to not see that the value has been created.
The For loop is set to break when Low/High[i] == ZigZag[i].
My indicator data window shows that the data point IS present on my chart, but my journal says not so in the EA??? Both of these screenshots are taken at the same exact moment, paused in my Strategy Tester just after the problematic bar has closed.
I'm pretty confounded, so any pointers for what else I might test, or what might be the problem would be much appreciated.
Thanks in advance!
Here's the function that's generating the issue: