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 rtwave, Today, 01:49 PM
                0 responses
                2 views
                0 likes
                Last Post rtwave
                by rtwave
                 
                Started by papaoutai, Today, 08:56 AM
                0 responses
                18 views
                0 likes
                Last Post papaoutai  
                Started by jdspwe, Today, 05:22 AM
                0 responses
                13 views
                0 likes
                Last Post jdspwe
                by jdspwe
                 
                Started by JeremuFemstu, Today, 04:49 AM
                0 responses
                15 views
                0 likes
                Last Post JeremuFemstu  
                Started by pjsmith, Today, 04:11 AM
                1 response
                19 views
                0 likes
                Last Post Green Lobster CBD  
                Working...
                X