Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Development
Collapse
X
-
Strategy Development
Hello , I'm using volumetric bars in my strategy development , and the logic for the long position is " Enter long after 3 consecutive Ask/Bid imbalances with imbalance ratio = 2 " , can someone please help me to turn this into a code ? Thank you.Tags: None
-
Chelsea B.NinjaTrader Customer Service
-
Hello Chelsea , yes I am interesting of how to extract data from the inside of the volumetric bars. For instance I need 5 sequential rows inside of current volumetric bar with Ask 1.5 times greater than Bid. Thank you for response.
Comment
-
Hello Roman Hrabovskyi,
The ask volume for a price row can be found with GetAskVolumeForPrice(double price), and for a bid price row GetBidVolumeForPrice(double price).
From the help guide:
"Gets the ask volume (long value) for the passed in price"
I am also including a link to a forum post with helpful information about getting started with C# and NinjaScript.
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
62 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment