I do some modeling with stocks on daily charts. I don't have access to intraday data (for now). I understand how strategy works OnBarUpdate() but is there any way I can make fake intraday data series so strategy analyzer will work? Pic related. I don't care about intraday activity, all price levels I need are from daily bars.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Fake intraday data
Collapse
X
-
Fake intraday data
Hi,
I do some modeling with stocks on daily charts. I don't have access to intraday data (for now). I understand how strategy works OnBarUpdate() but is there any way I can make fake intraday data series so strategy analyzer will work? Pic related. I don't care about intraday activity, all price levels I need are from daily bars.1 PhotoTags: None
-
Hello Leeroy_Jenkins,
Thank you for the inquiry.
For the strategy analyzer that will need historical data so you would need to import data for that or have a data feed.
If you wanted fake data you could generate a text file full of data-points and then import that. It doesn't need to be real data just in the formats shown here: https://ninjatrader.com/support/help...AndDataFormats
I am not certain if there are any sources online that have fake intraday data but it would be worth a few google searches to see if there are any existing things you can use. You might try searching for "fake stock data" or "generate fake stock data C#" as some examples. Whatever you may find you will want to make it format the data as shown above in the help guide.
You could make an indicator that exports the data it sees to file and then use the Simulated data feed to generate data: https://ninjatrader.com/support/help...tsub=simulated
You can additionally design an import type in the NinjaScript editor if the data you find cannot be changed or is in some specific format. You can find examples of some import types in the editor. https://ninjatrader.com/support/help...mport_type.htm
I look forward to being of further assistance.
-
Comment
-
Hello Leeroy_Jenkins,
You could make an indicator and use the market analyzer or multiple charts to automate that. The previously mentioned items would be the starting place for getting the data in various ways. If you mean to automate exporting the simulated data you would need to do that as a market analyzer indicator column or multiple charts with your indicator.
If you need text, you can write a text file. The platform will read its own proprietary data as needed and present it in the platform in various ways such as processing that data in an indicator. If you wanted to export that data you could write it to file in the needed format. There is a sample of writing data to file in the help guide here: https://ninjatrader.com/support/help...o_write_to.htm
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment