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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      163 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      83 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      126 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      206 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      185 views
      0 likes
      Last Post CarlTrading  
      Working...
      X