EDIT: I figured out that its because Im running it on a 2000 tick chart and the chart does not include intrabar data. So then my question is how can I make the code update on each tick but show and run it on a 2000 tick chart.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Calculate on each tick not actually calculating on each tick
Collapse
X
-
Calculate on each tick not actually calculating on each tick
Im trying to run some backtests and noticed that no matter if I put "Calculate.OnEachTick", "Calculate.OnBarClose", or "Calculate.OnPriceChange", It is always calculating at the same rate. I made a test strategy to show this. The attached pictures show that its supposed to calculate on each tick, and it just outputs the time. The next picture shows the output, where you can see that minutes pass between each test. This is running on the ES so there are obviously faster ticks.
EDIT: I figured out that its because Im running it on a 2000 tick chart and the chart does not include intrabar data. So then my question is how can I make the code update on each tick but show and run it on a 2000 tick chart.Last edited by kazisl; 03-26-2021, 11:10 PM.Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
553 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
100 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
543 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
546 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment