Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtest does not multiply prices by the instrumen point value

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

    backtest does not multiply prices by the instrumen point value

    The point value of the EuroDollar/USDollar is correctly displayed to be $100,000 when I double left click on that instrument on the left side of the Strategy Analyzer main control window. However, in its reports, the backtester does not multiply prices by that point value [or by any point value]. Please tell me how to correct the problem.
    Thanks,
    Joe Miller

    #2
    Joe,

    There must be a point valued used. How are you determining that there is not any point value being used?

    What value is used if you print the PointValue property in your strategy?

    Code:
    Print(Instrument.MasterInstrument.PointValue);
    Can you give me a specific example where this not working as exepcted?
    MatthewNinjaTrader Product Management

    Comment


      #3
      please give me a suggestion or two about how to attach something. I have images in a Word doc to show you but I get a message 'invalid file' when I try to attach the Word Doc.

      Comment


        #4
        Hello,

        If they are images, I'd suggest just uploading the image source file (.jpg, .gif, .png, etc).
        MatthewNinjaTrader Product Management

        Comment


          #5
          is it possible to attach a Word document?

          the images are created with a program called FullShot and then copied/pasted into a word document. I am at a loss trying to pick up the images otherwise, straight from Fullshot.

          is it possible to attach a Word document ...and if so, how do I do it?

          Comment


            #6
            If it is a word document, save the file as a .doc rather than a .docx or any other format.
            MatthewNinjaTrader Product Management

            Comment


              #7
              Qestion: How are you determining that there is not any point value being used?
              Answer: Note, in the attachments, that the point profit/loss or the cumulative profits are not multiplied by the point value.

              I am using a built-in moving average demo ... my first attempt to try to learn how to use the Strategy Analyzer. I don't understand yet how to answer the question regarding "Print(Instrument.MasterInstrument.PointValue) ;"
              I discovered [I think] how to attach jpg files - as you suggeted. if I succeeded, two image files are attached.
              Thanks for your help and patience.

              Attached Files

              Comment


                #8
                Can you give me an example of the results you're seeing?
                MatthewNinjaTrader Product Management

                Comment


                  #9
                  Attached [I hope] is the second image

                  Attached is the second image which I tried to send, but failed to do so, with the first image. Note that the point profit/loss or the cumulative profits are not multiplied by the point value.
                  Attached Files

                  Comment


                    #10
                    In backtesting, the QTY is equal to the unit size and not the lot size.

                    If you wish to backtest on a full lot, or 100,000 units, you will need to specify 100,000 as the qty. Where you are using 1 as the qty, this is only testing on 1 unit, not the full lot.

                    Please see our Help Guide article on Automated Trading with FX Strategies:

                    MatthewNinjaTrader Product Management

                    Comment


                      #11
                      Many thanks Matthew

                      Many thanks Matthew,
                      Much appreciated.

                      Comment


                        #12
                        Where do I specify the QTY value?

                        I have tried several things but have not yet found where the QTY value is specified. Please tell me where that is done.

                        Comment


                          #13
                          Ignore my previous reply

                          Please ignore my preceding reply.
                          I discovered where to set QTY. Right there in front of me. How embarrassing!

                          Comment


                            #14
                            No worries, we're glad you could specify it as needed. All the best.
                            BertrandNinjaTrader Customer Service

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by rdtdale, Today, 01:02 PM
                            1 response
                            3 views
                            0 likes
                            Last Post NinjaTrader_LuisH  
                            Started by alifarahani, Today, 09:40 AM
                            3 responses
                            15 views
                            0 likes
                            Last Post NinjaTrader_Jesse  
                            Started by RookieTrader, Today, 09:37 AM
                            4 responses
                            18 views
                            0 likes
                            Last Post RookieTrader  
                            Started by PaulMohn, Today, 12:36 PM
                            0 responses
                            9 views
                            0 likes
                            Last Post PaulMohn  
                            Started by love2code2trade, 04-17-2024, 01:45 PM
                            4 responses
                            41 views
                            0 likes
                            Last Post love2code2trade  
                            Working...
                            X