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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            161 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            311 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            245 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            350 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            179 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X