Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to create 1/vix indicator?

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

    How to create 1/vix indicator?

    I asked if plotting 1/vix was possible before and was told that the only was to do this was to create and indicator.

    I have no idea where to start to do this. Is there any way you can get me started or point me in the right direction?

    #2
    You would need to create a multi-instrument strategy. Use the Add() to add the ^VIX instrument. Then you would need to create yourself a new DataSeries and set its value to be 1/Close[0] of the VIX.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      at what point do i use add() to add the vix? the first thing i see when creating a new strategy is "user defined inputs"

      Comment


        #4
        You cannot do this in the Strategy Wizard. It will require custom programming. You add it in the Initialize() method.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        325 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        206 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        194 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        283 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        241 views
        0 likes
        Last Post CarlTrading  
        Working...
        X