Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Advanced Statistics Library

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

    Advanced Statistics Library

    Hey all,

    Is there any way to integrate a more advanced statistics library into NinjaScript code? I found some open source C# libraries such as dnAnalytics, but I can't seem to figure out how to use them with NinjaTrader....is it even possible in the first place?

    It would be nice to be able to do some fancier stuff, Matlab style.

    Thanks,
    Phil

    #2
    Hello Phil,

    Thank you for your post.

    This is not supported but you may be able to add the library with the "using" statements at the top of the code. You can also add references to external files by right clicking within the editor > references > Add.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Yes I have tried to do so but the objects used in the calculation aren't compatible. Is there any way to transform a NinjaScript data series to a normal array or vector?

      Comment


        #4
        Yes, this is possible but you will have to look into the C# implementation of this. A NinjaScript data series is essentially an array, only they're tied to each individual bar object.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Ok great. Thanks for the quick reply.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by blar58, Today, 03:16 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Melissa  
          Started by alcorr247, Today, 02:52 PM
          2 responses
          7 views
          0 likes
          Last Post robforee2  
          Started by Radano, Today, 02:30 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by DrummerBoy, Today, 01:34 PM
          3 responses
          29 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by kangethe, Today, 02:11 PM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X