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.
    Kate W.NinjaTrader Customer Service

    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 Vietanhnguyen2hotmailcom, Yesterday, 10:29 AM
      4 responses
      23 views
      0 likes
      Last Post Vietanhnguyen2hotmailcom  
      Started by PhillT, 04-19-2024, 02:16 PM
      4 responses
      35 views
      0 likes
      Last Post PhillT
      by PhillT
       
      Started by ageeholdings, 05-01-2024, 05:22 AM
      5 responses
      37 views
      0 likes
      Last Post ageeholdings  
      Started by reynoldsn, Today, 02:34 PM
      0 responses
      13 views
      0 likes
      Last Post reynoldsn  
      Started by nightstalker, Today, 02:05 PM
      0 responses
      21 views
      0 likes
      Last Post nightstalker  
      Working...
      X