Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Wrong calculation of PnL in Pips mode @ strategy tetster

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

    Wrong calculation of PnL in Pips mode @ strategy tetster

    Hi,
    I'm using the strategy tester and I found that the calculation of the total pips I got isn't performed like you say in the help guide document in Pips mode view.

    according to the guide, for Forex instruments: Profit in Ticks * 0.1

    In my strategy, I trade 2 targets while on every Take Profit, I take half of the position out.

    In the results, the calculation of the pips is relative to the size of the position.

    for example:
    - If my position size is 10K, and on every Take Profit I sell 5K, so in Pips mode i'll see HALF of the Pips that I got from this trade (the currency mode is right).

    - If my position size is 30K, on every SL, I'll see 3 times the amount of Pips I lost.

    I saw the problem in Ticks mode too.

    Is there a way to solve this issue?

    #2
    Hello offeraz,

    Thank you for letting us know there may be incorrect behavior with the Total net profit value in the Strategy Analyzer when Pips is selected in the Display drop-down.

    I will test this and if I am able to reproduce I will report the behavior to our development.

    I appreciate your patience while I test.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello offeraz,

      I wanted to clarify a few things.

      You are using the calculation for Net Profit is this correct?





      You are using a single entry with 2 profit targets, is this correct? (This would cause the performance to display these as two different trades)

      You are finding that when the trade is split into two trades the PnL is half what it should be, is this correct?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hello offeraz,

        The help guide has the wrong formula for calculating PnL when pip is selected as the display unit. I've sent a message to our development to have this changed.

        I've manually calculated the PnL and I am finding that NinjaTrader is calculating these correctly.

        Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, Today, 10:57 PM
        0 responses
        1 view
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        7 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Working...
        X