Hello,

I am running into a problem which I cant resolve. 

See attached backtest and code.

If the resolution is set to daily: spy_d = AddCfd("SPX500USD", Resolution.Daily, Market.Oanda);

The heikin ashi indicator gives the correct values. e.g. on the 19th Heikin ashi close = 2900

If the resolution is set to hourly: spy_d = AddCfd("SPX500USD", Resolution.Hourly, Market.Oanda);

The heikin ashi indicator gives NOT the correct values. e.g. on the 19th Heikin ashi close = 2898

Why is that? 

thx.

 

Author