Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

add bid/ask bar object

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

    add bid/ask bar object

    I am trying to add second a bar object like this

    Add("MSFT", PeriodType.Range, 4, MarketDataType.Bid);

    Is there a way instead of providing "MSFT" to specify something like Instrument.MasterInstrument.Id, and the same for PeriodType and Value.

    I want to use identical to primary instrument settings and only different price type (bid vs close)?

    Thank you.

    #2
    Hi BoyPlunger,

    We support only hard coding each additional series, although some users report success with a string input for the instrument name here. We have also previously received a suggestion for another overload here, something like:
    Add(PeriodType, PeriodValue, MarketDataType);
    I'll be happy to add your vote to this request.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thank you. I vote for it, and another overload Add(MarketDataType);

      Can you please clarify, in case of forex eurusd pair name is "EUR.USD" or "EURUSD" or "$EURUSD" ...

      Comment


        #4
        Thanks for the reply. I will include that overload as well for the feature request.

        For FOREX, it should be "$EURUSD".
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Thank you for your help. Could you please also clarify if for MarketDataType ASK/BID tick and range bars are ceated? In other words there are High, Low, Close available for ASK/BID.

          Comment


            #6
            Yes, it adds OHLC bars built on bid/ask data. You will need a data provider that supplies this information. Range bid/ask series, for example, will need historical bid/ask tick data.

            Details on which data providers offer what level of data is available here in the top section:
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            574 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            333 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
            553 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X