Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VIX Seris not showing up in real-time

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

    VIX Seris not showing up in real-time

    Hey guys ive got a problem with my strategy, the VIX series is not showing up in real-time

    I am adding a secondary series

    Add("^VIX", PeriodType.Minute, 1440);

    I want to be able to load about 50 to 100 days of VIX daily data into my strategy. My strategy loads the info just fine for backtest but does not appear to be loading anything in real-time (it only loads the last day).


    This if statement does not pass as true:

    if(CurrentBars[1]>l1)
    {

    }

    this test also fails:
    Print(Medians[1][0]);
    Print(Medians[1][1]);
    Print(Medians[1][3]);

    Any ideas how tofix? the data provider is kinetick.

    #2
    Hello,

    Can you open a ^VIX chart without any issue?

    Do you have an example script you can post I can test?

    To export your script do the following:
    1. Click File -> Utilities -> Export NinjaScript
    2. Enter a unique name for the file in the value for 'File name:'
    3. Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
    4. Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message


    By default your exported file will be in the following location:
    • (My) Documents/NinjaTrader 7/bin/Custom/ExportNinjaScript/<export_file_name.zip>


    Below is a link to the help guide on Exporting NinjaScripts.
    http://www.ninjatrader.com/support/h...nt7/export.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      This has been resolved apparently there needs to be bars required > the minimum for an SMA or EMA lookback otherwise it wont load the dataset at all.

      Comment


        #4
        Hello elitetradernyc,

        If you call a bar further back that there are bars on the chart, this bar will not exist and you will get a Object reference not set to an instance of an object error.

        This is true when you call any data series further back than there are bars. (A check that there are that many bars can prevent this)
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        598 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 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
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X