Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Send screenshot Share()

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

    Send screenshot Share()

    Hi I am not able to figure out how the share image function works.

    Specifically the first string variable asking for share service. I’d like to email the image to an address.

    #2
    Hello brucelevy,

    Thanks for your post.

    The first string is basically the name of the share service you previously created in Tools>options - Share services The first field in there is the name of the share service and that is what you would provide to the Share() method.

    Please see the examples in the helpguide here: https://ninjatrader.com/support/help...-us/?share.htm also, review the tips in the link.

    The first example in the helpguide shows sharing an image.

    The second example shows sending a message to a different e-mail address.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      It is called Email but it says Email is not found in the current context.

      Comment


        #4
        Hello brucelevy,

        Thanks for your reply.

        To discuss further would be better do through e-mail so as not expose e-mail addresses in the forum. I will need to see a screenshot of how your share service is set-up, and an example of the code you are using that produces the issue. In addition, please send your log and trace files to:

        [email protected][dot]Com, mark the e-mail Atten: Paul and include a link to this thread.

        Open your NinjaTrader folder under My Documents.
        Right-click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
        Send the 2 compressed folders as attachments to your email to platformsupport.
        Once complete, you can delete these compressed folders.
        Please include the screenshot(s) and code requested in your reply.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          My sendmail function works fine, I am using gmail.

          Would you be able to show me an example of sending a screenshot to an email? I see the one in the help guide but doesn’t seem to work.

          I’ll send the information you requested once I get back to my computer.

          Thanks.

          Comment


            #6
            Hello brucelevy,

            Thanks for your reply.

            Sure, here is an example:

            Share("Email", "Example Image", @"C:\Users\nameofuser\Documents\NinjaTrader 8\testimage.png", new object[]{"[email protected]","test e-mail with image"});

            Please note that share will only work in real time.
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Sorry Paul,

              Is the file "testimage.png" created automaticly by NT8? Or do you need to create this file previously?

              I want to send a screenshot in real time. Is this the best way to do it?

              Comment


                #8
                Hello soyjesus,

                Thanks for your post.

                The screenshot would need to be previously created.

                You may want to review this thread: https://ninjatrader.com/support/foru...738#post527738
                Paul H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by aligator, Today, 02:38 PM
                0 responses
                5 views
                0 likes
                Last Post aligator  
                Started by Stett0002, Yesterday, 11:55 PM
                1 response
                11 views
                0 likes
                Last Post NinjaTrader_ShawnB  
                Started by KasLB, Today, 05:12 AM
                2 responses
                17 views
                1 like
                Last Post KasLB
                by KasLB
                 
                Started by LeitoGTR, Yesterday, 06:41 PM
                2 responses
                13 views
                0 likes
                Last Post LeitoGTR  
                Started by Prisalice, Today, 07:07 AM
                1 response
                10 views
                0 likes
                Last Post NT-Roland  
                Working...
                X