• 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

sending email with screenshot of current chart

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

    sending email with screenshot of current chart

    Hello,
    my intention is to send a email with the current chart of the strategy. Is there a possiblity to get the chart by file or to get the current form?
    I tried this but I have no chance to get the current form informations:

    Rectangle bounds = this.Bounds;

    using(Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height))
    {
    using(Graphics g = Graphics.FromImage(bitmap))
    {

    g.CopyFromScreen(new Point( bounds.Left,bounds.Top), Point.Empty, bounds.Size);

    using (MemoryStream ms = new MemoryStream())
    {
    bitmap.Save(ms, ImageFormat.Jpeg);
    bytes = ms.ToArray();
    }
    }
    Well - currently I'm not able to get the bounds of the current window of the strategy.

    #2
    Hello mpower,

    There is no supported technique for this, but I would take a look at OregonSun's contribution here:
    http://www.ninjatrader.com/support/f...catid=6&id=377
    Ryan MNinjaTrader Customer Service

    Comment


      #3
      great - that's what I was looking for. Thanks

      Comment


        #4
        Hello mpower or ryan or anybody else
        the link above does not work
        i am looking for the same answer
        anybody knows how to make a screenshot and send by mail?

        Comment


          #5
          Originally posted by yeshe View Post
          Hello mpower or ryan or anybody else
          the link above does not work
          i am looking for the same answer
          anybody knows how to make a screenshot and send by mail?
          click on link then search for 'OregonSun'

          Comment


            #6
            Hello yeshe,

            The user submitted apps have moved to the User App Share section of the NinjaTrader Ecosystem site.
            Below is a public link to this script.
            https://ninjatraderecosystem.com/use...hart-function/
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              I also have a question related to email. I use the Atompark(mass mailing) and drop a PAMM account. Is it possible to connect Atompark to your system so that all signals are sent automatically to my clients?

              Comment


                #8
                Hello SweetYear7,

                This would be outside of what is supported by NinjaTrader Support.

                NinjaScript is written in C#. You might be able to use unsupported C# code to interface with your custom system.

                This thread will remain open for any community members that would like to assist.

                You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.
                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by jjnc2006, Today, 07:36 PM
                0 responses
                3 views
                0 likes
                Last Post jjnc2006  
                Started by futurenick, Today, 06:26 AM
                1 response
                11 views
                0 likes
                Last Post nkhoi
                by nkhoi
                 
                Started by NinjaCustomer, Today, 12:29 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ShawnB  
                Started by Steve L, Today, 11:32 AM
                0 responses
                7 views
                0 likes
                Last Post Steve L
                by Steve L
                 
                Started by prabbala, Today, 10:41 AM
                0 responses
                4 views
                0 likes
                Last Post prabbala  
                Working...
                X