Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Past session Indicator values reset
Collapse
X
-
Hi epcompany, there would not be prebuilt method for this task unfortunately but you would need to ensure to skip historical OnBarUpdate() calls for any bar not in the current session, if you start your script before the session break and run for example the RTH / cash hours sessions then working with Historical should work as well.
-
Just reset all your values using FirstBarOfSession as your filter/trigger.Originally posted by epcompany View PostI would like the strategy to reset past session indicator values, such that they are calculated from the beginning of the current session? is this possible?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
320 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
203 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
188 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
283 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
235 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment