Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Traded at Bid or Ask

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

    Traded at Bid or Ask

    Hi

    What is the best way to determine if a price coming through was traded at the bid or ask. I see the functions GetCurrentBid() and GetCurrentAsk() but if I get a price Close[0] and then call these functions will they return data that was in synch with the price I have recieved (Close[0]) or is it possible that in the time I have made the call to GetCurrentBid()/getCurrentAsk() that they could have moved from where they were when the last trade was made at Close[0].

    What a lot of ramble ... basically what is the best way to determine if a the trade at Close[0] was done at the bid or ask.

    Many Thanks

    Paul

    #2
    Hi Paul, you can take a look at the BuySellVolume code for the core logic, then modify it as you need it - http://www.ninjatrader-support.com/H...ndicators.html

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Paul, you can take a look at the BuySellVolume code for the core logic, then modify it as you need it - http://www.ninjatrader-support.com/H...ndicators.html
      Hi Bertrand

      Many Thanks

      Paul

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      579 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 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
      554 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