Maybe it was just a weekend? For debugging a strategy, the fastest way is printing the relevant variables to the log file.

In your case it's FAMAs[0], MAMAs[0], frame(0), and the crossUnder and crossOver returns. Go to the day in question in the log file, and look how the variables behaved. frame(0) is important as it tells you the end of the time frame - only then a trade can be entered.

This way you can see in 5 minutes if your script does what it should.