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 kaywai, 09-01-2023, 08:44 PM
          5 responses
          602 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by xiinteractive, 04-09-2024, 08:08 AM
          6 responses
          22 views
          0 likes
          Last Post xiinteractive  
          Started by Pattontje, Yesterday, 02:10 PM
          2 responses
          20 views
          0 likes
          Last Post Pattontje  
          Started by flybuzz, 04-21-2024, 04:07 PM
          17 responses
          230 views
          0 likes
          Last Post TradingLoss  
          Started by agclub, 04-21-2024, 08:57 PM
          3 responses
          17 views
          0 likes
          Last Post TradingLoss  
          Working...
          X