• 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

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 linacesaro, Today, 09:17 PM
          0 responses
          3 views
          0 likes
          Last Post linacesaro  
          Started by n8dogg59, Today, 06:55 AM
          2 responses
          17 views
          0 likes
          Last Post n8dogg59  
          Started by pstrusi, Today, 03:29 PM
          2 responses
          10 views
          0 likes
          Last Post pstrusi
          by pstrusi
           
          Started by ntbone, Today, 03:06 PM
          0 responses
          4 views
          0 likes
          Last Post ntbone
          by ntbone
           
          Started by AMATX, Today, 01:43 PM
          2 responses
          9 views
          0 likes
          Last Post AMATX
          by AMATX
           
          Working...
          X