NexusFi: Find Your Edge


Home Menu

 





Prg to upload image snaps of a NT chart


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one aquarian1 with 6 posts (2 thanks)
    2. looks_two ratfink with 5 posts (7 thanks)
    3. looks_3 Big Mike with 3 posts (4 thanks)
    4. looks_4 gregid with 2 posts (3 thanks)
      Best Posters
    1. looks_one gregid with 1.5 thanks per post
    2. looks_two ratfink with 1.4 thanks per post
    3. looks_3 Big Mike with 1.3 thanks per post
    4. looks_4 aquarian1 with 0.3 thanks per post
    1. trending_up 9,526 views
    2. thumb_up 16 thanks given
    3. group 2 followers
    1. forum 16 posts
    2. attach_file 1 attachments




 
Search this Thread

Prg to upload image snaps of a NT chart

  #11 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599

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

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
23 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
9 thanks
  #12 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425


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
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #13 (permalink)
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623


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

Reply With Quote
Thanked by:
  #14 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593


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

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #15 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

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

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #16 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425


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
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #17 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

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?)

..........
peace, love and joy to you
.........
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	158
Size:	12.5 KB
ID:	218913  
Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on October 13, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts