Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to distribute other custom files with NinjaTrader?

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

    How to distribute other custom files with NinjaTrader?

    Hi,

    E.g., I need to add an png-image that my custom indicator/strategy uses.
    Is it possible to add a custom file to the generated ZIP-file?

    Thank you!

    #2
    Hello alex.nt,

    Thank your for your post.

    This requires custom plotting by overriding the Plot method. For information on this concept please visit the following link: http://www.ninjatrader.com/support/f...ad.php?t=51368

    Please let me know if you have any questions.

    Comment


      #3
      What? I mean how can I add a custom file into the exported ZIP-archive?

      I have a PNG file that I use with custom rendering in my strategy. However, when I manually add it to the generated zip-archive, the import fails.

      So how do I do that?

      Comment


        #4
        Hello alex.nt,

        Manually add it into the .zip archive.

        Comment


          #5
          if I add a png-file into the zip-archive then such archive cannot be imported.

          Any help?

          Comment


            #6
            Hello alex.nt,

            Thank you for your response.

            I see, I cannot import an image either. I did some further research and it looks like you can embed an image into a custom assembly: http://msdn.microsoft.com/en-us/libr...(v=vs.71).aspx

            There is no method to do this in the Export NinjaScript window.

            Comment


              #7
              Sorry, yes, I know that I can make a separate assembly for that but that seems to be an overkill.
              Anyways, thank you for your help.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              637 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              366 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              107 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              569 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              571 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X