Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Instrument Overlay Selector

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

    Instrument Overlay Selector

    Hello,

    In NT7, keyboard input to an in focus chart was restricted to Alpha, Numeric and Function keys, leaving most other keys available for script based Hotkey use.

    In NT 8 the Instrument Overlay Selector does not appear to have any character filtering so it accepts almost every keyboard input which results in just a very small number of keys available for script based Hotkeys.

    Is this intended behavior and if so, is there a suggested work around?

    Thanks

    #2
    Hello rt-trader,

    You can trigger a hot key from a script by using a custom event handler method with the PreviewKeyDown.

    I have created an example to demonstrate. This example requires that you click the panel that the indicator is in and hold shift and type a letter to trigger. (You could assign special keys to do certain actions, but this generally shows how to capture key presses and trigger an event without the overlay instrument selector appearing)
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      Thank you for your reply. I will try the PreviewKeyDown approach as you suggest. Thank you also for your example..

      Cheers

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Harry, 05-02-2018, 01:54 PM
      10 responses
      3,203 views
      0 likes
      Last Post tharton3  
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Started by ChartTourist, Today, 08:22 AM
      0 responses
      6 views
      0 likes
      Last Post ChartTourist  
      Started by LiamTwine, Today, 08:10 AM
      0 responses
      2 views
      0 likes
      Last Post LiamTwine  
      Started by Balage0922, Today, 07:38 AM
      0 responses
      5 views
      0 likes
      Last Post Balage0922  
      Working...
      X