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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X