NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical NinjaTrader 6.5 Archive > Historical NinjaTrader 6.5 Beta Threads

 
 
Thread Tools Display Modes
Old 03-01-2008, 03:48 AM   #1
VitaminC
Member
 
Join Date: Feb 2008
Location: Singapore
Posts: 30
Thanks: 0
Thanked 2 times in 1 post
Default SampleMACrossOver strategy doesn't work correctly

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.
Attached Images
File Type: jpg $EURUSD 2_21_2008 (60 Min).jpg (75.1 KB, 19 views)
VitaminC is offline  
Old 03-01-2008, 05:09 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

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).
NinjaTrader_Dierk is offline  
Old 03-01-2008, 10:48 AM   #3
VitaminC
Member
 
Join Date: Feb 2008
Location: Singapore
Posts: 30
Thanks: 0
Thanked 2 times in 1 post
Default

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.
VitaminC is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiled Strategy doesn't work in StrategyAnalyzer shliang Strategy Development 4 02-29-2008 11:02 AM
How to correctly use Highest/Lowest in strategy wizard latkinso Strategy Development 6 01-02-2008 02:14 PM
Easiest way to work on strategy offline? FireFly Strategy Development 3 12-26-2007 08:15 PM
Will a strategy entry cause an ATM strat to work? maxpi Automated Trading 3 11-09-2007 11:48 AM
Strategy doesn't work somehow Gordon_Gekko Strategy Development 4 11-06-2007 12:10 AM


All times are GMT -6. The time now is 07:37 AM.