That code looks ok. It should suppress enterLong outside AssetMarketStart/End in the AssetMarketZone.

Can you show the log?