Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by 309338, Today, 12:06 PM
    0 responses
    3 views
    0 likes
    Last Post 309338
    by 309338
     
    Started by AaronKoRn, Yesterday, 08:38 PM
    2 responses
    49 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by rocketstock, 08-05-2022, 09:36 PM
    2 responses
    73 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by ronyggg83, Yesterday, 03:48 PM
    4 responses
    49 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by preqc, 08-05-2022, 09:10 AM
    1 response
    35 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X