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 pechtri, 06-22-2023, 02:31 AM
    10 responses
    124 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Yesterday, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Yesterday, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Yesterday, 03:01 PM
    2 responses
    22 views
    0 likes
    Last Post helpwanted  
    Working...
    X