Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can Gross Profit=0 if there are any winning trades?

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

    How can Gross Profit=0 if there are any winning trades?

    In a strategy backtest summary, the Long trades column shows 14 trades; 4 winners and 10 losers. Percentage winners also reflects this ratio. However, the Gross Profit is shown as 0.00. How can this happen?

    NT version 7.1.xx7
    no commissions
    no slippage


    Thanks.

    #2
    billr, on which market / instrument and with which size are you running here?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      The instrument was 6E with 1 contract.

      Comment


        #4
        Hi billr,

        This could be seen on FOREX pairs, where the point value assumes 100,000 unit order, and a quantity of 1 would then affect PnL marginally.

        I'm not sure why you would see it on 6E, unless you made modifications to the point value in instrument manager? I'd be happy to look into it further. Is it possible you can share a simplified strategy and the setup that will allow us to see this here?
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Sure, I'm not worried about sharing the strategy. I will see if I can reproduce the problem and send it to you. But I don't think it was a point value issue because the profit/loss per-trade numbers were about right and all else looked about right. In the Short position category there was a Gross Profit and Gross Loss figure to net out to Net Profit. Same as Long position category, but it was all Gross Losses even though there were 4 winners shown in the Long position trades.

          Comment


            #6
            Hello ,

            I have the same backtesting issue ( see attached screenshot strategy analyser )

            There is no issue when running same strategy in SIM mode ( screenshot attached )
            Attached Files
            Last edited by ggeib750; 08-25-2012, 08:36 AM.

            Comment


              #7
              This is related to this point



              the order quantity was changed to 10000 for 1 lot in the default quantity property of the strategies properties.


              Is there some custom code available to be added in a strategy in order to have it compatible for backtesting and live trading ( to change point value ) for Forex ?

              Regards
              Last edited by ggeib750; 08-26-2012, 11:13 AM.

              Comment


                #8
                ggeib750, you could not change the point value programmatically, but look into adapting the quantity used by the strategy as needed. Via Historical for example you could distinguish between running on historical data (backtesting) and live execution (realtime bars), so a custom quantity multiplier / divisor could be used.

                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by WHICKED, Today, 12:45 PM
                2 responses
                16 views
                0 likes
                Last Post WHICKED
                by WHICKED
                 
                Started by GussJ, 03-04-2020, 03:11 PM
                15 responses
                3,272 views
                0 likes
                Last Post xiinteractive  
                Started by Tim-c, Today, 02:10 PM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Taddypole, Today, 02:47 PM
                0 responses
                2 views
                0 likes
                Last Post Taddypole  
                Started by chbruno, 04-24-2024, 04:10 PM
                4 responses
                51 views
                0 likes
                Last Post chbruno
                by chbruno
                 
                Working...
                X