Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Range Bars using Calculate.OnEachTick useless?
Collapse
X
-
Hello Boonfly8,
Thanks for your post.
Calculate.OnEachTick means that your code is run on every incoming tick of data regardless if the price changes.
Calculate.OnPriceChange means that your code will run if the current price is not equal to the previous price, which can occur on each tick but would skip processing on a particular tick if the price has not changed.
Calculate.OnBarClose means your code is run only once per bar when it has closed. This is also how your historical data is processed.
Reference: https://ninjatrader.com/support/help...?calculate.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment