Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Want to feed live data to Ninjatrader from Excel
Collapse
X
-
Hello svadukia,
Thanks for opening the thread.
As NinjaScripts are built on top of C#, nearly anything that can be programmed in C# can be implemented in a NinjaScript. We have some examples on our forums that demonstrate how you can incorporate various techniques into your strategies and indicators.
For example, there are sample that demonstrate how you can use a StreamReader and a StreamWriter to read and write to a file from a NinjaScript. This sample can be used to help create a script that reads and writes to a CSV (comma separated values) file. This file format can then be imported into Excel and this file format can also be exported from Excel.
Our Reference Samples can be found here: http://ninjatrader.com/support/forum...splay.php?f=30
To be able to stream data to and from an Excel spreadsheet, it may be possible to do this through the DDE interface. We do not have an example that demonstrates this however, and we would not be able to provide further direction to develop a NinjaScript that utilizes this. You may find useful resources online that show how a C# application can use the DDE interface.
I have found one resource here that may be useful: https://blogs.msdn.microsoft.com/cob...ce-automation/
Please let me know if I may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
149 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
84 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
129 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
125 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
102 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment