Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to create custom hotkeys with Ninjascript?

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

    Is it possible to create custom hotkeys with Ninjascript?

    Hi,

    I'm wondering if there is a way to custom code hotkeys. I need to rapidly calculate the prices and quantities of my orders based on OHLC prices of previous bars on a 1-minute chart. This doesn't seem to be possible with ATM strategies, however it would be quite easy to code in Ninjascript. Is there currently any way to do this?

    Thanks,
    Isaac

    #2
    Hello irochester,

    Thank you for your post.

    NinjaTrader does not offer any out-of-box NinjaScript code for detecting key presses, so this would have to be done with traditional C# and would be mostly outside the scope of what we would be able to provide support for. However, we do have a Chart Notes indicator that incorporates timers and uses Regex to detect key presses that could provide some further direction for rolling your own key detection.

    A1ChartNotes NT8 - https://ninjatraderecosystem.com/use.../a1chartnotes/

    Please let us know if we can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X