Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
Posts: 3,424 since Aug 2010
Thanks: 1,052 given,
Forum Reputation: Legendary
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.
Last edited by aligator; June 26th, 2012 at 11:34 AM.
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.
The following 2 users say Thank You to Fat Tails for this 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.
The following 3 users say Thank You to Zondor for this 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 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.
Last edited by monpere; June 27th, 2012 at 12:36 AM.
The following 3 users say Thank You to monpere for this post: