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