• 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 as image"-feature is missing

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

    #31
    Hello RonnyKeller,

    Beta 11 fixed file names that were inconsistent with other share features (Defect 9672).
    http://ninjatrader.com/support/helpG...s/8_0_0_11.htm

    Unfortunately your feature request is still open. We did not make changes that directly accommodate your request at this time.
    JasonNinjaTrader Customer Service

    Comment


      #32
      Just installed RC1 and am VERY happy to see that "save chart image" uses a default output filename such as "YYYY_MM_DD.png" - thank you very much!! Sometimes it's the small things that make life so much easier.

      Comment


        #33
        Save as Image - possible improvement

        A great feature. Thanks.

        Now, how do I do it in NinjaScript?

        Thanks.

        Comment


          #34
          Hello,

          For NinjaScript there is currently no documentation on this topic, but we do have a sample that demonstrates saving a Chart image.

          Please let me know if I may be of further assistance.
          Attached Files
          JesseNinjaTrader Customer Service

          Comment


            #35
            Save as Image - possible improvement

            Thanks, Jesse.

            I presume that I can use GetScreenshot to capture an image of any NT window, not just charts?

            For example, I create a number of windows in an Addon or Strategy that I also want to capture images of -- can GetScreenshot do this?

            Can it capture an image of any window that is visible to my Addon or Strategy whether it be within or outside of NT? For example, I also have a standalone application that provides detailed market data that I would like to take a screenshot of. I can do this using Interop code in NT7. Can I use GetScreenshot in NT8 instead?

            Thanks.

            Comment


              #36
              Hello,

              This would be a method that is derived from NTWindow, so I would presume any window that is a NTWindow and not just a Window should have this method exposed.

              You would likely need to test with your custom addon as I am unaware of any current sample that demonstrates this concept in an addon window specifically. In the case that this does not work in your addon we could look at that specifically to see what is happening.

              For other windows that do not contain this method, you would likely need to use a similar approach as you currently are in NT7, this would also apply to any external window. Unfortunately this would be something I can't really comment on as this would require the use of native methods which would be something you would need to test from the script to ensure it works as expected.

              I look forward to being of further assistance.
              JesseNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Conall, Today, 06:11 AM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_Kate  
              Started by CaptainAmericaXX, Today, 07:41 AM
              0 responses
              3 views
              0 likes
              Last Post CaptainAmericaXX  
              Started by Longhornmark, Today, 07:06 AM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_PaulH  
              Started by 2sureshk, Today, 07:29 AM
              0 responses
              4 views
              0 likes
              Last Post 2sureshk  
              Started by uday12, Yesterday, 10:26 PM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_PaulH  
              Working...
              X