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 DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
418 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment