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 NullPointStrategies, Today, 05:17 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment