Chart Picture through EL? - EasyLanguage Programming | futures io social day trading
futures io futures trading


Chart Picture through EL?
Updated: Views / Replies:403 / 3
Created: by westsider Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Chart Picture through EL?

  #1 (permalink)
Elite Member
Los Angeles, California
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Stage 5
Favorite Futures: ES AAPL
 
Posts: 83 since Jun 2011
Thanks: 41 given, 102 received

Chart Picture through EL?

Hello,
Does anyone know how to take a screen shot of a chart through easy language? It can be done if you buy an indicator but I like to do things myself.
Thanks
Westsider

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,527 since Apr 2013
Thanks: 229 given, 854 received
Forum Reputation: Legendary


westsider,

it will likely be along the lines of using the command line to execute a macro or call the program that does the screenshot. The downside with the command line is that the commands are applied to the chart that currently has the focus (basically the one you last clicked into). This can lead to unwanted results.

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Elite Member
Los Angeles, California
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Stage 5
Favorite Futures: ES AAPL
 
Posts: 83 since Jun 2011
Thanks: 41 given, 102 received

My Solution

Thanks for your input ABCTG . Got me thinking. Since there is no way to do this I wrote app in Visual Studio. You would have to replace your email address and mail client then compile it and finally call the exe from within your EL code. Henry @ Multicharts wrote an elegant function to call apps or DLL's and its called

ShellExecute.pla sample

So I use that function to call my Exe file when I want to take a screenshot and email it to me from within TS.

Westsider

 
Code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Mail;

using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;
using System.Reflection;
using System.Windows.Forms;


namespace MailScreenShot
{
    class Program
    {
        static void Main(string[] args)
        {
            // Capture the screen to a stream
            Bitmap memoryImage = new Bitmap(SystemInformation.VirtualScreen.Width,
                                SystemInformation.VirtualScreen.Height,
                                PixelFormat.Format64bppArgb);       
            Graphics memoryGraphics = Graphics.FromImage(memoryImage);
            memoryGraphics.CopyFromScreen(SystemInformation.VirtualScreen.X,
                                       SystemInformation.VirtualScreen.Y,
                                       0,
                                       0,
                                       SystemInformation.VirtualScreen.Size,
                                       CopyPixelOperation.SourceCopy);
            System.IO.Stream stream = new System.IO.MemoryStream();
            memoryImage.Save(stream, System.Drawing.Imaging.ImageFormat.Jpeg);
            stream.Position = 0;

            // send mail
            string to = "yourname@yourisp.com";       //  Replace with your email address
            string from = "yourname@yourisp.com";   //  Replace with your email address
            MailMessage message = new MailMessage(from, to);  
            message.Subject = "Tradestation";
            message.Body = @"Trade Alert";
            Attachment attach = new Attachment(stream, "MyImage.Jpeg");
            message.Attachments.Add(attach);
            SmtpClient client = new SmtpClient("Your Mail Client");   // Replace with your email client
            // Credentials are necessary if the server requires the client 
            // to authenticate before it will send e-mail on the client's behalf.
            client.UseDefaultCredentials = true;
            try
            {
                client.Send(message);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Exception caught in CreateTestMessage2(): {0}",
                            ex.ToString());
            }
            return;
        }
    }
}

Reply With Quote
The following 2 users say Thank You to westsider for this post:

Reply



futures io > > > > > Chart Picture through EL?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Psychology of a Dynamic Picture John32 Psychology and Money Management 9 July 21st, 2013 11:14 AM
Problem in uploading profile picture Anatta Tech Support 3 July 15th, 2013 07:29 PM
Market Is Missing Big Picture On Inflation Threat: El-Erian Quick Summary News and Current Events 0 May 13th, 2011 02:50 PM
LaguerreMA The Big Picture RJay Traders Hideout 1 June 24th, 2009 12:34 PM
Changing your avatar picture Big Mike Beginners and Introductions 0 June 15th, 2009 02:15 PM


All times are GMT -4. The time now is 04:10 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-12 in 0.08 seconds with 19 queries on phoenix via your IP 54.163.210.170