ES trading is stopped between 16:15 and 16:30 ET. Do I receive calls of OnBarUpdate() during this time period?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Question with OnBarUpdate()
Collapse
X
-
Question with OnBarUpdate()
Suppose I have a strategy trading on 1min bar series of ES and my session is set as 12:00-12:00. CalculateOnBarClose is set to true.
ES trading is stopped between 16:15 and 16:30 ET. Do I receive calls of OnBarUpdate() during this time period?Tags: None
-
update frequency when set to FALSE
Hi NT_
.I have a weekly indicator with calculateonbarclose set to FALSE; can i adjust or update the (check) frequency of the times it will update the values? I do not need for it to update on every "tick", but also do not want to wait until the BAR closes...(daily/weekly/monthly)
for instance; update twice a week for weekly values... (twice a month for monthly values.... twice a day for daily values....)
using NT6.5 with sessions 12:00am to 12:00am
Comment
-
Hello mystiq,
Yes, this is possible. You still want to use COBC = false, but within OnBarUpdate you add an additional filter to control when you wants things processed. This could be with a timer object or something you custom code. This sample can help using timer objects:
Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
670 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 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
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment