![]() |
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
|
|||||||
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2008
Location: Singapore
Posts: 30
Thanks: 0
Thanked 2 times in 1 post
|
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. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
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).
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Feb 2008
Location: Singapore
Posts: 30
Thanks: 0
Thanked 2 times in 1 post
|
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.
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
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 |