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 algospoke, Yesterday, 06:40 PM
      2 responses
      19 views
      0 likes
      Last Post algospoke  
      Started by ghoul, Today, 06:02 PM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jeronymite, 04-12-2024, 04:26 PM
      3 responses
      45 views
      0 likes
      Last Post jeronymite  
      Started by Barry Milan, Yesterday, 10:35 PM
      7 responses
      21 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      181 views
      0 likes
      Last Post jeronymite  
      Working...
      X