Avoid stack overflow
-
I'm working on a EA with some loops, and its operating is "heavy". Even adding filters it loads a lot of data.
I don't think there is any infinite recursive call, cause with a relative little number of looping before exit(like 500), works all day long. Beyond this number the EA stops after few bars, that's what happen :
Do you know any way of avoiding that with blocks like "skip ticks" or increasing allocated space thingy ? -
Can you deviate some blocks to the 'on Trade' tab? That would discharge the processing requirements of those on the 'on Tick' tab.
-
@l-andorrà
I don't know if i can do that, it doesn't open trade, it's a drawing tool
-
Hoenstly, I'm not sure about the meaning of that 'overflow' message, sorry.. Maybe roar or miro could help.
-
@l-andorrà
You right i'm gonna ask them : )
@roar @miro1360 an idea ? -
@seb-0 if the EA uses too much memory, the error will say not enough memory. So I think the stack overflow is an actual logic error in your system
-
@roar
Thanks for quick answer, i'll tell you guys when I find my logical error.