• 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 pmmkm, Yesterday, 11:13 PM
          0 responses
          3 views
          0 likes
          Last Post pmmkm
          by pmmkm
           
          Started by pulpiwapi, 03-04-2019, 11:18 PM
          11 responses
          149 views
          0 likes
          Last Post music_p13  
          Started by indy73, 06-25-2019, 10:52 PM
          3 responses
          20 views
          0 likes
          Last Post sledge
          by sledge
           
          Started by priceisking, Yesterday, 12:51 PM
          1 response
          23 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Started by chartish, Yesterday, 10:33 AM
          3 responses
          30 views
          0 likes
          Last Post chartish  
          Working...
          X