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

Built-in Pivot indicator

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

    Built-in Pivot indicator

    Hello.
    I have doubts about built-in Pivot indicator levels.

    On attached screenshot you may see:
    - Pivot indicator ("Use daily bars", Weekly pivots);
    - primary Daily bars;
    - Weekly bars behind daily bars (Box style).

    Let's review the week #29: Jul 16 - Jul 20 2019.
    High 8001.50
    Low 7815.25
    Close 7842.75
    PP = (H + L + C) /3 = (8001.5 + 7815.25 + 7842.75) /3 = 7886.50

    Same time Pivot indicator's PP level is 7922.67

    Am I missing something or indicator calculated wrong numbers?
    (I checked intraday calculations - everything works as expected).
    Attached Files
    Last edited by fx.practic; 08-25-2019, 05:21 AM.
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Hello fx.practic,

    I will look into this and I will let you know what I find.

    I appreciate your patience.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello fx.practic,

      I have manually calculated a weekly pivot and I am finding this matches the PP value produced by the Pivots.

      Below is a link to a video of the test.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hello, Chelsea
        Sorry for the delay. It was the very clear video, thank you!

        Now, please, consider my portion of clarity )

        Please, watch the steps on the screenshot
        (1) On my side PP calculation gives 2876.42
        (2) On your video PP calculation gives 2876.42 too.
        (3) On my side the indicator draws PP line somewhere above 2876.42.

        On this video you may see that any neighbour's week PP fit 2876.42.
        I use default session template.
        Attached Files
        fx.practic
        NinjaTrader Ecosystem Vendor - fx.practic

        Comment


          #5
          Hello fx.practic,

          What it the last bar on the chart?

          You have your chart scrolled and it appears we are measuring values for two different bars.

          I'm looking at values on the 8/26 bar. What bar are you looking at values on?
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hello, Chelsea.

            These are weekly pivots on the daily chart.
            Along the next week pivots should be the same.
            fx.practic
            NinjaTrader Ecosystem Vendor - fx.practic

            Comment


              #7
              Hello fx.practic,

              It's based on the last bar number for which bars are included with the calculations. As the script keeps updating the values change.

              I was not able to confirm, what is the last bar that the indicator has updated with on the chart?
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                I need to check once more, thank you.
                fx.practic
                NinjaTrader Ecosystem Vendor - fx.practic

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by bortz, 11-06-2023, 08:04 AM
                47 responses
                1,607 views
                0 likes
                Last Post aligator  
                Started by jaybedreamin, Today, 05:56 PM
                0 responses
                9 views
                0 likes
                Last Post jaybedreamin  
                Started by DJ888, 04-16-2024, 06:09 PM
                6 responses
                19 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by Jon17, Today, 04:33 PM
                0 responses
                6 views
                0 likes
                Last Post Jon17
                by Jon17
                 
                Started by Javierw.ok, Today, 04:12 PM
                0 responses
                16 views
                0 likes
                Last Post Javierw.ok  
                Working...
                X