Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Save chart to image with script

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

    Save chart to image with script

    Hi,

    Is it possible to save a chart to an image with a strategy script? Which commands should I use?
    The reason is that I want to see on my smartphone how the chart and prices every minute are.
    I read some posts from years ago and saw it was not possible at that time. Is it made possible in the meantime ?

    TIA.

    #2
    Hi trail, thanks for checking in, this would not be included per default yet, however I recall this custom script from the sharing which should give you a direction to work in for that - http://www.ninjatrader.com/support/f...d=6&linkid=377
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by trail View Post
      Hi,

      Is it possible to save a chart to an image with a strategy script? Which commands should I use?
      The reason is that I want to see on my smartphone how the chart and prices every minute are.
      I read some posts from years ago and saw it was not possible at that time. Is it made possible in the meantime ?

      TIA.
      Do you plan to use dropbox or something similar?

      Anyways , this is all c# for capturing a screen image.

      You might have might fun using teamviewer or another remote desktop to your phone.

      Comment


        #4
        @ Betrand:
        Thanks for the link. I will try this solution.

        @ sledge,
        If you know an easy way to do this in C#, I would love to know that.
        I don't want to use Teamviewer in this case. I know the possibilities and use it a lot.
        But in this case I want a light solution. I have an Android-app for my Screen Locker. In that screen locker I want 1 or more charts that are updated every 5 minutes or so (to Dropbox or something).
        So whenever I want I can see in just 1 click on my Android the chart in the lockscreen (without more clicking and navigating etc.). In that way my Android doesn't consume much data and battery.

        Comment


          #5
          Hi Bertrand,

          I've had a look at that sample.
          But that's a lot of code, also to email the screenshot. which I don´t need.

          Could you give me some advise about which elements at which places I have to use in my strat to simply save the screenshot somewhere to a file?
          TIA

          Comment


            #6
            Never mind, got something working now.
            When I have further questions I'll be back ;-)
            Thanks.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jxs_xrj, 01-12-2020, 09:49 AM
            6 responses
            3,290 views
            1 like
            Last Post jgualdronc  
            Started by Touch-Ups, Today, 10:36 AM
            0 responses
            7 views
            0 likes
            Last Post Touch-Ups  
            Started by geddyisodin, 04-25-2024, 05:20 AM
            8 responses
            61 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Option Whisperer, Today, 09:55 AM
            0 responses
            8 views
            0 likes
            Last Post Option Whisperer  
            Started by halgo_boulder, 04-20-2024, 08:44 AM
            2 responses
            24 views
            0 likes
            Last Post halgo_boulder  
            Working...
            X