Announcement

Collapse
No announcement yet.

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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        55 views
        0 likes
        Last Post CarlTrading  
        Working...
        X