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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
68 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
39 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment