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 JoMoon2024, Today, 06:56 AM
          0 responses
          6 views
          0 likes
          Last Post JoMoon2024  
          Started by Haiasi, 04-25-2024, 06:53 PM
          2 responses
          17 views
          0 likes
          Last Post Massinisa  
          Started by Creamers, Today, 05:32 AM
          0 responses
          5 views
          0 likes
          Last Post Creamers  
          Started by Segwin, 05-07-2018, 02:15 PM
          12 responses
          1,786 views
          0 likes
          Last Post Leafcutter  
          Started by poplagelu, Today, 05:00 AM
          0 responses
          3 views
          0 likes
          Last Post poplagelu  
          Working...
          X