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 helpwanted, Today, 03:06 AM
    1 response
    11 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    9 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    387 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X