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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    415 views
    0 likes
    Last Post CaptainJack  
    Working...
    X