![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jul 2008
Posts: 80
Thanks: 0
Thanked 0 times in 0 posts
|
Hello all,
I'm hoping that one of you has an example of pushing some data to NT. The data I need to push is nothing but a simple object can be a string or integer, but I need NT to be able to receive this data and put it on a stack so that it can be accessed later on a FIFO basis. Do any of you have any examples of an indicator doing this? The application pushing data to NT would reside on the same machine, so IPC is an option. I appreciate any input, it would be ideal to just be able to send generic data using NT's DLL interface but I don't believe that is possible unless there is some sort of un-documented method. I appreciate your input. Dave |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
As you probably know, this is beyond our level of support. Lets see if another trader/programmer can help you.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
|
As an exercise I have managed to get Ninja to output text on a chart which is entered into a Windows Form This was done in the following manner.
A Windows form was constructed using Visual Studio and placed in the Ninja7/bin/Custom directory. A reference was added to the dll and a using statement added to a strategy. The data was picked up by the following line in on bar update FormTest = inputOutputForm.Controls["textBox5"].Text; FormTest being a string declared in variables and ["textBox5"] being the relevant textBox on the Windows form. The text is output on a Ninja Chart using the following line in onbar update DrawText("test", FormTest, 20, Close[0], Color.Black); I am sure there are much better ways of doing this etc, but maybe this will give you some ideas. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Best Data Provider for NT | soyjesus | Market Analyzer | 13 | 03-14-2013 10:14 AM |
| NT not receiving all data | Darth-Trader | Charting | 1 | 10-14-2009 09:14 AM |
| Historic data for NT | MightyM | Miscellaneous Support | 0 | 03-26-2009 09:19 AM |
| Is NT interested in Tenfore for data? FWIW, DTN resells Tenfore's FX data. | bluelou | Miscellaneous Support | 3 | 02-18-2009 02:37 PM |
| building own continuous chart in NT (Data Storage and backfill in NT) | Rocket130713 | Automated Trading | 3 | 08-25-2008 10:36 PM |