Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Comparison of Backtest Results from various Equities in one Strategy

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

    Comparison of Backtest Results from various Equities in one Strategy

    Hello Ninjatrader Support Team,
    I am currently comparing several equities within one strategy. After running the strategy I get absolute value results (Gross Loss/Gross Profit/Total Net Profit) for every equity in the Display Sector of the Strategy Analyzer. To compare the equities with each other I would need to get relative values as results such as Profit/Stock Price. I tried to create a solution in the Settings panel of the Strategy Analyzer under the tab Order Properties -> Set order quantity -> Strategy, but couldn´t find something there as well to build into the strategy directly to put the result values into a relative condition regarding their stock price.
    Do you have some helpful hints on this topic?
    Best regards, Joerg
    Attached Files

    #2
    Hello Joerg,

    Thank you for the post.

    Please clarify your question further if I am off subject here, specifically what is meant by a "relative condition". If you need to add an additional performance metric to your summary, you could make a custom performance metric in NinjaScript and activate it under Tools>Options. There is an example of a custom performance metric under the following directory: ..\Documents\NinjaTrader 8\bin\Custom\PerformanceMetrics.

    If you wanted some custom metric that is not included in the columns for each backtest of an individual instrument, you would need to write the custom performance data to a file and organize it by instrument name. That data could later be added to an excel sheet what includes the NinjaTrader generated performance metrics.

    Please let me know if I can assist further.

    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rajendrasubedi2023, Today, 09:50 AM
    0 responses
    10 views
    0 likes
    Last Post rajendrasubedi2023  
    Started by ender_wiggum, Today, 09:50 AM
    0 responses
    4 views
    0 likes
    Last Post ender_wiggum  
    Started by bmartz, Today, 09:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by lorem, Today, 09:18 AM
    1 response
    5 views
    0 likes
    Last Post lorem
    by lorem
     
    Working...
    X