• 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

Custom Dll Multiplen Instances errors

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

    Custom Dll Multiplen Instances errors

    Hi,

    I am trying to run multiple instances of R.Net that interops with R and .net. But the problem is I can only run the instance one at a time. When i try to add two indicators in a chart, it cant run both at the same time, throws error.

    My question is whether in NT8 programmaticly I can sequentially load and wait for one indicator to complete processing to the next, due to the single instance issue of the custom dll. Also when a bar updates it does so sequentially.
    Last edited by ericson; 02-20-2017, 08:03 PM.

    #2
    Hello ericson, and thank you for your question. The behavior you are describing is undocumented and unsupported. However, NinjaScript is an extension of MSDN C#, which supports lazy initialization and importing symbols from unmanaged dlls directly. While developing a solution which would allow you to sequentially load indicators from multiple compiled dlls (which we do support creating) would also be beyond the scope of our support, if there are any questions we can answer which would help you determine why your indicators can not run together, or about NinjaTrader and NinjaScript generally, please don't hesitate to reach out.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      In R.net ive read you can initialize only one engine at a time, not more or in parallel. So when loading two on a chart same time, throws error or crashes. Same would happen for onbarupdates events.

      Comment


        #4
        While we have reached the limit of the scope of the support we can provide directly, if you would like to be put in touch with a consultant that can develop a way to sequentially load dll files for you, or if there are any other questions about NinjaTrader we can answer, please let us know.
        Jessica P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by levikNT, Today, 04:39 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by chartish, Today, 08:36 AM
        2 responses
        14 views
        0 likes
        Last Post chartish  
        Started by login_dejavu, Yesterday, 04:58 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by NinjaTrader_PaulH, Today, 07:40 AM
        0 responses
        4 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by awesometrader, Today, 06:59 AM
        2 responses
        9 views
        0 likes
        Last Post awesometrader  
        Working...
        X