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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      88 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      48 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      31 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      34 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      69 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X