NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 08-18-2010, 02:26 PM   #1
billr
Senior Member
 
Join Date: Apr 2010
Location: San Antonio, Texas
Posts: 315
Thanks: 31
Thanked 2 times in 2 posts
Default Question on MAE/MFE calculation.

I am getting some MAE/MFE results on my Trades tab from the Strat Analyzer results that are obviously invalid. I have attached a screen shot of some examples.
I am using NT 7.17, Renko Chart set a 25 ticks.

You will notice in the highlighted trades that the MAE/MFE return results that are 1 tick from the 25 tick bar size threshold. e.g. 0, 24, 49, 74, 99 etc. Could you explain what creative logic is doing this? I use this as one tool to review the placement of profit targets, stops etc. and these results are obviously suspect. thanks.


StratAnalyzerTrades.JPG
billr is offline  
Old 08-18-2010, 02:58 PM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello billr,

Please review the calculations used for these here:
http://www.ninjatrader.com/support/h...efinitions.htm

There's no automatic intrabar granularity so I can see why you are getting these results. It compares highs / lows from the entry bar until the bar the target or stop loss was filled on to get the worst / best price. All your bars have the same height so it seems reasonable to expect that the levels of MAE/MAF take place at multiples of this interval. (Every 25)

If you find the results don't match your expectation, line up the elements in the calculation indicated, and check the math.

Let us know if you identify a discrepancy.

Also note that the latest V7 build is 20 - Please download and install the latest version here:
http://www.ninjatrader.com/webnew/download_download.htm
NinjaTrader_RyanM is offline  
Old 08-18-2010, 03:46 PM   #3
billr
Senior Member
 
Join Date: Apr 2010
Location: San Antonio, Texas
Posts: 315
Thanks: 31
Thanked 2 times in 2 posts
Default

Hi Ryan,
In order to interpret the results, could I assume that if the MFE = 24 then one renko25 bar was completed in the favorable direction? And that if the MFE = 0, then the maximum price move in the favorable direction was less than the amount required to form one renko25 bar in the favorable direction (in this case, AvePrice+23ticks)?

Regarding NT7.20, I am waiting until my third part application provider is available to repair the application if not compatible with v20. Am I ok waiting until end of Aug?

Thanks.
billr is offline  
Old 08-18-2010, 04:18 PM   #4
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Billr,

Yes, that seems pretty accurate. Backtesting enters at the open. With renko bars this will be either the high or low. When MFE = 0, it means you were filled at the open, it went the opposite direction and was closed before any positive result. You're right: the market may have traded higher than your entry price but this isn't seen unless it traded higher than the amount to form a renko bar in that direction.

There have been a number of bug fixes since version 17. No one is forcing you to upgrade but if you run into any critical issues, this will be our first step before providing additional support.
NinjaTrader_RyanM 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
MAE / MFE Calculation Jim-Boulder Miscellaneous Support 3 11-25-2009 04:51 AM
get MFE and MAE junkone General Programming 3 06-08-2009 11:56 AM
AVerage MAE, MFE, ETD gg80108 Market Analyzer 1 12-13-2008 12:39 AM
How does NinjaTrader Calculate MAE and MFE? faith4more Miscellaneous Support 1 09-12-2008 04:59 PM
Using MFE & MAE in a stragetgy??? dendy General Programming 3 11-08-2007 10:47 AM


All times are GMT -6. The time now is 12:22 AM.