That sounds interesting. I don't dabble much with exchange games now as after creating over 300 triggers, I never found anything that produced long term profit. I would like to have a look at that program though, if you could post or PM the details.
I'll do the trigger for you later, so if laying then you want to wait 2 games after the selection has won? I'll add a constant that you can set for the wait period.
Do you have a staking plan you want to include, or do you just need the laying trigger?