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 usazencort, Today, 01:16 AM
      0 responses
      1 view
      0 likes
      Last Post usazencort  
      Started by kaywai, 09-01-2023, 08:44 PM
      5 responses
      603 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  
      Working...
      X