Two questions:


I am just doing some basic thing to make sure the indicator calculation result is correct. I pick these two:

MACD(symbol_TSLA, 12, 26, 9, MovingAverageType.Exponential, Resolution.Hour, Field.Close);
EMA(symbol_TSLA, 20, Resolution.Hour, Field.Close);

The log file is here : http://data.quantconnect.com/backtests/16935/209033/59cb4a70f93a20e33274e5dc4de51d8a-log.txt

The EMA calculation seems right. But MACD seems off.

For example, in the log file:

2016-01-11 11:00:00 01/11/2016 10:00:00--TSLA-- 205.88900000000

2016-01-11 11:00:00 MACD -2.96667

But from hourly chart from TDAmeritrade, I see MACD is about -3.55.

Since I specify "Resolution.Hour", I expect the time stamp of data gets to OnData() should be 9:30, 10:30 .... not 9:00, 10:00, since markets starts at the half hour mark. But from the log the data arrives at the hourly mark 9:00, 10:00. Why?