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

programatically capturing screenshot for specific chart/tab

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

    programatically capturing screenshot for specific chart/tab

    Hello,

    Is there any custom developed code I could use to programmatically capture screenshot from specific chart/tab window so that I could then email it or use with any specific service (I don't like configuring alerts manually every time and would like this to be coded into strategy directly)?

    Thanks

    #2
    Hello music_p13,

    Thank you for a note.

    Yes, you would be able to have a screen shot taken and shared via email or share service using the following method detailed in our helpguide, Share(),


    You would first need to set up share services under options on the control center,


    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_AlanP View Post
      Hello music_p13,

      Thank you for a note.

      Yes, you would be able to have a screen shot taken and shared via email or share service using the following method detailed in our helpguide, Share(),


      You would first need to set up share services under options on the control center,


      Please let us know if you need further assistance.
      Hello Alan,

      I did look at this article prior to posting, however, the question is how to actually capture screenshot from active chart and save it to local drive, so that I could later on email this image as an attachment?

      It should be some custom code like activating that specific chart control (using some UI automation beginning with "Window.Get...."

      And then capturing screenshot of that active control... Full control or custom area (chart only for example)...

      Is there any unsupported code to accomplish it that is available?

      Thanks

      Comment


        #4
        I was able to get the answer to my question from the following thread:



        Next step is to try it out.

        Thanks

        Comment


          #5
          Originally posted by NinjaTrader_AlanP View Post
          Hello music_p13,

          Thank you for a note.

          Yes, you would be able to have a screen shot taken and shared via email or share service using the following method detailed in our helpguide, Share(),


          You would first need to set up share services under options on the control center,


          Please let us know if you need further assistance.


          Can we take screenshot of multiple tabs and then email or only the select window screenshot is taken and email sent ???

          Comment


            #6
            Hello bhushan7447,

            Thanks for your post and welcome to the forums.

            If you are coding with a strategy, the strategy would only be able to share a screenshot of the chart the strategy is applied to.

            If you are using an alert to share a screenshot, it would only provide the chart the alert is configured on.
            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kaywai, 09-01-2023, 08:44 PM
            5 responses
            601 views
            0 likes
            Last Post NinjaTrader_Jason  
            Started by xiinteractive, 04-09-2024, 08:08 AM
            6 responses
            22 views
            0 likes
            Last Post xiinteractive  
            Started by Pattontje, Yesterday, 02:10 PM
            2 responses
            17 views
            0 likes
            Last Post Pattontje  
            Started by flybuzz, 04-21-2024, 04:07 PM
            17 responses
            230 views
            0 likes
            Last Post TradingLoss  
            Started by agclub, 04-21-2024, 08:57 PM
            3 responses
            17 views
            0 likes
            Last Post TradingLoss  
            Working...
            X