Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Windows has text to speech capability that can be used by NinjaTrader. That means that instead of having a bunch of indicators that play back humorous but meaningless and confusing .wav files, your indicators can recite text that can be controlled programatically and/or entered by the user.
As an example, when a trendline gets violated, instead of a doorbell, you could have a synthetic voice saying something like " Rising trendline for CL hyphen zero eight hyphen ten contract crossed at price of seventy six point seven five at nine zero five A M".
I will post some more code showing how to use this and hopefully we can get a discusssion going here about how to enable the functionality and how to use it. I see this as an extremely valuable feature.
If you have a favorite indicator that gives signals based on programmatic conditions such as crossovers, and you want it to give SPOKEN alerts that can include things like the instrument name and a recitation of the condition that was met, let me know and I will consider adding voice alerts to it. Especially if I can see that it's a popular indicator.
I also request that anyone who has any thoughts on this topic post them here. I think this has HUGE potential !!!
On the NT Forums, Roonius posted a sample indicator that gives spoken alerts when two ma's cross over or under each other. I made a few changes to highlight the text to speech capability a little more. Here is the cs file.
Before installing it you must do the following to enable the text to speech capability within Ninjatrader.
Find the file, System.Speech.dll. It is located in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0. Just note where it is.
Open ANY indicator for editing in the Ninjascript editor. Right click anywhere in the intellisense editor window and select References from the context menu.
Click the add button. A file chooser dialog box will open. Navigate to, and select, the System.Speech.dll file.
Now install the attached cs file. If you set the EMA's to very fast values you will get a lot of crossovers that will trigger the speech alerts.
TimmyB suggested two indicators that are great candidates for voice alerts: The Tick Molester and jtEconNews. I mentioned this to the creators of both of those fine indicators.
Zondor and I only use NT7 and will not be developing anything for 6.5. Some are back compatible and will work 6.5. However, we encourage others still using 6.5 to post speaking modifications here.
Thank you Sam for posting this 6.5 version.
Once the new downloads module is functional I will start collection indicators and posting them.
R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
if (soundF == soundEnumF.Checkout) soundFileF="Alert2.Wav"; if (soundF == soundEnumF.Doorbell) soundFileF="Alert4.Wav"; if (soundF == soundEnumF.Klaxon) soundFileF="Alert1.Wav"; if (soundF == soundEnumF.Revolver) soundFileF="Alert3.Wav"; if (soundF == soundEnumF.AustinPowers) soundFileF="austin_mail.Wav"; if (soundF == soundEnumF.GoodBadUgly) soundFileF="gbu.Wav";
if (soundR == soundEnumR.Checkout) soundFileR="Alert2.Wav"; if (soundR == soundEnumR.Doorbell) soundFileR="Alert4.Wav"; if (soundR == soundEnumR.Klaxon) soundFileR="Alert1.Wav"; if (soundR == soundEnumR.Revolver) soundFileR="Alert3.Wav"; if (soundR == soundEnumR.AustinPowers) soundFileR="austin_mail.Wav"; if (soundR == soundEnumR.GoodBadUgly) soundFileR="gbu.Wav";