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 Segwin, 05-07-2018, 02:15 PM
                10 responses
                1,767 views
                0 likes
                Last Post Leafcutter  
                Started by Rapine Heihei, 04-23-2024, 07:51 PM
                2 responses
                30 views
                0 likes
                Last Post Max238
                by Max238
                 
                Started by Shansen, 08-30-2019, 10:18 PM
                24 responses
                943 views
                0 likes
                Last Post spwizard  
                Started by Max238, Today, 01:28 AM
                0 responses
                9 views
                0 likes
                Last Post Max238
                by Max238
                 
                Started by rocketman7, Today, 01:00 AM
                0 responses
                7 views
                0 likes
                Last Post rocketman7  
                Working...
                X