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.
    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 judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          59 views
          0 likes
          Last Post DynamicTest  
          Started by ScottWalsh, Today, 06:52 PM
          4 responses
          36 views
          0 likes
          Last Post ScottWalsh  
          Started by olisav57, Today, 07:39 PM
          0 responses
          7 views
          0 likes
          Last Post olisav57  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          21 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          10 views
          0 likes
          Last Post cre8able  
          Working...
          X