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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      155 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      307 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      346 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      176 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X