I'm not a programmer just another zorro learner a little bit further down the road.
Wait for jcl to confirm I'm correct.
It may be worth trying again then as I assumed it was S&P, DOW strategy. You also would need to adjust the entries & exits as it is written for ET market hours.
I'd put a stop in too, NFP Fridays can be a wild ride for the dollar.