Hello Oxa
Thank you for the corrections. But the trigger still doesnt work as I need to.
After win, everything works perfect.
But after loss, the trigger places bet before the PL is updated if any selection meet the conditions. That means, no recovery by loss bet.
attached is the program log if it helps.
thank you