Let's say I'm trading daily bars. I go long if today's close price closes above 10-day SMA, and close my long if closes below 10-day SMA. In backtests, I assume trades are executed exactly at close price. Since the close is available, the 10-day SMA, which is dependent on the most recent close, is also available.

In live trading, how is this logic actually carried out on QuantConnect? Since the Close is not known until market is closed, the 10-day SMA is not available until after market close. I'm writing an algo that trades at close and am wondering how to calculate my indicators so that I can evaluate them at market close....

Or are indicators updated continuously so that if I decide to trade 5 minutes before close, the 15:55 values are fed into my indicators?

Many thanks in advance.