Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get vix today open value?

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

    How to get vix today open value?

    How to get vix today open value or yesterday close value?
    I use /es 1m chart.
    I saw the example of VIXIndicator.cs, but I don't need to draw the vix indicator, I just need a VIX open or close value.
    Thanks.

    #2
    Hello caiyusa,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    You would need a data feed provider that supports indexes and the VIX index. You can view the supported data feed providers at the following link: http://ninjatrader.com/support/helpG...rical_data.htm

    Please let me know if you have any questions.

    Comment


      #3
      I guess I need to clarify my question:
      I use IB with ninjatrader. I know the vix symbol in IB is ^VIX. My question is that I don't know how to read the vix value in code?

      Comment


        #4
        Hello caiyusa,

        Thanks for your post.

        You would use the Add() method to add the ^VIX instrument to your code and then you would refer to the added dataseries by its BarsArray[] index. Please see the helpguide here on add() and other considerations for multiseries scripting: http://ninjatrader.com/support/helpG...nstruments.htm
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,602 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        12 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X