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

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 LawrenHom, Today, 10:45 PM
            0 responses
            3 views
            0 likes
            Last Post LawrenHom  
            Started by love2code2trade, Yesterday, 01:45 PM
            4 responses
            28 views
            0 likes
            Last Post love2code2trade  
            Started by funk10101, Today, 09:43 PM
            0 responses
            7 views
            0 likes
            Last Post funk10101  
            Started by pkefal, 04-11-2024, 07:39 AM
            11 responses
            37 views
            0 likes
            Last Post jeronymite  
            Started by bill2023, Yesterday, 08:51 AM
            8 responses
            44 views
            0 likes
            Last Post bill2023  
            Working...
            X