Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Woodies Pivots Ninjascript

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

    Woodies Pivots Ninjascript

    Does anyone know where I can find the Woodies Pivot ninjascript or the formula used to draw the Pivot lines?

    I can't seem to locate the Woodies ninjascript indicator in the Ninjascript editor.
    Also when I try to draw lines conforming with:
    R2 = PP + RANGE
    R1 = (2 * PP) - LOW
    PP = (HIGH + LOW + (TODAY'S OPEN * 2)) / 4
    S1 = (2 * PP) - HIGH
    S2 = PP - RANGE

    It does not line up with NT8's pivot lines

    Thank you,
    Shogunforlife

    #2
    Hello shogunforlife,

    Thanks for your post.

    The Woodies Pivots indicator is not open source and is not available in Ninjascript. You can try a search of the internet for the formulas.

    The NinjaTrader Pivots indicator uses the pivot point (PP) as yesterdays (High + Low + Close) / 3. You can review the open source Ninjascript for the Pivots indicator.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hi Paul,

      Thanks for letting me know that it is not open source.

      I did search the internet for the formulas and there seem to be a few of them floating around, yet none of them line up with what Ninjatrader is using. Very strange.

      Anyway, I am wanting to incorporate Woodie's Pivots in a strategy and not sure how else I can do this in NT8.

      Do you have any suggestions?

      Thanks,
      Shogunforlife

      Comment


        #4
        Hello shogunforlife,

        Thanks for your reply.

        You can include woodies pivots in your strategy the same as any other indicator.

        Here is an example where we are looking for the Close data to cross above the R2 pivot.

        Code:
        			else if (State == State.DataLoaded)
        			{				
        				WoodiesPivots1				= WoodiesPivots(Close, NinjaTrader.NinjaScript.Indicators.HLCCalculationModeWoodie.DailyBars, 20);
        			}
        		}
        
        		protected override void OnBarUpdate()
        		{
        			if (BarsInProgress != 0) 
        				return;
        
        			if (CurrentBars[0] < 1)
        			return;
        
        			 // Set 1
        			if (CrossAbove(Close, WoodiesPivots1.R2, 1))
        			{
                                  // do something
        			}
        			
        		}
        In the above example code (generated by the strategy builder) you could replace R2 with any of the pivots plots.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          woodies pivot

          my pivots use YEST HIGH AND LOW , todays OPEN TWICE...DIVIDE BY 4 = WOODIES PIV

          This gives the pivots a better representation of the over night change of market mechanics. this is reason very popular by traders as all others rely on old data from yest, and not the change of overnight.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by gravdigaz6, Today, 11:40 PM
          0 responses
          4 views
          0 likes
          Last Post gravdigaz6  
          Started by MarianApalaghiei, Today, 10:49 PM
          3 responses
          9 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by XXtrader, Today, 11:30 PM
          0 responses
          4 views
          0 likes
          Last Post XXtrader  
          Started by love2code2trade, Yesterday, 01:45 PM
          4 responses
          28 views
          0 likes
          Last Post love2code2trade  
          Started by funk10101, Today, 09:43 PM
          0 responses
          9 views
          0 likes
          Last Post funk10101  
          Working...
          X