Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MAE, MFE and ETD in Trade Collection?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MAE, MFE and ETD in Trade Collection?

    Hello!

    I want to program my custom optimizer based on MAE, MFE and ETD. I can see the MAE, MFE and ETD for each single trade in the 'Trades' tab in the strategy analyzer. But where is it stored and how can I access it? (I don't find it in the documentation for the 'Trade' object that is stored in the Trade Collection)

    Best Regards,
    poseidon_sthlm
    Last edited by poseidon_sthlm; 09-29-2015, 04:38 AM.

    #2
    Hello,

    Thank you for your post.

    The MFE and MAE can be accessed for all trades through the TradeCollection.TradesPerformance.Currency object.

    For example:
    Code:
    Print( Performance.AllTrades.TradesPerformance.Currency.AvgMae+" | "+Performance.AllTrades.TradesPerformance.Currency.AvgMfe ));
    This is calculated based on all of the trades and isn't stored on a per trade basis.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X