NexusFi: Find Your Edge


Home Menu

 





Using different wav files


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one meyer99 with 4 posts (0 thanks)
    2. looks_two Fat Tails with 2 posts (6 thanks)
    3. looks_3 sam028 with 2 posts (4 thanks)
    4. looks_4 Big Mike with 1 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 3 thanks per post
    2. looks_two sam028 with 2 thanks per post
    3. looks_3 MXASJ with 2 thanks per post
    4. looks_4 bukkan with 1 thanks per post
    1. trending_up 15,325 views
    2. thumb_up 13 thanks given
    3. group 6 followers
    1. forum 12 posts
    2. attach_file 3 attachments




 
Search this Thread
  #11 (permalink)
 
sam028's Avatar
 sam028 
Site Administrator
 
Posts: 3,767 since Jun 2009
Thanks Given: 3,836
Thanks Received: 4,691


Fat Tails View Post
No, you just need to edit the indicator, replace the .wav file with another .wav file. Make sure that all .wav files that you want to use are located in the program directory of NinjaTrader, subdirectory sounds.

Ninjatrader 7.0 cannot handle all types of .wav files, MPEG format needs to be converted to PCM with an audio recorder. There is no similar problem with NinjaTrader 6.5 .

Hmm, no, or I don't understand your very very bad english .

The line:
alertFileName=Instrument.MasterInstrument.Name.ToString()+".wav";will read a file named "ES.wav" if the indicator is runs on an ES chart, "TF.wav" if it a TF chart, etc.
So no need to change this line, you just need to create and add ES.wav, TF.wav, ..., in the NT sounds directory.

Maybe this is what you have understood, but as I'm not 100% sure...


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
No book, only a stair: journaling fills where price move …
Cryptocurrency
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
Daytrading to swingtrading
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Denied 20K payouts: Alpha Futures
2 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #12 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


sam028 View Post
Hmm, no, or I don't understand your very very bad english .

The line:
alertFileName=Instrument.MasterInstrument.Name.ToString()+".wav";will read a file named "ES.wav" if the indicator is runs on an ES chart, "TF.wav" if it a TF chart, etc.
So no need to change this line, you just need to create and add ES.wav, TF.wav, ..., in the NT sounds directory.

Maybe this is what you have understood, but as I'm not 100% sure...

Thanks for the hint. I was wrong and have modified my post. It really depends on how this is to be used. If it is for a fixed workspace, nothing is to be done. If you want to toggle all the times between instruments with changing sounds, then the code needs to be changed.


Reply With Quote
Thanked by:
  #13 (permalink)
 
Trafford's Avatar
 Trafford 
London, England
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus Futures/Zen-Fire
Trading: EUR
Posts: 337 since Sep 2010
Thanks Given: 378
Thanks Received: 229


Is there a way to modify this tool so that it applies to an indicator panel . For instance I wanted to add it to Buy SellVOL ASZ indicator so that when it goes over a certain Volume I get an alert.

Thanks

Trafford


Reply With Quote




Last Updated on October 26, 2010


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts