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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        65 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X