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 terofs, Today, 04:18 PM
|
0 responses
5 views
0 likes
|
Last Post
by terofs
Today, 04:18 PM
|
||
Started by nandhumca, Today, 03:41 PM
|
0 responses
5 views
0 likes
|
Last Post
by nandhumca
Today, 03:41 PM
|
||
Started by The_Sec, Today, 03:37 PM
|
0 responses
3 views
0 likes
|
Last Post
by The_Sec
Today, 03:37 PM
|
||
Started by GwFutures1988, Today, 02:48 PM
|
1 response
9 views
0 likes
|
Last Post Today, 03:09 PM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
6 responses
33 views
0 likes
|
Last Post
by ScottWalsh
Today, 02:57 PM
|
Comment