• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Including Commission in Total Net Profit

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

    Including Commission in Total Net Profit

    Hi,

    How do I get Commission to be included in Total Net Profit during an optimization?

    So, If I am optimizing based on max net profit, parameter combinations that result in excessive trading would be duly penalized.

    Thanks for your help!

    #2
    Hello TJP01,
    Welcome to the forum and I am happy to assist you.

    To include commission in optimization please follow the below steps.
    • In Control Center menu bar goto Tools>Options..
    • In the Options dialog click on the Commissions tab.
    • Click Futures-Simulator (if you are backtesting/optimizing futures) and define a commission level.

    Please refer here to know more about it.
    http://www.ninjatrader.com/support/h...ission_tab.htm

    While backtesting/optimizing please make sure to set the field Include commission to true from the strategy parameters dialog.

    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      I have already set the commissions tab, and the commissions are being calculated and included in the performance report.
      However, it appears that the commissions are not being taken into consideration when the optimizer ranks and saves the results. So, for instance, if two runs have similar net profits, but vastly different commissions, the optimizer may choose the wrong one...

      Comment


        #4
        Hello TJP01,
        Profit factor is calculated based on gross profit / gross loss. Commission is not taken into consideration while calculating gross profit/loss.

        Please refer here to know the statistical definitions which are used by NinjaTrader to calculate the various matrix.

        http://www.ninjatrader.com/support/h...efinitions.htm
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by tvaughan4, Today, 04:37 PM
        0 responses
        3 views
        0 likes
        Last Post tvaughan4  
        Started by Convert, Today, 03:44 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Yannick, Today, 02:43 PM
        3 responses
        10 views
        0 likes
        Last Post Yannick
        by Yannick
         
        Started by brucerobinson, Today, 02:12 PM
        2 responses
        6 views
        0 likes
        Last Post brucerobinson  
        Started by gurdonzn, Today, 12:36 PM
        5 responses
        23 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X