• 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

Additional Reference File

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

    Additional Reference File

    When I go to export an indicator (protected) This additional reference file pops up https://gyazo.com/1052e2e15e5529017d6873854def2d51 and it contains the reference to three other indicators which are not in anyway referenced in the indicator.The notice pops up that the three other indicators are needed for the receiver to open the script when I go to export it.

    I went into the export location and deleted the file, but it continues to be added to all new indicators that I create.

    I recall saving the three indicators for use in a template that I use, but I am not including any template in the indicator.

    #2
    Hello,

    Thank you for the question.

    This can happen with some third party items, they can be included in a compiled export. It is never recommended to export final release or customer ready version of scripts from a platform with third party scripts installed specifically for this reason.

    Instead, it is easy to create a separate user folder specifically for exporting that only has the core NinjaTrader items and the source code for what you are trying to export.

    While there are a few steps, they are not hard and this prevents further errors. In summary, we will only be renaming 1 folder and creating another, Here are the steps:
    1. Export the source code from the platform not protected.
    2. Exit the platform
    3. Open the folder: Documents
    4. Look for the folder [B]"NinjaTrader 7" [/U]
    5. Rename the "NinjaTrader 7" folder to "NinjaTrader 7 Trading"
    6. Open the Windows control panel -> Programs and features
    7. Select NinjaTrader 7 and click "Repair", if you do not have Repair you can also download the installer from NinjaTrader.com
    8. After the installer finishes, in the Documents folder you will now have "NInjTrader 7" and "NinjaTrader 7 Trading" which contains your files.
    9. Open the platform, you do not need to connect or set anything up.
    10. Import your source code and then check that everything compiles, if so Export as a compiled assembly.


    Once you have done this, you should no longer have additional references.txt and customers would have no third party dependencies required.

    To restore your trading NinjaTrader, just exit the platform and flip the folder names around or change:
    NinjaTrader 7 -> NinjaTrader 7 Exports
    NinjaTrader 7 Trading -> NinjaTrader 7

    Now when you start the platform everything should be as it was prior to making the new user folder. Now any time you need to export compiled, you can just exit, switch the folder names, start up and import your source and export as compiled.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ericson, Today, 08:14 PM
    0 responses
    5 views
    0 likes
    Last Post ericson
    by ericson
     
    Started by user1986, Today, 07:28 PM
    1 response
    7 views
    0 likes
    Last Post user1986  
    Started by jertrade, Today, 06:57 PM
    0 responses
    5 views
    0 likes
    Last Post jertrade  
    Started by Emma1, Today, 02:42 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_DrewO  
    Started by fx.practic, Today, 03:10 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X