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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X