Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exporting/Importing Indicator

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

    Exporting/Importing Indicator

    Hello,
    I've searched around here for a solution and followed some of the instructions provided. I'm still having issues importing the indicator back into NT after deleting everything simulating a user. As you can see from the attachment the "SvtAccumDistrib1" zip file contains the reference to the SvtReference.dll file. This is a simple reference to an "enum" by the way just testing things around. The error I get when I try to import is this: "2020-12-26 11:10:22:862|2|4|Error compiling import assembly: d:\Users\hayth\Documents\NinjaTrader 8\bin\Custom\SvtAccumDistrib.cs(80,85) : error CS0246: The type or namespace name 'AdEvaluationMode' could not be found (are you missing a using directive or an assembly reference?)"

    I tried a few things to see if the references work. Initially, I removed the indicator and just installed the SvtReference.dll file and the indicator worked fine. But the issue as I said occurs when I export the indicator; remove everything and then try to import back in.

    I want to get away from qualifying every variable. Seems simple for this case but when it's time to release my addons it will be tedious to do so since I have many classes and variables to be referenced.

    Thank you for your help.
    Attached Files

    #2
    Hello hbustami,

    Is the AdEvaluationMode class anywhere in the open source code?

    Was this class included with the export?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      The AdEvlauationModel is not a class but an Enum. The whole SvtReference.dll file is nothing but an enum file. I'm just trying to simulate getting indicators and strategies to production ready mode since I need to send you guys a file for QAQC check before being allowed to be listed. I did follow the instructions in that link you provided. Did you try to import the file from your end? You can probably DotPeek that file.

      Appreciate your time and you help. Best wishes.

      Comment


        #4
        Hello hbustami,

        I am not going to decompile any scripts.

        I was not able to import the package. Something is missing from it.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X