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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    566 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X