• 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

How to Save a Chart from within a script?

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

    How to Save a Chart from within a script?

    Hi Guys & Gals

    I need a solution to to the following:

    1. Print Bars from 09:00 to 12:00 on the chart
    2. Save the Chart to a folder, or even better upload to a fileserver by FTP
    3. Go to the next day in time and do the same again

    Havy stuff hu?

    Any suggestions?

    Thanks and happy weekend!

    #2
    Hello esatino,

    You may view the following thread that has a reference on how to write to a file that you may use to write your Bar values that you wish to view to a specific file and view them later.
    http://www.ninjatrader.com/support/f...ead.php?t=3477
    JCNinjaTrader Customer Service

    Comment


      #3
      Originally posted by esatino View Post
      Hi Guys & Gals

      I need a solution to to the following:

      1. Print Bars from 09:00 to 12:00 on the chart
      2. Save the Chart to a folder, or even better upload to a fileserver by FTP
      3. Go to the next day in time and do the same again

      Havy stuff hu?

      Any suggestions?

      Thanks and happy weekend!
      You could setup some code to email the chart to yourself at 12:00.

      There is no logic to save the chart at the time.

      You could also google how to take a screen shot in C#, and then google how to upload via FTP in C#.

      I wrote up some stuff in Java.

      You could always use cURL to do a command line HOST type command in C# of the image you saved, which would make it even more simpler to FTP upload.

      Comment


        #4
        Thank you

        Hi Guys

        Thank you for your help with this issue.

        I will try these and come back with it when i have a working solution.
        ...may take a while

        Cheers and save Trading

        Comment


          #5
          Did you get anywhere and did you post your findings?

          Thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mohdhm, Today, 04:09 PM
          0 responses
          1 view
          0 likes
          Last Post mohdhm
          by mohdhm
           
          Started by BGWTEX, Today, 03:30 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by marekflys, Today, 03:07 PM
          0 responses
          5 views
          0 likes
          Last Post marekflys  
          Started by GregoryBaskin, Today, 02:51 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Tyler  
          Started by swcooke, Today, 12:33 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X