Thanks for your reply.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Get historical ticks and volumes
Collapse
X
-
Get historical ticks and volumes
Hi all, I'm pretty new here and I have following problem. I'm trying to do volume profile chart such as here. But I couldn't get tick data for a historical data analysis. Lets see I work with ES 12-11 1M or E6 12-11 1M data and I am not capable of getting every tick volume data but just total volume for each bar. I tried add a new 1 Tick bar but it is not never executed on historical data. When I run indicator mentioned in url, it calculates some volume analysis so I think a data contains these ticks information or it must it calculate another way.
Thanks for your reply.Tags: None
-
Hi Bertrand, thank you for your welcome and answer. If I get it well, I need to set CalculateOnBarClose on true for processing added tick bar? Now I'm trying to do this:
My primary source is 6E 12-11 historical dataflow. In historical data manager I see for this data source just 1M data, but if I run above mentioned indicator for them, it just works.Code:protected override void Initialize() { Add(Instrument.FullName, PeriodType.Tick, 1, MarketDataType.Last); CalculateOnBarClose = false; } protected override void OnBarUpdate() { if (BarsInProgress == 0) { Print("Time=" + Time[0]); } else if (BarsInProgress == 1) // it never happens! { Print("Time[1]=" + Time[0] + ", Volume=" + Volume[0]); } }
Comment
-
ku8az, what broker or dataprovider do you use? Setting CalculateOnBarClose in backtesting would not have any effect, it's true by default as the intrabar formation of the series is not known in backtesting. The CalculateOnBarClose = true bar info of the 1 tick series is basically simulating your intrabar data for the minute granularity.
Comment
-
For the IB connection you would not get a historical tick data backfill which would be needed here for your project, a sound alternative for the data delivery would be connecting first to Kinetick www.kinetick.com - it would deliver a tick data backfill to drive your tick based charts.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
332 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment