Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SendKeys Use with NT8

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

    #16
    Originally posted by jhowinvest View Post
    I tried the converting bitmap code several ways with trial and error and could not get it to work.
    If you click on the link I provided in my previous post "BitmapImage Class", at the very bottom of that page it gives an exact C# example of how to create a BitmapImage, using that as the source to an Image, and than you just use that image as the btn.content..


    -=Edge=-
    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

    Comment


      #17
      It seems like the people in this thread may know the answer, so I'm posting here.

      I'm trying to change the interval by using SendKeys ("30m" to change to the 30 minute chart, for example)

      In NT8, I've managed to successfully call the following ("Ctrl+i", which opens the Indicator Properties dialog)

      PHP Code:
      System.Windows.Forms.SendKeys.SendWait("^i"); 
      However, when I try and send other keys, nothing seems to happen (such as "30m").

      Is there a keystroke to bring up the "change interval" box? Send the keys from a different context?

      If anyone can point me in the right direction, I'd really appreciate it!

      Comment


        #18
        Originally posted by neoikon View Post
        I'm trying to change the interval by using SendKeys ("30m" to change to the 30 minute chart, for example)

        In NT8, I've managed to successfully call the following ("Ctrl+i", which opens the Indicator Properties dialog)

        However, when I try and send other keys, nothing seems to happen (such as "30m").

        I could swear I was able to do this previously, but after just doing some tests, I am now experiencing the same thing you are..


        -=Edge=-
        NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

        Comment


          #19
          Originally posted by -=Edge=- View Post
          I could swear I was able to do this previously, but after just doing some tests, I am now experiencing the same thing you are..


          You have to bring up the "MiniInstrumentSelector" box first.

          The method is detailed in this thread:

          ref: http://ninjatrader.com/support/forum...d.php?p=411233

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,603 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          8 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          4 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          12 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X