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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    115 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    161 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    83 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    127 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    87 views
    0 likes
    Last Post PaulMohn  
    Working...
    X