Orders AT MARKET are executed IMMEDIATELY as conditions are met (triggered)!
Evaluation of conditions take place when each bar closes and any order you palce is immediately executed if you need.
If you mean that there’s a MA crossing on a, say, Daily TF you won’t be able to detect it before the candle closes! Well… that’s the normal, correct behaviour, will you consider a crossing valid while still in the works?
You may use a 1-hour TF, but then you’ll have to wait for the crossing to be cerified by the closing of that candle; in this case, though, you are not talking about Daily charts anymore because before the end of the day that crossing could even reverse!