PDA

View Full Version : SampleMACrossOver strategy doesn't work correctly


VitaminC
03-01-2008, 03:48 AM
I backtested 60 minutes $EURUSD with the SampleMACrossOver strategy in NT6.5 and found that the exit were always wrong, they did not occur after the MA crossovers. No modification was made to the SampleMACrossOver strategy. Attached is the screenshot.

I tried to create a new strategy using 2 sma crossovers and the same problem is still there. Wrong exit.

NinjaTrader_Dierk
03-01-2008, 05:09 AM
Not sure why you think there is something wrong. You have set "Exit on Close" = true which closes the position at the end of trading session (day break).

VitaminC
03-01-2008, 10:48 AM
Thanks for your help. I thought 'exit on close' meant exit all position when i close the chart. After setting 'exit on close' = false, the strategy worked as how I want.