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 sjsj2732, Yesterday, 04:31 AM
      0 responses
      39 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      289 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      289 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      135 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      96 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X