• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Save Image API

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

    Save Image API

    Is there an API to save the chart image from inside an indicator code?

    #2
    Hello afshinmoshrefi,

    An API is an Application Programming Interface that allows external programs to interface with our program NinjaTrader.

    Below is a link to a forum post about the API.
    https://ninjatrader.com/support/foru...442#post514442


    NinjaScript is internal in NinjaTrader and does not require interfacing with the API.

    Below is a link to a forum post about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040

    As far as a taking a screenshot, this is possible with undocumented code.
    https://ninjatrader.com/support/foru...865#post717865
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I tried your suggestion with MyScreenTaker.cs.
      MyScreenshot.png was created however, it was a plain chart.
      All indicator plots are missing. Is there a way to get a screen shot with the displayed indicator plots?

      Comment


        #4
        Hello afshinmoshrefi,

        I dug around and found an older version that still appears to work and the screenshot includes indicator plots.
        Attached Files
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks, this is just what I was looking for.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by hobah99, Today, 04:12 PM
          0 responses
          2 views
          0 likes
          Last Post hobah99
          by hobah99
           
          Started by arguru, Today, 04:07 PM
          0 responses
          4 views
          0 likes
          Last Post arguru
          by arguru
           
          Started by Abdullah_KSA, Yesterday, 12:52 PM
          6 responses
          41 views
          0 likes
          Last Post NinjaTrader_ChristopherD  
          Started by ZivGillat, 06-29-2020, 11:47 AM
          4 responses
          29 views
          0 likes
          Last Post ZivGillat  
          Started by NinjaTrader_PaulH, Today, 01:48 PM
          0 responses
          9 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Working...
          X