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

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 algospoke, Yesterday, 06:40 PM
                2 responses
                19 views
                0 likes
                Last Post algospoke  
                Started by ghoul, Today, 06:02 PM
                3 responses
                14 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                45 views
                0 likes
                Last Post jeronymite  
                Started by Barry Milan, Yesterday, 10:35 PM
                7 responses
                20 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by AttiM, 02-14-2024, 05:20 PM
                10 responses
                181 views
                0 likes
                Last Post jeronymite  
                Working...
                X