Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Problem with ZScore_v2

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

    Problem with ZScore_v2

    I don't use Ninja Trader that often anymore, so this is probably the result of me forgetting something or another. But, this seems pretty straightforward.

    I'm trying to use the Zscore_v2 indicator that is for download in your files section. Trying to debug the problem, I simply made a strategy that only does the following on a 1min chart.

    Print(Zscore_v2(Close, Period)[0]);

    It gives me a bunch of 0's, 1's and -1's, but nothing else. When adding the indicator to the chart, I see the values you'd expect (ranging from anything between 3 and -3.

    What am I doing wrong? Why cannot I access the correct data?

    Thanks.

    #2
    Hello LookOutBelow,

    Thank you for your post.

    Do you have a link for the ZScore so that I can review it to see what data you are trying to access for it?

    Are there multiple plots for this indicator?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      It's the very last indicator in the v7 indicators.

      Zscore_2 is used in there.


      Comment


        #4
        Originally posted by NinjaTrader_Cal View Post
        Hello LookOutBelow,

        Thank you for your post.

        Do you have a link for the ZScore so that I can review it to see what data you are trying to access for it?

        Are there multiple plots for this indicator?

        I'm not sure what happened. I re-started NT7 this morning to answer your question (about whether there were multiple plots) and it was working. I literally did not change anything, but just re-ran the strategy and it printed out the correct values.

        That is troubling in itself. But not sure how to debug that. Anyway, it is working. Thanks.

        Comment


          #5
          If you imported it - and started trying to access it right away - that maybe the problem.

          Sometimes, a good restart of NT is helpful in these situations. I agree though - It shouldn't be necessary. Just don't fight it and learn to work around it

          Comment


            #6
            Originally posted by sledge View Post
            If you imported it - and started trying to access it right away - that maybe the problem.

            Sometimes, a good restart of NT is helpful in these situations. I agree though - It shouldn't be necessary. Just don't fight it and learn to work around it
            Interesting. Maybe that was it. I didn't restart after importing.

            Thanks

            Comment


              #7
              Originally posted by sledge View Post
              It's the very last indicator in the v7 indicators.

              Zscore_2 is used in there.


              http://www.ninjatrader.com/support/f...d=4&linkid=637
              Hello,
              I looked at the url posted by you, in order me to find the Zscore_v2 indicator ( I need it to create a strategy), but I cant find it. Can you please be more specific about this url/download ? Many thanks in advance.

              Comment


                #8
                Hello George1455,

                Thank you for your post.

                The v7 indicators including Zscore_v2 are no longer on the User App Share Center. This thread will be open for any community members to share their feedback.

                Let us know if we may assist further.
                Brandon H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Tim-c, Today, 10:58 AM
                0 responses
                1 view
                0 likes
                Last Post Tim-c
                by Tim-c
                 
                Started by traderqz, Yesterday, 09:06 AM
                3 responses
                21 views
                0 likes
                Last Post NinjaTrader_ThomasC  
                Started by f.saeidi, Today, 10:19 AM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by kujista, Today, 06:23 AM
                5 responses
                18 views
                0 likes
                Last Post kujista
                by kujista
                 
                Started by traderqz, Today, 12:06 AM
                3 responses
                6 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Working...
                X