Prg to upload image snaps of a NT chart (Page 2) - NinjaTrader | futures.io
futures.io futures trading
 

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader


Prg to upload image snaps of a NT chart
Started:October 8th, 2016 (09:49 PM) by aquarian1 Views / Replies:1,036 / 16
Last Reply:October 13th, 2016 (12:23 PM) Attachments:1

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike
     

Reply
 1  
 
Thread Tools Search this Thread

Prg to upload image snaps of a NT chart

Old October 9th, 2016, 05:26 PM   #11 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 45,547 since Jun 2009
Thanks: 28,886 given, 80,161 received

Just use chart minder to capture the screen every 'x' seconds or whatever interval.

Then you can write a very simple script to just upload the most recent .png to your website (ftp for example).

On the HTML side, you can do a very crude meta http refresh to see the new image. Make sure you set all meta headers to disable caching if you aren't changing the filename, but just overwriting.

Obviously, far more complex solutions exist such as inline refresh via AJAX, or pushing directly from NT via a socket instead of scripting.

vvhg's solution has the built-in upload already there. Not sure about ratfinks.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

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

Old October 9th, 2016, 05:38 PM   #12 (permalink)
Market Wizard
Birmingham UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
 
ratfink's Avatar
 
Posts: 2,910 since Dec 2012
Thanks: 9,240 given, 5,659 received
Forum Reputation: Legendary


Big Mike View Post
Just use chart minder to capture the screen every 'x' seconds or whatever interval.

Then you can write a very simple script to just upload the most recent .png to your website (ftp for example).

On the HTML side, you can do a very crude meta http refresh to see the new image. Make sure you set all meta headers to disable caching if you aren't changing the filename, but just overwriting.

Obviously, far more complex solutions exist such as inline refresh via AJAX, or pushing directly from NT via a socket instead of scripting.

vvhg's solution has the built-in upload already there. Not sure about ratfinks.

Mike

The built-in uploads for both are FIO API specific.

I don't think vvhg's saved files on disk but CM does, so the FTP route works. I would probably add an option to allow same filename re-use instead of always creating a new time-stamped name.

As it happens I created a new version this weekend for a different user's 3rd party requirement that also allows arbitrary region/monitor grabbing so that would fit nicely. Release due this week.

Cheers

Travel Well
Reply With Quote
     
The following 2 users say Thank You to ratfink for this post:
     

Old October 9th, 2016, 06:07 PM   #13 (permalink)
Elite Member
London, UK
 
Futures Experience: Intermediate
Platform: NinjaTrader, Julia
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 644 since Aug 2009
Thanks: 314 given, 593 received


Having the upload sorted (eg. with FTP) on the rendering side you could use this approach:
https://github.com/jbochi/gifstreaming

Reply With Quote
     
The following user says Thank You to gregid for this post:
     

Old October 9th, 2016, 06:10 PM   #14 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 2,200 since Dec 2010
Thanks: 696 given, 970 received


ratfink View Post
Means I found it really funny, I knew exactly what you meant the first time around but remembered when we used to fight over climate crap.

Best Wishes for the new project!

Cheers

Yes we did a little dance on the environment.
(pretty imp stuff to me and not a dog-towel-tussel area)

Cheers

Good trading to everyone.
Reply With Quote
     
The following user says Thank You to aquarian1 for this post:
     

Old October 9th, 2016, 06:23 PM   #15 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 2,200 since Dec 2010
Thanks: 696 given, 970 received

Futures Edge on FIO
Here is what I have found so far.

It sounds as if it might do the job (reply 3 with the VBscript) but of course I don't know VBscript

Would this do the job?
-------------------the question -------------
"automatic screen capture + ftp?

I'm looking for a program that will take a screenshot at a specified interval and then upload that file to a ftp location. I've looked and after installing 8 different ones claiming to do what i'm looking for, i decided to come here and ask if someone knows a program that will do just that. i found one that is 500$ and that's way too much if you ask me.

thanks "
automatic screen capture + ftp? | Overclockers Forums
-------the reply ------------
"You are looking for 2 things, which are both freely available. This would be easier with open source software than it would be on windows, but its possible with simple scripts in windows with scheduled tasks.

Here is what you need:

1. save screenshot to a directory at set intervals
2. transfer files in a directory via ftp at set intervals
" continued...
automatic screen capture + ftp? | Overclockers Forums

Good trading to everyone.
Reply With Quote
     

Old October 9th, 2016, 07:25 PM   #16 (permalink)
Market Wizard
Birmingham UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
 
ratfink's Avatar
 
Posts: 2,910 since Dec 2012
Thanks: 9,240 given, 5,659 received
Forum Reputation: Legendary


aquarian1 View Post
Here is what you need:

1. save screenshot to a directory at set intervals
2. transfer files in a directory via ftp at set intervals

Yes, that's basically the approach I think would fit best but forget VB (I don't know it either.) I think maybe ChartMinder (but I may need to add the same filename option) and try Fling or similar for the FTP side.

Assumes you have a website setup and password credentials that you can use for normal website upload/updates.

I'm assuming Fling (or similar) can trigger just on detection of a new Windows directory/file modified timestamp.

New release due of CM can take images from any monitor/region independent of NT chart but might still be worth you looking at Jing or similar in case one of the commercial (and often free entry-level) products already has a built-in non NT dependent offering anyway.

We'll have a look this week. I'm best side of a decent Cab Sauv and some good telly. FIO rocks. I've got new socks.

Cheers

Travel Well
Reply With Quote
     
The following user says Thank You to ratfink for this post:
     

Old October 13th, 2016, 12:23 PM   #17 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 2,200 since Dec 2010
Thanks: 696 given, 970 received

mp4 better?

So far I've

uploaded screensnaps with ShareX 11.3 and made the meta refresh page (both set for 5 sec intervals)


This morning I used ShareX to capture 10sec of screen action (I.mp4). The png shows as the same size 194kb

So I'm wondering about uploading 10 sec mp4 clips and then somehow have the webpage play those.

Is this a better way to go?

(I want to have a system where the screensnaps or mp4 are at the web server and served from there - not where the webserver is just a connecting link to my local machine (which is how I think the video conferencing works?)

Good trading to everyone.
Attached Thumbnails
Prg to upload image snaps of a NT chart-capture.png  
Reply With Quote
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > Prg to upload image snaps of a NT chart

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to upload image from e-signal? Zentrader2010 Tech Support 1 October 5th, 2015 06:50 AM
Sierra Chart auto upload screenshot to bmcharts.com Big Mike Sierra Chart 35 November 6th, 2013 09:04 PM
Vix snaps back from rare lows kbit News and Current Events 0 September 26th, 2012 07:16 PM
Multichart publishing a image of chart bomberone1 EasyLanguage Programming 2 July 23rd, 2011 06:24 AM
NT 6.5 issue - image sometimes stays on screen after I close NT window Todd The Elite Circle 11 March 19th, 2010 10:14 AM


All times are GMT -4. The time now is 11:59 AM.

Copyright © 2016 by 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 2016-12-08 in 0.13 seconds with 34 queries on phoenix via your IP 54.163.94.5