Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Onbarclose vs Oneachtick
Collapse
X
-
Onbarclose vs Oneachtick
I'm testing a scalping strategy that I developed. The difference between onbarclose and oneachtick is substantial in replay backtesting. My question is how does "on each tick" really work? Is it capturing the same trade over and over due to volatility in the market? I'm trading the NQ. When I use on bar close, it takes one trade only. But the on each tick option produces multiple trades per entry point. Curious as to how this works. Thanks.Tags: None
-
Hello Fran888,
When using OnEachTick and comparing against historical results you would see large differences because the historical test will be run OnBarClose and not OnEachTick. In playback you can test OnEachTick because you are playing through realtime data.
OnEachTick means OnBarUpdate is called for each tick, OnBarClose means OnBarUpdate is called once each bar closes.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
41 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
66 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment