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 11,470 views
    2. thumb_up 13 thanks given
    3. group 6 followers
    1. forum 12 posts
    2. attach_file 3 attachments




 
Search this Thread

Using different wav files

  #11 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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)
Follow me on Twitter Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Futures True Range Report
The Elite Circle
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #12 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts