Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

64 bit dlls

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

    64 bit dlls

    I want to include about 10 external dlls written in C# and built as 64 bit assemblies. I am quite familiar with C# and Visual Studio. Please advice how I can include these in my indicators and strategies. I am familiar with writing my own basic indicators and strategies in Ninjatrader. Thanks so much.

    #2
    Hello,

    Thank you for the question.

    You can use these items in NinjaTrader, they do need to be built using .net 3.5 or less, anything greater will throw errors as the platform is .net 3.5.

    To reference external files, please do the following:

    Open a NinjaScript editor window to any script (Tools -> Edit NinjaScript -> Indicator -> adl).
    Right click in the editor window and click References.
    Click Add and browse for each file, you can only select one at a time so you will need to do this once for each.
    Once you have completed this press OK and then compile the indicator.

    Now in your own scripts you can access these files how you would normally in C# by using the Using statements pointing to the correct namespace.

    Please let me know if I may be of additional assistance.

    Comment


      #3
      Jesse,

      Adding to references doesn't somehow copy the dlls to the correct path. I had to do this manually:

      C:\Users\uname\Documents\NinjaTrader 7\bin\Custom

      I think this is a bug. Please confirm since this can save some users a lot of time.

      Comment


        #4
        newworldguy, this would be expected, the files would need to be in the bin > custom folder for NT to load them on startup.

        Comment


          #5
          Charts are not updating realtime

          Also cannot find new thread button. Please advice. thanks

          Comment


            #6
            Hello newworldguy,

            Thanks for your post.

            The New Thread button is at the top left of the forum section. Just to the left of all the pages.

            What version of NinjaTrader are you using? You can check under Help -> About (Example: 7.0.1000.X)

            Who are you connected to? This is displayed by green on lower left corner of the Control Center window.


            What instrument (and expiry if applicable) have you selected?


            Do you receive an error on screen? Are there errors on the Log tab of the Control Center? If so, what do these errors report?

            Do you receive real time data for the instrument within the Orders tab of the Control Center?
            Attached Files

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Today, 05:17 AM
            0 responses
            51 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            127 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            69 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            42 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            46 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X