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

Can someone point out my mistake please

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

    Can someone point out my mistake please

    Please can someone point out why the following wav file will not play when the buy or sell lines are crossed...

    Thanks..
    Attached Files

    #2
    Hello mccallum28,

    Thank you for your post.

    You need to specify the exact file location with 'PlaySound().

    For example, PlaySound(@"C:\mySound.wav");

    If your ABC_Trade_Entry_Short_ES4Renco.wav or ABC_Trade_Entry_Long_ES4Renco.wav is in the NinjaTrader\sounds directory, please specify the exact path:

    Code:
    PlaySound(@"C:\Program Files (x86)\NinjaTrader 7\sounds\ABC_Trade_Entry_Short_ES4Renco.wav");
    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gravdigaz6, Today, 11:40 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Today, 10:49 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by XXtrader, Today, 11:30 PM
    0 responses
    4 views
    0 likes
    Last Post XXtrader  
    Started by love2code2trade, Yesterday, 01:45 PM
    4 responses
    28 views
    0 likes
    Last Post love2code2trade  
    Started by funk10101, Today, 09:43 PM
    0 responses
    9 views
    0 likes
    Last Post funk10101  
    Working...
    X