Using different wav files - Traders Hideout | futures io social day trading
futures io futures trading


Using different wav files
Updated: Views / Replies:4,942 / 12
Created: by meyer99 Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 3  
 
Thread Tools Search this Thread
 

Using different wav files

  #1 (permalink)
Elite Member
Charlotte NC
 
Futures Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker/Data: TOS
Favorite Futures: CL, ES, ZN, ZB, RUT.
 
Posts: 227 since Jul 2009
Thanks: 98 given, 119 received

Using different wav files

I am using the label ray line alerts indicator. The alert4.wav is coded in the script. Is there a way to change the wav so that I can use different sounds for different contracts?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,351 given, 83,221 received

Answer
This post has been selected as an answer to the original posters question Answer


Your would need to change the indicator code to append the instrument name to the end of the wav file, for instance.

Post the code and someone can do it most likely.

Sent via tapatalk on my DROID X

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #4 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received


meyer99 View Post
I am using the label ray line alerts indicator. The alert4.wav is coded in the script. Is there a way to change the wav so that I can use different sounds for different contracts?

you can use System.Speech of the .net framework. there has been works in these lines here at futures.io (formerly BMT). search a bit you will get a solution.

edit: see this thread https://futures.io/ninjatrader-programming/4171-lets-teach-ninjatrader-how-talk.html

Reply With Quote
The following user says Thank You to bukkan for this post:
 
  #5 (permalink)
Elite Member
Charlotte NC
 
Futures Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker/Data: TOS
Favorite Futures: CL, ES, ZN, ZB, RUT.
 
Posts: 227 since Jul 2009
Thanks: 98 given, 119 received

Mike,
Here is the code.

Attached Files
Register to download File Type: zip LabelRayLineAlerts (1).zip (4.4 KB, 104 views)
Reply With Quote
 
  #6 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received

Answer
This post has been selected as an answer to the original posters question Answer

I don't know what this indicator is doing, but just change alertFileName value in OnBarUpdate():

 
Code
                            
...

        
/// </summary>
        
protected override void OnBarUpdate()
        {
            
int j ;
            
String beginMessage Instrument.FullName " - Ray Line Price Triggered on " ;

            
alertFileName=Instrument.MasterInstrument.Name.ToString()+".wav";
    
            
            
// Determine the Period Value
            
switch ( BarsPeriod.Id )
... 
and create one .wav for each instrument (TF.wav, YM.wav, ...).
Not tested.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #7 (permalink)
Elite Member
Charlotte NC
 
Futures Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker/Data: TOS
Favorite Futures: CL, ES, ZN, ZB, RUT.
 
Posts: 227 since Jul 2009
Thanks: 98 given, 119 received

Wav

Sam,
Thank you. I have no experience writing code.
So were it says ".wav" I replace it with YM.wav? Where do I put the sound file named YM?

What about the other section in red and in " "? Do I need to replace that with anything?

Reply With Quote
 
  #8 (permalink)
Elite Member
Asia
 
Futures Experience: Beginner
Platform: NinjaTrader, TOS
 
Posts: 798 since Jun 2009
Thanks: 109 given, 786 received

Answer
This post has been selected as an answer to the original posters question Answer

With NT7 (not sure about 6.5) it will look for unqualified wav files in the default sounds directory, which is c:\\Program Files\Ninja Trader 7\Sounds.

So you can use "*.wav" in that code where * indicates the actual file name.

If your wav files are somewhere else, you would need to add the whole path.

If you want to play around first, custom sound file triple_klaxon.wav is attached. Copy it to the directory mentioned above and then substitute the filename "triple_klaxon.wav" in your indicator to see how it works.

As you become more comfortable with using custom wav files, Google "ATT Text To Speech" to generate fixed, spoken phrases, and "Audicity" to edit wav files. The second attachment was generated by the ATT app and is a good example of a fixed, spoken phrase. Download them and play them with Windows Media Player to hear what they sound like.

You can also overwrite the defaults to enhance the user experience.

Attached Files
Register to download File Type: zip audrey_data_delay.zip (60.2 KB, 59 views)
Register to download File Type: zip triple_klaxon.zip (64.7 KB, 67 views)

Last edited by MXASJ; October 21st, 2010 at 07:55 AM. Reason: Attached wav files as zips as you can't upload wav files.
Reply With Quote
The following 2 users say Thank You to MXASJ for this post:
 
  #9 (permalink)
Elite Member
Charlotte NC
 
Futures Experience: Advanced
Platform: Charts:Ninja Trader w/IB, execution:TOS
Broker/Data: TOS
Favorite Futures: CL, ES, ZN, ZB, RUT.
 
Posts: 227 since Jul 2009
Thanks: 98 given, 119 received

Thank you. I was going to use ATT sounds. I just need to make sure now that I do not ruin the code. So all is needed is to add the wav name. Nothing else to change on code?

Reply With Quote
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer



meyer99 View Post
Thank you. I was going to use ATT sounds. I just need to make sure now that I do not ruin the code. So all is needed is to add the wav name. Nothing else to change on code?

I have installed that file now. Essentially you do not need to do any thing, because you can select the wave file via indicator dialogue. If you apply that indicator to an ES chart, simply type the name of the sound file that you want to use. For 6E just type in the name of another soundfile.

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 .


Last edited by Fat Tails; October 21st, 2010 at 12:11 PM. Reason: Have now tested the indicator and modified the answer
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:

Reply



futures io > > > Using different wav files

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other]       Sound files Saroj Platforms and Indicators 19 December 23rd, 2015 04:09 AM
A great way to create customer Alert.wav HJay Traders Hideout 0 August 29th, 2009 08:57 AM
ADXVMA for Sharky - Could alert code be added with fields for wav files? Todd NinjaTrader 2 June 23rd, 2009 12:24 PM


All times are GMT -4. The time now is 11:06 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-13 in 0.12 seconds with 38 queries on phoenix via your IP 54.227.51.103