Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GetCurrentAskVolume()

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

    GetCurrentAskVolume()

    Just to Verify, Get CurrentAskVolume. is that the current volume bought or sold per tick? Is there a way to tell if it was a sell order of a buy order such as buy ask, buy market or buy bid.
    I want to record the differences between the 3

    #2
    Hello ballboy11,

    Thanks for your post.

    GetCurrentAskVolume() will return the current realtime Ask volume.

    Using GetCurrentAskVolume() and running the script with Calculate.OnEachTick will return the current Ask volume for each incoming tick.

    OnMarketData() could be used to get the Last, Ask, and Bid volume values. See this BuySellVolume indicator that comes default with NinjaTrader to see how to differentiate Ask and Bid volume. To view the script, open a New > NinjaScript Editor window, open the Indicators folder, and double-click on the BuySellVolume indicator.

    See the help guide documentation linked below also for more information and sample code.

    GetCurrentAskVolume(): https://ninjatrader.com/support/help...taskvolume.htm
    OnMarketData(): https://ninjatrader.com/support/help...marketdata.htm

    Let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    51 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    31 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    165 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    100 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    160 views
    2 likes
    Last Post CaptainJack  
    Working...
    X