Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Previous bar data

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

    Previous bar data

    How do I find all tick values such as (ask,bid,last) for previous bar?

    #2
    as far as i am concerned you would need to add the ask and bid series as a "multitimeframe" using Add()
    this is required because historical candles only hold information of one those 3 things at a time. more on that here

    Comment


      #3
      Hello Sharkomax,

      Thanks for your post.

      As forum member BigRo has advised you can access by adding the relevant data series using Add().
      Here are a couple of examples, assumes you are adding the bid/ask of the same instrument as the chart:

      Add(PeriodType.Tick, 1, MarketDataType.Ask);
      Add(PeriodType.Tick, 1, MarketDataType.Bid);

      Once you have added any data series you would then need to ensure you are accessing them correctly in a multitime frame consideration which is described in detail here: https://ninjatrader.com/support/help...nstruments.htm

      Comment


        #4
        thanks for your advice!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X