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

Multi time frame Series Output

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

    Multi time frame Series Output

    Hello, we have a strategy that operates in 1 min which needs the daily ATR of 20 periods, the question we have is when we try it in Market Replay, if we have to download at least 20 days before to calculate the daily ATR( of the second series of prices), or how we should do it. Thank you

    else if (State == State.Configure)
    {
    AddDataSeries(Data.BarsPeriodType.Day, 1);

    }
    Last edited by Lesclafit; 12-13-2022, 03:27 AM. Reason: Market Replay Multi Series

    #2
    Hi Lesclafit, thanks for posting. If you are running the Simulation license key then you will need to connect to a real data source and pull up a daily chart of the instrument to get the historical data. You can connect to Kinetick EOD to get Daily data. If you are running a lease or lifetime license key it should use the NinjaTrader historical data server to back fill the needed data.

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by TheMarlin801, 10-13-2020, 01:40 AM
    20 responses
    3,914 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by timmbbo, 07-05-2023, 10:21 PM
    3 responses
    150 views
    0 likes
    Last Post grayfrog  
    Started by Lumbeezl, 01-11-2022, 06:50 PM
    30 responses
    805 views
    1 like
    Last Post grayfrog  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Johnny Santiago, 10-11-2019, 09:21 AM
    95 responses
    6,194 views
    0 likes
    Last Post xiinteractive  
    Working...
    X