If VOL < 350k in the time frame 09:30AM to 10:30AM, use plan A. if not, Plan B.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using Strategy Builder to Filter Days by First Hours activity
Collapse
X
-
Using Strategy Builder to Filter Days by First Hours activity
Based on the activity of the first hour of the day, I would like to sort out which approach is used that day. Basically how do I code:
If VOL < 350k in the time frame 09:30AM to 10:30AM, use plan A. if not, Plan B.Tags: None
-
Hello Raginpower,
Measuring the volume between two specific times would mean adding it together. The only math available in the strategy builder is with offsets on series. Any further math would require unlocking the script and coding by hand.
This may work with series.
Try adding a custom series. Then in a time filter from 9:30 AM to 10:30 AM set the value of the series to the previous bars value with an offset adding the Volume of the current bar.
Below is a link to a video of saving volume using offsets in the Strategy Builder.
Also, below is a link to the Strategy Builder 301 training video on time filters.
From there you could set a bool in a condition after 9:30 that checks what was collected, and in each condition set that has the logic to place orders, require this bool to be true.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
91 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
137 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
121 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
72 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment