• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can Wav file be activated when order entry hot key is pressed?

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

    Can Wav file be activated when order entry hot key is pressed?

    Hi,


    I use 2 order entry hot keys for buy bid (Alt +1) and sell bid (Alt +5) when initiating a position. I want to connect a Wav file that says "Long" when the buy bid hot key is pressed and "Short" when the sell bid hot key is pressed. Is there a checkbox that I'm missing somewhere that can enable this type of alert or otherwise accomplish this?



    Thanks for your help

    #2
    Hello Trader2020,

    Playing a sound when a hot key is pressed along with other actions such as placing orders is not a feature of NinjaTrader.

    You could change the sound for when an order fills, however. (Tools > Options > Sounds > Order filled)

    You could code this into an custom coded indicator.

    Attached is an example named PreventInstrumentOverlaySelectorWithTextBoxExample _NT8 that demonstrates detecting key presses.

    As well as a link to an indicator that uses this type of code to detect a combination of key presses (modifiers).
    https://ninjatraderecosystem.com/use...ket-internals/

    And a public link to the help guide on PlaySound().
    https://ninjatrader.com/support/help.../playsound.htm


    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Attached Files
    Last edited by NinjaTrader_ChelseaB; 04-16-2019, 11:50 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by corman, Today, 06:04 AM
    0 responses
    7 views
    0 likes
    Last Post corman
    by corman
     
    Started by brunoviveiros, Today, 06:00 AM
    0 responses
    4 views
    0 likes
    Last Post brunoviveiros  
    Started by JAtrades, Today, 05:20 AM
    4 responses
    10 views
    0 likes
    Last Post JAtrades  
    Started by pol133, Today, 02:35 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by timko, Today, 05:12 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X