NexusFi: Find Your Edge


Home Menu

 





An alert that will talk to me during the day with trade questions, help?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 8 posts (6 thanks)
    2. looks_two aligator with 7 posts (4 thanks)
    3. looks_3 hector24 with 6 posts (0 thanks)
    4. looks_4 ThatManFromTexas with 5 posts (4 thanks)
      Best Posters
    1. looks_one monpere with 2.3 thanks per post
    2. looks_two Fat Tails with 0.8 thanks per post
    3. looks_3 ThatManFromTexas with 0.8 thanks per post
    4. looks_4 aligator with 0.6 thanks per post
    1. trending_up 10,921 views
    2. thumb_up 25 thanks given
    3. group 9 followers
    1. forum 35 posts
    2. attach_file 4 attachments




 
Search this Thread

An alert that will talk to me during the day with trade questions, help?

  #11 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,621 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,994


hector24 View Post
Aligator tried to download indicator and got error message. Picture attached: error message - hector24's library
I am not quite sure how the procedures work. I don't know what you mean by unzipping twice because it tells me that I already have the same indicator and if I want to overwrite it. Sorry for my ignorance but I am not at all any type of computer savvy person.

Thanks Hector

I have no idea what you are doing. The zipped package includes a zipped indicator and the sound files. So you have to unzip the package first to separate the files. Then unzip the indicator zip file. Then import to NT. I have no issues with installation.

I have attached separate file here that you can install as follows:

1. Copy and paste the .cs file into tour bin/custom/indicator folder first, then edit an indicator (no change) and compile.
2. Copy and paste the sound files into your Ninja Sounds folder.

Then, apply the indicator, it should work.

Edit: for some reason the .wav sound files will not upload here. Just unzip your original download and use the sound files.

Edit: I did actually use ATT lab to record almost your exact 4 alerts text for these sound files.

Attached Files
Elite Membership required to download: mahTimeAlerts.cs
Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
 
  #12 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,372

Here's how I do it.

 
Code
using System.Speech.Synthesis;    //Needs System.Speech.dll.  Search for System.Speech.dll on your system, then (Right Click->References->Add->C:\WINDOWS\...\System.Speech.dll")

SpeechSynthesizer Voice = new SpeechSynthesizer();

protected override void OnBarUpdate() {
  if ( FirstTickOfBar ) {
    Voice.SpeakAsync(Instrument.MasterInstrument.Name +" New Bar");
  }
}

Reply With Quote
Thanked by:
  #13 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,621 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,994



Fat Tails View Post
The solution suggested by @Zondor is certainly more elegant. You type the text into your indicator and it is converted to an audio file, when the alert is triggered. The advantage of this approach is that it is pretty easy to change the text for the alert files.

@Fat Tails,

Agree, it is more elegant. However, can't see it being easier if it involves editing the indicator. I go for anything short of editing the indicator, like just changing an audio file's name that I want to play to the name that is already in the indicator.

Using ATT to make audio files is so easy. Wish they had more inspiring voices

Visit my NexusFi Trade Journal Reply With Quote
  #14 (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,103


aligator View Post
@Fat Tails,

Agree, it is more elegant. However, can't see it being easier if it involves editing the indicator. I go for anything short of editing the indicator, like just changing an audio file's name that I want to play to the name that is already in the indicator.

Using ATT to make audio files is so easy. Wish they had more inspiring voices

You do not need to edit the indicator for anyone of the two code samples. If you use a text, you may type it directly into the indicator dialogue box. If you use a wave file, simply change its name via indicator dialogue.

For the wave file option you can have a look at the code of the SuperTrendM11 which is in the download section.

Reply With Quote
Thanked by:
  #15 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

The great advantage of text to speech alerts is that they can tell you what chart the indicator is on, including the instrument name, and the type and duration of the bars. (Would be even better if we could also identify what workspace the chart is in, but I don't think that information can be accessed programatically.)

With a pre-recorded sound file you generally will have no idea what chart or what indicator condition the sound is coming from.

An example of a text to speech message that fixes these problems:

"MACD upper band violation on the 450 tick chart of the ES".

It really is not practical to do this with pre recorded sound files, unless you want to have unique code and record a different file for each indicator on each chart. That would be a lot of furniture to keep track of. That's ok as long as you put casters on all of them.

I think I posted a Talking Trend Line indicator in the Teaching to Talk thread that shows how to do this stuff.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #16 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,372


Zondor View Post
The great advantage of text to speech alerts is that they can tell you what chart the indicator is on, including the instrument name, and the type and duration of the bars. (Would be even better if we could also identify what workspace the chart is in, but I don't think that information can be accessed programatically.)

With a pre-recorded sound file you generally will have no idea what chart or what indicator condition the sound is coming from.

An example of a text to speech message that fixes these problems:

"MACD upper band violation on the 450 tick chart of the ES".

It really is not practical to do this with pre recorded sound files, unless you want to have unique code and record a different file for each indicator on each chart. That would be a lot of furniture to keep track of. That's ok as long as you put casters on all of them.

I think I posted a Talking Trend Line indicator in the Teaching to Talk thread that shows how to do this stuff.

Sound files are so antiquated. I don't understand why people are still using them when you have text to speech where you can customize and speak any phrase on the fly just by programatically building a string.

The way I use text to speech, I almost don't have to look at my charts anymore. I can have messages that tell me "CL divergence forming, near pivot level R3, a short trade will trigger at the close of the current bar". So I can actually be in another room, and only get back to the screen when I here such an alert.

Reply With Quote
  #17 (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,103


monpere View Post
Sound files are so antiquated. I don't understand why people are still using them when you have text to speech where you can customize and speak any phrase on the fly just by programatically building a string.

The synthetic voices installed with Windows are awful. Does anybody know, how to install a different voice?

Reply With Quote
Thanked by:
  #18 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,372


Fat Tails View Post
The synthetic voices installed with Windows are awful. Does anybody know, how to install a different voice?

I think 'Microsoft Anna', available by defalut on Vista and Windows 7, sounds pretty natural. Here are samples of what it soundls like: Microsoft Anna is Windows Vista and Windows 7 Text to Speech voice

You can choose that voice by going to text-to-speech in the windows control panel, or by doing the following:

using System.Speech.Synthesis;
SpeechSynthesizer Voice = new SpeechSynthesizer();
...
Voice.SelectVoice("Microsoft Anna");
Voice.SpeakAsync("Testing, 1 2 3");

Reply With Quote
  #19 (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,103


monpere View Post
I think 'Microsoft Anna', available by defalut on Vista and Windows 7, sounds pretty natural. Here are samples of what it soundls like: Microsoft Anna is Windows Vista and Windows 7 Text to Speech voice

You can choose that voice by going to text-to-speech in the windows control panel, or by doing the following:

using System.Speech.Synthesis;
SpeechSynthesizer Voice = new SpeechSynthesizer();
...
Voice.SelectVoice("Microsoft Anna");
Voice.SpeakAsync("Testing, 1 2 3");

Thank you, I will try this. I have recently used ATT's Crystal. I think Crystal has a better voice.

But the future - after the next voice release - should be with creating the messages on the fly instead of using sound files.

Reply With Quote
  #20 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,621 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,994



Fat Tails View Post
The synthetic voices installed with Windows are awful. Does anybody know, how to install a different voice?

The voice of Amy from Ivona text to speech is the most clear. All MS voices sound awful, agree.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on July 3, 2012


© 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