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 RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,281 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        19 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by Tim-c, Today, 02:10 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X