Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on Using external dll for increased calculation speed

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

    Question on Using external dll for increased calculation speed

    I have some calculations that are Slow ( several nested WMA's with a long look-back). If I were create a dll would I see an noticeable improvement in speed over the Ninja Script compiled version? Are there any other recommendations other than optimizing the code which I have already done.

    Thanks for any input

    #2
    Originally posted by JerryWar View Post
    I have some calculations that are Slow ( several nested WMA's with a long look-back). If I were create a dll would I see an noticeable improvement in speed over the Ninja Script compiled version? Are there any other recommendations other than optimizing the code which I have already done.

    Thanks for any input
    Using an external dll is unlikely to be an improvement in execution speed. Remember that NT is itself executing as a single DLL. So calling another DLL would actually involve calling overhead, which may be negligible, but would almost certainly be no faster than executing inside a single already loaded DLL, which is what the NT gumball is.

    Comment


      #3
      Yes, I thought it was a stretch , the only hope I thought I had was that the code produced "Script" / compiler was not as optimized as a full out c# compiler.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      72 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X