Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Timing With Pairs Strategy

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

    Timing With Pairs Strategy

    I recently downloaded Perry Kaufman's "Timing With Pairs" strategy from the March 2014 issue of TASC from the NinjaTrader link file named March2014SC.

    When I try running it in Strategy Analyzer and select it in the backtest dropdown menu, none of the parameters populate. It just retains the parameters from the last strategy that was selected as if the Timing With Pairs strategy doesn't exist.

    I'm running NT on two separate machines and the same thing happens on both. I haven't come across this problem before. Any suggestions?

    Mike

    #2
    Hello Mike,

    Thank you for your note.

    I tested the strategy on my end and was able to get the parameters to show.

    Can you please go to (My) Documents -> NinjaTrader 7 -> Templates -> Strategy and delete and XML files that are in this folder and retest the Strategy Analyzer.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the reply, Cal.

      I don't have any XML files in that folder. Still no change.

      Comment


        #4
        Hello cems1,

        Thank you for your response.

        When this occurs in the Strategy Analyzer please check the Log tab of the NinjaTrader Control Center. Do you see any errors? If so, what do they report?

        Comment


          #5
          Hi Patrick,

          Here is my log...

          Thanks for your assistance.
          Attached Files

          Comment


            #6
            Hello cems1,

            Thank you for your response.

            This is a programming issue with the TimingWithPairs and StressFunction. I will need to implement a fix for this code and I will update the file sharing section and this thread when complete.

            Comment


              #7
              That's what I suspected, but why did it work for Cal if it's the same file?

              Anyway, thanks again for looking into this.

              Mike

              Comment


                #8
                Hello Mike,

                Thank you for your response.

                It is also works on my end, the reason it is malfunctioning is the call to BarsPeriod in the Initialize() method. The bars are not guaranteed to be loaded in Initialize() it is only afterwards. I am going to add in some additional parameters to alleviate this issue.

                Comment


                  #9
                  Hello Mike,

                  Thank you for your patience.

                  I have updated the TimingWithPairs and StressFunction at the following link: http://www.ninjatrader.com/support/f...d=5&linkid=609

                  Comment


                    #10
                    Excellent! Working fine now, just had to change the default instrument from "SPY" to "AAPL" in the strat code because I couldn't pull up SPY in Instrument Manager. I've since, however, figured out how to add new instruments and can now use SPY.

                    Thanks again to you and Cal for taking the time!

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by funk10101, Today, 09:43 PM
                    0 responses
                    2 views
                    0 likes
                    Last Post funk10101  
                    Started by pkefal, 04-11-2024, 07:39 AM
                    11 responses
                    36 views
                    0 likes
                    Last Post jeronymite  
                    Started by bill2023, Yesterday, 08:51 AM
                    8 responses
                    44 views
                    0 likes
                    Last Post bill2023  
                    Started by yertle, Today, 08:38 AM
                    6 responses
                    25 views
                    0 likes
                    Last Post ryjoga
                    by ryjoga
                     
                    Started by algospoke, Yesterday, 06:40 PM
                    2 responses
                    24 views
                    0 likes
                    Last Post algospoke  
                    Working...
                    X