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.
    JesseNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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
            BrandonNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Max238, Today, 01:28 AM
            4 responses
            33 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by r68cervera, Today, 05:29 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by geddyisodin, Today, 05:20 AM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by timko, Today, 06:45 AM
            2 responses
            13 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by habeebft, Today, 07:27 AM
            0 responses
            6 views
            0 likes
            Last Post habeebft  
            Working...
            X