Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bid/Ask Prices

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

    Bid/Ask Prices

    Hi Support...

    Like we use Close[0] to address current close price, what should we use to address current Bid and current Ask price and also use them in plots and other calculations.

    Thanks for your reply,
    Regards,
    Yusuf SHAIKH

    #2
    Yusuf,

    You can use GetCurrentBid() and GetCurrentAsk().
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh.
      It worked for me.

      Regards,
      Yusuf SHAIKH

      Comment


        #4
        Yusuf,

        Please note that you cannot access the ask price historically.
        mrlogik
        NinjaTrader Ecosystem Vendor - Purelogik Trading

        Comment


          #5
          Yeah, I realized that. Its sad due to limitations by NT.

          Thanks for the info. mrlogik

          Regards,
          Yusuf SHAIKH

          Comment


            #6
            No problem.

            This limitation will be overcome in NT7, where if you collect Bid / Ask tick data in real-time, NT7 will store both data prices for historical use.
            mrlogik
            NinjaTrader Ecosystem Vendor - Purelogik Trading

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            152 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            87 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            131 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            127 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            106 views
            0 likes
            Last Post CarlTrading  
            Working...
            X