case code function- can someone check this over? thank you | Forex Factory