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 CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
52 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
29 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
194 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
355 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
274 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment