hi
I have never seen that before , it could be because your using 2 instances , each instance will have a second or so time difference thus giving incorrect prices.
so the trigger needs to look for the back price higher than the lay price by at least 1 tick on any selection then place an equal bet amount on the back and lay , if this is ok then I will complete your trigger.