• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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?
    Patrick H.NinjaTrader Customer Service

    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
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by curious, Today, 02:17 AM
        2 responses
        7 views
        0 likes
        Last Post curious
        by curious
         
        Started by pmmkm, Yesterday, 11:13 PM
        0 responses
        3 views
        0 likes
        Last Post pmmkm
        by pmmkm
         
        Started by pulpiwapi, 03-04-2019, 11:18 PM
        11 responses
        149 views
        0 likes
        Last Post music_p13  
        Started by indy73, 06-25-2019, 10:52 PM
        3 responses
        21 views
        0 likes
        Last Post sledge
        by sledge
         
        Started by priceisking, Yesterday, 12:51 PM
        1 response
        23 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X