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).
    This is a conversion of the NYSE TICK and Advance/Decline Market Internals developed and originally coded for the NinjaTrader 7 platform by monpere. Please contact the original author for any questions or comments.


    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 [email protected], 11-30-2011, 12:18 PM
    4 responses
    2,043 views
    0 likes
    Last Post mazpat_3  
    Started by csrkkalyan, Yesterday, 09:34 PM
    0 responses
    7 views
    0 likes
    Last Post csrkkalyan  
    Started by stafe, 04-15-2024, 08:34 PM
    2 responses
    20 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by fiddich, Yesterday, 05:25 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MattR, 11-07-2017, 08:36 PM
    8 responses
    4,433 views
    0 likes
    Last Post ilikerolls  
    Working...
    X