Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting inverse of ZN price

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

    Plotting inverse of ZN price

    I'm guessing that I need to create an indicator to plot the inverse of the ZN price.

    Can anyone get me started in the right direction on how to do this? I've never created an indicator before, thanks...

    #2
    Hello rc5781,

    Most of the setup is done through the indicator wizard. It walks you through adding plots, lines, and inputs. If you want the inverse, set the plot to 1 / Close[0].

    Plot0.Set (1 / Close[0]);

    That will work if you apply the script to ZN. If you want to be able to apply it to any instrument, would need to work in a multiseries script.

    Tutorials on developing custom indicator scripts are available here:
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      thank you...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      590 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      342 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      555 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X