Is history gets simulated during backtesting?

Hi,

I like to know if functions like:HistorySelect(), and HistoryDealGetTicket() are being allowed during backtesting. In other words, does History cache gets filled with the simulated trades?

Surely, it is.
Thanks Stanislav