Favorite Futures: Gameplay KlownbineŽ Trading of Globex
Posts: 1,276 since Jul 2009
Thanks: 1,227 given,
I don't exactly remember what Gomi's suggested fix was, but I tried it and it didn't work. You can use a Sync rather than Async call to the Speaker. THAT will make sure that only one talks at a time, but prevents ANYTHING else from happenng when the indicator is talking... Ninjatrader locks up until the speech ends. That can be very dangerous.
So the best approach is to use Async calls, keep the messages short, not apply speech to a lot of different charts, etc. Very important that talkng indicators don't talk too much, for example not more than once per bar.
The following user says Thank You to Zondor for this post:
Thanks Zondor. I was hoping someone would come up with some sort of global sequential queue.
This could for example be a stand alone exe that each indicator would "talk" to. Each indicator could just send a string and perhaps voice request to the exe which could coordinate a sequential playing of each request. I think I could do this with my indicators and a stand alone C# program, but unfortunately, the stock Ninjatrader audio events can still overtalk (block) my audio events. It would nice if we could somehow "see/access" the Ninjatrader audio events to help synchronize them with our audio events.
But she is a professional girl, and some restrictions apply, so I looked around for new fancy Markov models.
I finally installed Madam Mary on my desktop, she also has a number of foreign girls available, speaking some fancy languages other than English.
You can use Telugu (a Dravidian language), if your stop loss is hit, that message sound less offensive than the cruel reality in plain English. And as you do not understand it anyhow, you can also elect to ignore it.
Mary offers here free services under a public license. Here comes her address:
I tried some of her girls. Result below. I am not really happy with their behaviour. I feel that they love to make fun of me, as I am not paying enough to keep them happy. Have recorded them, allowing you to have your own second thoughts.
I still look for a date with a pretty and serious Markov model. If anyone has a recommendation, I am waiting.
Last edited by Fat Tails; February 3rd, 2012 at 01:58 PM.
Reason: Samples added.
The following 5 users say Thank You to Fat Tails for this post:
First I like to thank Zondor and the rest of the crew for this great post . Eventhough I joined the party late but an idea just occurred to me regarding how this feature can be used to make life easier for some day traders out there.
If an indicator could be made to announce the last trading price of a security based on a fixed time interval (like every 15 seconds) or announce the closing price of the current bar then some of us don't have to be glued to our monitors to see visually where the price is at. This will provide some freedom so we can step away from the computer even when we have positions and be aware of the current price audibly via say wireless headphones.
Unfortunately I am not a programmer to do this but hope one of you guys out there can tackle this project.
I downloaded this indicator and imported it in Ninja. I am using Windows 7 (64 bit) with Microsoft Net 4.0. I can compile the indicator but when I load it I get this error message in the log
"Error on calling 'OnStartUp' method for indicator 'SMACrossOverSpeech': Could not load file or assembly 'System.Speech, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
"Error on calling 'OnTermination' method for indicator 'SMACrossOverSpeech': Could not load file or assembly 'System.Speech, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
I added the reference to the System.Speech.dll. See attached picture.