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

Templates in intsallation file

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

    Templates in intsallation file

    I have a fib template and when it installs the template doesn't work in my indicator. when installing in the dll format. Does templates work in installs?

    #2
    Hello ballboy11,

    Thanks for your post.

    Templates and other custom resources can be added in the exported file manually and they will be copied over to the appropriate templates folder.

    I would suggest saving an indicator template for your custom indicator and testing to confirm the template works, and then add the contents to the zip file exported from NinjaTrader so the zip contains:

    Info.xml
    Your assembly and stub cs file
    "templates" folder with "Indicator/YOURINDICATOR/YOURTEMPLATE.xml" included

    I have attached an example export of my IchimokuCloud indicator that is exported as a DLL and has the template properly added.

    Publicly available information on including templates with exports can be found here - https://ninjatrader.com/support/help...ChartTemplates

    Please let me know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      thats what I thought it works in an open source platform but if I do it in a dll format it doesn't read the xml. I do manually copy in the open source and the dll

      Comment


        #4
        Hello ballboy11,

        The example attached is a DLL export. The templates folder is added following the help guide and the template imports as we would expect. I may suspect a difference in names if you do not see the template listed after importing.

        The stub cs file created in the export can be left as exported and should not be replaced with source code.

        Please let me know if you are seeing any issues testing the example and taking the same procedures.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cre8able, Yesterday, 07:24 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by cocoescala, 10-12-2018, 11:02 PM
        6 responses
        939 views
        0 likes
        Last Post Jquiroz1975  
        Started by gbourque, Today, 06:39 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by benmarkal, Yesterday, 12:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X