Plese consider previous post http://www.ninjatrader.com/support/f...ad.php?t=60092. At this post there is a strategy running tick by tick. In this strategy position.marketposition checking with if statements. I mean;
if (Position.MarketPosition == MarketPosition.Long) { Do someting }
if (Position.MarketPosition == MarketPosition.Flat) { Do someting }
if i change this code like this;
if (Position.MarketPosition == MarketPosition.Long) { Do someting }
else if (Position.MarketPosition == MarketPosition.Flat) { Do someting }
test results are trades, entry/exit times, profits, losts are same but in performance report there is little difference; only average MAE, MFE and ETD values are different, all other values(porift, loss, net profit, profit factor, trades counts etc.) for performance report are same.
I think there is general floting point problem but i wory about is this normal; for example first test average MAE is $60,21 and for second test average MAE is $60,42. I think, this difference is so big. Isn't it?
Have a nice day.

Comment