Hi

 need help in order to understand if it's possible to "pre-calculate " an indicator few minutes before the market close

My objective is to pre calculate the "daily" indicator few minutes before the market close in order to set a market on close order and not have to wait for a whole day for issuing the order 

how would I do that?