I want to record the differences between the 3
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
GetCurrentAskVolume()
Collapse
X
-
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 3Tags: None
-
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.Brandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ChrisR, Yesterday, 09:24 PM
|
3 responses
16 views
0 likes
|
Last Post
![]()
by ChrisR
Today, 06:16 PM
|
||
Started by balltrader, Today, 10:06 AM
|
6 responses
30 views
1 like
|
Last Post
|
||
Started by Attila, 03-07-2023, 09:47 AM
|
4 responses
32 views
0 likes
|
Last Post
![]()
by BartMan
Today, 04:01 PM
|
||
Started by BartMan, Today, 03:59 PM
|
0 responses
14 views
0 likes
|
Last Post
![]()
by BartMan
Today, 03:59 PM
|
||
Started by QuantKey_Bruce, 03-29-2023, 02:31 PM
|
10 responses
43 views
0 likes
|
Last Post
![]()
by BartMan
Today, 03:45 PM
|
Comment