Anja Einbecker:
The last line gives me the error, if I exclude that line from my code it works.
if(aoi.type == AOI_UP && iLow(_Symbol,PERIOD_M1,i) < aoi.lowAoi) aoiMn.Delete(j); else if(aoi.type == AOI_DOWN && iHigh(_Symbol,PERIOD_M1,i) > aoi.highAoi) aoiMn.Delete(j);Don't access a pointer (aoi, in this case) after you deleted the object it points to.

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
Hello,
I´m stuck with my code. I always get the "invalid pinter access" failure and I can´t fix it. Would be great if someone can see where I´m going wrong.
The last line gives me the error, if I exclude that line from my code it works.
Thank you
Anja