In the first model you are correct but if you click on go to back-test on the version I recently posted you will see the strategy trades as long as the initial spread condition is met.( the biggest no trade period is between 2009-2011 when the conditions aren't True).
2006-06-20 20:00:00 GLD BUY 372 $58.37 $21,715.13
2006-06-21 20:00:00 DIA SELL -192 $110.13 ($21,144.19)
2007-11-08 19:00:00 GLD BUY 244 $82.22 $20,062.66
2007-11-11 19:00:00 DIA SELL -154 $129.93 ($20,008.60)
2008-09-15 20:00:00 DIA SELL -112 $110.78 ($12,406.91)
2008-09-15 20:00:00 GLD BUY 159 $76.65 $12,187.99