16 Jul 2016, 23:47

This seems impossible to do... My ea is plotting an arrow (or 4 arrows) on each bar, which creates lots of data in long backtests. I was trying to delete all red arrows older than 100 bars, using simply For each object (Z-A, skip 100) -> delete. I named the objects as numbers - object on first bar is named 1, then 2 and so on.
The ea doesn't delete them in correct order oldest to newest, but randomly! Is it even possible to name them as numbers?
Any ideas to get rid of the old objects??