Solution:
I can check the trade if it's open it in the tick() function.

Last edited by NorbertSz; 09/14/25 12:58.