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 inanazsocial, Today, 01:15 AM
          0 responses
          2 views
          0 likes
          Last Post inanazsocial  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          22 views
          0 likes
          Last Post trilliantrader  
          Started by Davidtowleii, Today, 12:15 AM
          0 responses
          3 views
          0 likes
          Last Post Davidtowleii  
          Started by guillembm, Yesterday, 11:25 AM
          2 responses
          9 views
          0 likes
          Last Post guillembm  
          Started by junkone, 04-21-2024, 07:17 AM
          9 responses
          70 views
          0 likes
          Last Post jeronymite  
          Working...
          X