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 > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 07-12-2007, 03:30 AM   #1
ceesvh
Member
 
Join Date: Jun 2007
Posts: 40
Thanks: 0
Thanked 0 times in 0 posts
Default stoploss and MAE in backtest

I have made a simple crossover system and was looking at the trades. I saw that a few trades had a MAE that was much bigger than the stoploss.
The stoploss was 15 ticks on the ER2 and the MAE was 47 ticks. I checked the trade on the chart and the MAE should have been 6 ticks.
The profit was correctly calculated as I was stopped out at 15 ticks.
I have seen the same in other strategies.
ceesvh is offline  
Reply With Quote
Old 07-12-2007, 03:33 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

Can you reproduce? Is this realtime or backtested or both?
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-12-2007, 04:32 AM   #3
ceesvh
Member
 
Join Date: Jun 2007
Posts: 40
Thanks: 0
Thanked 0 times in 0 posts
Default

I observed it only optimizing or backtesting.
I optimised another strategy with the same results.
How do I make a screenshot of the strategy analyzer so i can show you
ceesvh is offline  
Reply With Quote
Old 07-12-2007, 04:35 AM   #4
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

Great, I would need:
- your strategy
- a screenshot of the strategy settings as you backtest it
- a screenshot pointing out an execution/trade exposing the problem
- the data you test on: please export the data to a file by Tools->Historical data->Export

Please PM all info to "dierk AT ninjatrader DOT com".
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-12-2007, 04:50 AM   #5
ceesvh
Member
 
Join Date: Jun 2007
Posts: 40
Thanks: 0
Thanked 0 times in 0 posts
Default

I presume that 1 minute bars historical data is adequate?
ceesvh is offline  
Reply With Quote
Old 07-12-2007, 04:56 AM   #6
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

Correct, provided your backtest runs on a 1 min series.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-12-2007, 05:07 AM   #7
ceesvh
Member
 
Join Date: Jun 2007
Posts: 40
Thanks: 0
Thanked 0 times in 0 posts
Default

Backtest runs on 5 min
ceesvh is offline  
Reply With Quote
Old 07-12-2007, 05:09 AM   #8
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

Right, then 1 min series it the series to export.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-12-2007, 08:02 AM   #9
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

This is a bug which will be fixed with next update (available within the next 2 weeks). Thanks for bringing this up.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

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
Backtest not available BradB Strategy Analyzer 9 11-10-2007 09:41 PM
Printing Current StopLoss & Profit Targets Jim-Boulder Strategy Analyzer 1 06-25-2007 11:16 AM
backtest in replaymode? fliesch Strategy Analyzer 6 06-17-2007 08:43 AM
Stoploss and target - on MB trading brad Miscellaneous Support 1 08-30-2005 07:52 AM
Setting StopLoss via Automation MarlinTrader Automated Trading 1 02-03-2005 04:33 AM


All times are GMT -6. The time now is 10:05 AM.