Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Indicator that uses an external library

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

    Indicator that uses an external library

    Hello:

    I am creating an inidcator that uses a library which I managed to convert from framework 4 to Framework 3.5. Compiles well, but when trying to load the indicator it gives me an error failed to ' initialize' the indicator: the dll cannot be found.
    I put the library inside the 'custom' folder of ninjatrader. Also, re started ninjatrader, and I keep getting the same error. Could anyone here point me on other things I can try?

    thank you...

    #2
    Hello Yandychang,

    Thank you for your post.

    Have you added a reference to the .dll file by right clicking in your NinjaScript Editor > selecting References > Add > and then your file?

    Have you tried adding the .dll to the declarations at the top of your NinjaScript file?

    Comment


      #3
      Reference

      I added the reference, and called the namespaces, but I did not add the dll on top of the script. Can you point me to an example?

      Thank you

      Comment


        #4
        Hello Yandychang,

        Thank you for your response.

        Attached is an example.

        If adding this does not correct the matter, please write to platformsupport[at]ninjatrader[dot]com and reference this thread, we can then schedule a support call to look into this further.
        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ageeholdings, Today, 07:43 AM
        0 responses
        2 views
        0 likes
        Last Post ageeholdings  
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        12 views
        0 likes
        Last Post burtoninlondon  
        Working...
        X