Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I trade from work and during my commute using my iPhone. Don't laugh, Darvas traded with telegrams! I find that I actually do very well if I'm not watching the market. I have my charts emailed to me whenever a trigger occurs (new swing hi/low for example).
I'd like to have my indicator save my image as a jpeg to a specific directory on my pc, I have tomcat running to serve it up over HTTP. Then I can check my chart real time any time I want without waiting for a trigger to send an email.
Any ideas on how to do this? I'm using this to email the chart, I got it from a forum, I don't know .NET:
I can post my email indicator if anyone is interested.
Can you help answer these questions from other members on NexusFi?
Cunparis, yes it can be done. I had an auto screen saver working that would periodically capture all my trading screens. I stop using it because it was capturing too many forums in lull periods. LOL. I will try to dig it out for you after the close.
I use Jaadu remote desktop for iPhone. It works great. Well almost. There is no way to middle click so I use AutoHotKey. There is no way to scroll the DOM either. I haven't got a solution for that one.
But I can't leave remote desktop connected all the time. I just want something where I can refresh a webpage and see my chart. Just one.
TAJTrades - I want to save just the chart and not all the desktop because I need the file to be very small so I don't use up my bandwidth limit on the iPhone.
Does anyone know the code to bring "Focus" to a specific chart within an NT Indicator. Say I want to make the 5 Min chart the active chart and then get the get the location of the Form on the screen? That would solve an issue for cunparis and myself.
I think you're looking at it from another perspective.
I add an indicator to my chart which emails me the chart when a trigger occurs. So there is no focus. The only catch is the chart cannot be minimized but that's not a problem for me.
I'm going to fool around with .NET and find a way to save the bitmap to a PNG file, will try it this weekend.
Screen[] If you have a multiple screen setup you must specify which or all screens to capture the image as will as the the BitsPerPixel.
using (Bitmap captured = new Bitmap(bounds.Width, bounds.Height, format))
using (Graphics gdi = Graphics.FromImage(captured))
Bounds will tell the indicator to draw a rectangle and then you capture that area to create the image. Once you have captured the image then you can draw on the image any additional information you would like.
So if you have a Static screen (never changes from day to day) then you can avoid bringing Focus to a specific Form and just capture the same rectangle. The rectangle can be any size you want to specify. If you are concerned about band width then you may choose to capture just a small part of the screen.
captured.Save(publicFileName, ImageFormat.Png);
This would be an example of how you specify the file format.
What I have done is capture all the screens individually. Then manipulate the individual images and stack them vs having them side by side as is the Windows setup. I also replace the DOM with a blank rectangle and use that area to add additional notes to the image. It is very specific to what I wanted to accomplish and only works on the computer that it was written for. All this is done based upon the bar count for the fastest time frame therefor I capture every bar on every chart.
The advantage of bringing Focus to each Form before capturing would be that you would not be capturing this Big Mikes Trading website when the indicator fired the command to capture.
Forgot to add: If someone has already figured out how move from Form to Form and then do a check for the Period and Interval thereby knowing which Form to bring Focus to then it would be easy for me to convert my stuff for you. By doing this I can code an indicator that says: 1) Entry signal issued, 2) Capture the 5 Minute Chart, 3) save the chart. Then all that is left is mailing the Attachment.
Here is a sample picked at random of my automated screen capture. It is the 3rd image captured on July 13, 2009. On the very bottom right corner you will see where I added the File Name to the Image on Top of the Slider Bar. The White rectangle is where I remove the DOM from the image.
'What I want to do is even easier. I have one small chart. That's all I want. I'm viewing these on an iphone so it has to be as small as possible. and as fast as possible.