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 cmoran13, 04-16-2026, 01:02 PM
      0 responses
      43 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      25 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      162 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      98 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      158 views
      2 likes
      Last Post CaptainJack  
      Working...
      X