Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Adding data series.

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

    Adding data series.

    Hi, I have a problem adding a data series in real time two (2) days before the expiration date of a contract.
    I constantly need to be evaluating a certain condition and when it is possible to read the data series at that time.

    Maybe with an example I can explain myself better.
    I need to evaluate how many days are left before a contract expires, when there are only 2 days left, I would like to start reading the data series of the following contract. But I could not achieve, any recommendations?.

    #2
    Hello 7robert, thanks for your post.

    To change a running strategies instrument contract month, the instruments must first be rolled over via Tools>Database management, then disable the strategy> add the new contract > re-enable the strategy.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Stanfillirenfro, Today, 07:23 AM
    9 responses
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by George21, Today, 10:07 AM
    0 responses
    6 views
    0 likes
    Last Post George21  
    Started by DayTradingDEMON, Today, 09:28 AM
    2 responses
    16 views
    0 likes
    Last Post DayTradingDEMON  
    Started by navyguy06, Today, 09:28 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    8 responses
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X