Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help to program this Pivot Formula

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

    Help to program this Pivot Formula

    Hi,
    Please, is there someone who can write the Ninja program for this Pivot Formula?:
    R4 = (H - L) X 1.1 / 2 + C

    R3 = (H - L) X 1.1 / 4 + C

    R2 = (H - L) X 1.1 / 6 + C

    R1 = (H - L) X 1.1 / 12 + C

    S1 = C - (H - L) X 1.1 / 12

    S2 = C - (H - L) X 1.1 / 6

    S3 = C - (H - L) X 1.1 / 4

    S4 = C - (H - L) X 1.1 / 2
    Last edited by barrosco; 09-08-2009, 07:11 AM.

    #2
    barrosco,

    Unfortunately we do not offer custom programming services, but you can definitely try one of these 3rd party NinjaScript Consultants who do: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Maybe this...

      Hi barrosco,

      maybe you can do it yourself within a couple of minutes:
      - first create a new indicator
      - edit the NT pivots indicator (you cannot save changes)
      - copy the entire code of the NT pivots indicator to your new indicator
      - rename the indicator (line 24 after "public class")
      - replace lines 139 to 145 with your formula (not possible for R4 and S4)
      - save via F5
      - try your indicator

      Good luck.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      576 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      553 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X