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

How to determine Primary Data Series[0]

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

    How to determine Primary Data Series[0]

    Hi NinjaTraders,

    I apologize in advance for asking this question but... What are the default parameters for primary data series[0] ??
    My strategy is a multi-instrument and multi-timeframe but primary data series [0] remains a big mystery to me.
    How is the primary data series determined? I don't utilize charts nor draw anything from the code onto charts, just comparing indicator values to my variables.
    Is there a way to set the timeframe for primary data series (for example 5 minute timeframe would be set as BarsArray[0]) ?
    I am not sure which data series to add to allow backtesting with intrabar granularity not knowing the [0] data series parameters.

    My english is not too strong I hope my question is clear enough.
    Thanks in advance for feedback,
    David


    #2
    Hello Paco0,

    There are no defaults for the primary, you would need to select it when you configure the strategy.

    If you are using the control center to apply the strategy, when you configure it you have to select an instrument and timeframe, that would be the primary.
    The same would happen in a backtest, when you go to run the test you have to select an instrument which would be the primary.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mgco4you, Today, 09:46 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by wzgy0920, Today, 09:53 PM
    0 responses
    3 views
    0 likes
    Last Post wzgy0920  
    Started by Rapine Heihei, Today, 08:19 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    6 views
    0 likes
    Last Post Rapine Heihei  
    Started by f.saeidi, Today, 08:01 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X