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 sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      42 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      294 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      290 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      135 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      98 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X