Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

adding an image in background chart

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

    adding an image in background chart

    Hello, is it possible to insert an image in the background chart?

    Thank you

    #2
    Hello anmir55,

    To add an image to the background, you will need to draw this with the graphics library in the Plot override.

    Image newImage = Image.FromFile(System.IO.Path.Combine(Cbi.Core.Use rDataDir, "myImage.png"));

    public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
    {
    graphics.DrawImage(newImage, 0, 0, ChartControl.Width, ChartControl.Height);
    }
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Goodnight.
      How can I insert an own image, which is stored in a folder on my computer, in the background, and when I import the indicator to another computer import the image too?

      thank you very much in advance.

      Comment


        #4
        Hello IVENTISTENERFE,

        At this time, there is no support to include non .cs / .xml resources with an export.

        I have submitted a feature request on your behalf to allow these resources to be included with an export.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          OK thank you very much.
          Is it possible to call the image from a web page?
          I rent an indicator to a developer that included the company logo on the chart.
          It shows a button on the toolbar that if you press it links to the website of your company and that button shows your logo
          Last edited by IVENTISTENERFE; 12-26-2016, 04:12 PM.

          Comment


            #6
            Hello IVENTISTENERFE,

            I'm not aware of a way to do this, however, if this is possible, this would be far outside of what is supported by NinjaTrader Support to do.

            This thread will remain open for any community members that would like to assist.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Ok, thank you very much for everything Chelsea

              Comment


                #8
                Hello IVENTISTENERFE,

                Our development has provided me with a tracking ID for your feature request. For future reference, your request to allow the export of images and other resources with an exported NinjaScript is being tracked with ID #SFT-968.

                It is up to the NinjaTrader Development to decide if and when a request will be implemented.

                We highly appreciate you providing this feedback. Please let me know of any other suggestions or requests you have for the NinjaTrader platform.
                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                576 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                334 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                553 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X