I need the edit strategy to make the entry run under the condition that today's volume will be greater than the previous ten lines of volume and at the same time Low Candles the lowest for the last ten candles. Thank you for any advice.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bigger than, Lowest than
Collapse
X
-
Bigger than, Lowest than
Hello,
I need the edit strategy to make the entry run under the condition that today's volume will be greater than the previous ten lines of volume and at the same time Low Candles the lowest for the last ten candles. Thank you for any advice.Tags: None
-
Hello Quikc,
Thanks for your post and welcome to the NinjaTrader forum.
You can use the MAX() and MIN() indicators to get the highest and lowest values over a period and you can pass the VOL() indicator in as a series.
For example, to get the maximum volume reading from the VOL() indicator over the last 10 bars you could do something similar to the following snippet:
Please see the following reference sample in our help guide that demonstrates how to get the highest high or lowest low during a specific period: https://ninjatrader.com/support/help...est_high_o.htmCode:Print("The maximum volume reading over the last 10 bars is : "+MAX(VOL(),10)[0]);
Josh G.NinjaTrader Customer Service
-
Quikc,
For the first one that looks correct, except you would want to use "<=" instead of just "<" to compare the two values. If the current price is the lowest low over that 10 bar period it would be equal.
For the second one if you want to compare the current volume to the max volume over a 10 bar period you will want to be sure to set the "Input series" for the MAX() indicator to Volume.
Josh G.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment