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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
134 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment