• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Want to feed live data to Ninjatrader from Excel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Want to feed live data to Ninjatrader from Excel

    How to feed live data into Ninajtrader from Excel. From where to start coding for it ?

    #2
    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.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by saltminer, Today, 05:19 PM
    0 responses
    3 views
    0 likes
    Last Post saltminer  
    Started by martyn73, Today, 04:18 PM
    0 responses
    2 views
    0 likes
    Last Post martyn73  
    Started by aprendiz, Today, 03:42 PM
    0 responses
    2 views
    0 likes
    Last Post aprendiz  
    Started by 1001111, Today, 09:10 AM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by usero86, Today, 06:02 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X