Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Pivots Indicator Formula Error.

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

    NT8 Pivots Indicator Formula Error.

    Hi,

    I believe that the formulas to calculate R3 & S3 are in error.

    r3 = pp + 2 * (currentHigh - currentLow);
    s3 = pp - 2 * (currentHigh - currentLow);

    The best I can tell, the formulas should be:

    r3 = r1 + (currentHigh - currentLow);
    s3 = s1 - (currentHigh - currentLow);

    I know that there are different ways to calculate different kinds of pivots. In looking at the code it looked like the pivots being calculated are Floor Pivots. If I'm wrong, please tell me what kind of pivots are being calculated and a reference for the formulas. This would be useful to know.

    Thanks in advance


    #2
    Hello dmking,

    Thank you for your post.

    It seems you're referencing a different S3 / R3 formula - the one the default NT indicator uses is listed here - http://www.ninjatrader.com/support/f...ead.php?t=4676

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Thanks Kate.

      If I open an NS Editor and look at the Pivot Indicator, at lines 198 & 199 you get the code I show above and in your link:

      r3 = pp + 2 * (currentHigh - currentLow);
      s3 = pp - 2 * (currentHigh - currentLow);

      As I said I think the above is wrong. I think that pp should be replaced by R1.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      41 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      27 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      45 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      37 views
      0 likes
      Last Post CarlTrading  
      Working...
      X