Thanks for your support.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bar Count
Collapse
X
-
Bar Count
I have recently started using a strategy based on bar count, so many up, so many down bars. I think I've noticed that the bar count after a session break, as defined by the session template, starts at zero. In other words if you have two up bars immediately prior to a session break, the bar count would start at zero immediately following the session break. Is this correct?? If so, is there a way around this?
Thanks for your support.Tags: None
-
Without seeing how you are counting the bars, it is hard to say, but I have a strategy which also depends on counting bars, and even on RH sessions, the bar count does not reset itself on session boundaries.Originally posted by Whipstopper View PostI have recently started using a strategy based on bar count, so many up, so many down bars. I think I've noticed that the bar count after a session break, as defined by the session template, starts at zero. In other words if you have two up bars immediately prior to a session break, the bar count would start at zero immediately following the session break. Is this correct?? If so, is there a way around this?
Thanks for your support.
You may have to take another look at your code.
-
Thanks for your reply, I am just using the standard bar count that is embedded when using the wizard to indicate one bar back, two bars back, etc. I do not write code, perhaps I need to get someone to write my strategy for me and then code it to not lose count around session boundaries. It's a good strategy until the session boundaries kill it!!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment