It would be nice to be able to "push" ticks from within the program (an NT indicator) and let NT's functionality take care of OHLCV, Time, &etc
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
user defined Instrument
Collapse
X
-
user defined Instrument
Is it possible (NT7 or NT8) to define an Instrument that accepts data (ticks) from an NT Indicator, Strategy or ??
It would be nice to be able to "push" ticks from within the program (an NT indicator) and let NT's functionality take care of OHLCV, Time, &etc -
Hello,
This would not be supported in NinjaTrader 7 or NinjaTrader 8. You might be able to get the data historically by creating an indicator that writes the data from your indicator to a historical data file into the specific format needed for historical data. Please see the following link on the historical data format for NinjaTrader 7: http://ninjatrader.com/support/helpG.../importing.htm
and the following link for the data format in NinjaTrader 8: http://ninjatrader.com/support/helpG...AndDataFormats
I would also recommend to review the following reference sample for StreamWriter: http://ninjatrader.com/support/forum...ead.php?t=3475Cody B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_CodyB View PostHello,
This would not be supported in NinjaTrader 7 or NinjaTrader 8. You might be able to get the data historically by creating an indicator that writes the data from your indicator to a historical data file into the specific format needed for historical data. Please see the following link on the historical data format for NinjaTrader 7: http://ninjatrader.com/support/helpG.../importing.htm
and the following link for the data format in NinjaTrader 8: http://ninjatrader.com/support/helpG...AndDataFormats
I would also recommend to review the following reference sample for StreamWriter: http://ninjatrader.com/support/forum...ead.php?t=3475
I've already written "proof of concept" code for most of the functionality I need, including saving and recalling data from disk. In reviewing the design, I realized that almost all the functionality I require is already built in to NT; hate re-inventing yet another wheel.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by funk10101, Today, 12:02 AM
|
1 response
10 views
0 likes
|
Last Post Today, 06:38 AM | ||
Started by GLFX005, Today, 03:23 AM
|
1 response
6 views
0 likes
|
Last Post Today, 06:36 AM | ||
Started by nandhumca, Yesterday, 03:41 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:27 AM | ||
Started by The_Sec, Yesterday, 03:37 PM
|
1 response
11 views
0 likes
|
Last Post Today, 06:17 AM | ||
Started by vecnopus, Today, 06:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by vecnopus
Today, 06:15 AM
|
Comment