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

namespace NinjaTrader.Custom.AddOns does not exist

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

    namespace NinjaTrader.Custom.AddOns does not exist

    Hi,
    The namespace AddOns does not exist that leads to an error of "InitializeComponent does not exists" in an xaml file (this file is in AddOns folder). Could you please advice how to fix it?

    Thanks.

    #2
    Hello phuochh,

    Thank you for your post.

    Can you send a screenshot of what you are seeing?
    • To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
    • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.
    ​Additionally, what version of NinjaTrader 8 are you using? The full version number may be found at Control Center > Help > About.

    I look forward to your reply.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      my version: 8.0.26.1 64-bit

      please see the attached screen shot. Click image for larger version

Name:	namespace AddOns.jpg
Views:	89
Size:	249.8 KB
ID:	1221928

      Comment


        #4
        Hello phuochh,

        Thank you for your patience.

        If you are looking to use a xaml file with your AddOn, please follow the samples shown at the following links:As noted in our help guide, "The process of pairing a XAML file with your C# classes is straightforward; simply create your XAML class in its own file within your project, and it can be packaged together with your C# code in a DLL." I suggest using one of the samples provided and then making a copy of the xaml file for any new AddOns you wish to develop; that way the file will have the default NinjaTrader namespaces already when copied and then you can modify it for your needs in the new AddOn.

        Please let us know if we may be of further assistance.
        Emily C.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AaronKoRn, Today, 09:49 PM
        0 responses
        6 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Today, 08:42 PM
        0 responses
        9 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Today, 07:51 PM
        0 responses
        10 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,976 views
        3 likes
        Last Post jhudas88  
        Started by rbeckmann05, Today, 06:48 PM
        0 responses
        9 views
        0 likes
        Last Post rbeckmann05  
        Working...
        X