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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X