Let's Teach NinjaTrader how to talk - NinjaTrader Programming | futures io social day trading
futures io futures trading


Let's Teach NinjaTrader how to talk
Updated: Views / Replies:11,885 / 45
Created: by Zondor Attachments:8

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
 8  
 
Thread Tools Search this Thread
 

Let's Teach NinjaTrader how to talk

  #31 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

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.

Reply With Quote
The following user says Thank You to Zondor for this post:
 
  #32 (permalink)
Elite Member
Houston, Texas
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 25 since Oct 2010
Thanks: 2 given, 19 received

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.

Reply With Quote
 
  #33 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Problem of talking indicators interrupting each other


Maybe the key to solving the problem of talking at the same time has something to do with static and global variables.

C# Global Variable

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

Sexy Voices, Mary and the Models

I tried again to use Microsoft Speech Synthesis, but I am not convinced by the results.

That voice of Microsoft Sam (not to be confused with @sam028) is awful.

It possibly uses too much of the CPU to create a voice each time an alert is triggered.

So I decided to stay with the more conventional way of producing alerts. Just create a sound file and store it for access by an indicator or strategy.


For some time I have been enjoying the services of Crystal from AT&T. She was always there when I needed her.

AT&T Natural Voices Text-to-Speech Demo

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:

The MARY Text-to-Speech System — MARY Text-to-Speech

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.

Attached Files
Register to download File Type: zip Samples.zip (471.0 KB, 54 views)

Last edited by Fat Tails; February 3rd, 2012 at 02:58 PM. Reason: Samples added.
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #35 (permalink)
Elite Member
Los Gatos , CA
 
Futures Experience: Advanced
Platform: NT7
Broker/Data: IB/Esignal
Favorite Futures: ES
 
Posts: 2 since May 2010
Thanks: 0 given, 0 received

Announcing current price

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.

Reply With Quote
 
  #36 (permalink)
Elite Member
Austin, TX
 
Futures Experience: Beginner
Platform: NinjaTrader, TOS
Favorite Futures: Stocks
 
Posts: 4 since Sep 2011
Thanks: 2 given, 0 received

Error Message

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=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
And
"Error on calling 'OnTermination' method for indicator 'SMACrossOverSpeech': Could not load file or assembly 'System.Speech, Version=4.0.0.0, 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.

Can someone help me with this error?

Thanks.

Attached Thumbnails
Let's Teach NinjaTrader how to talk-reference.jpg  
Reply With Quote
 
  #37 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


Mhaus View Post
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=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
And
"Error on calling 'OnTermination' method for indicator 'SMACrossOverSpeech': Could not load file or assembly 'System.Speech, Version=4.0.0.0, 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.

Can someone help me with this error?

Thanks.

As far as I know NinjaTrader 7 is not compatible with .Net 4.0. Maybe you should try .Net 3.5. But this is just a guess.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #38 (permalink)
Elite Member
Austin, TX
 
Futures Experience: Beginner
Platform: NinjaTrader, TOS
Favorite Futures: Stocks
 
Posts: 4 since Sep 2011
Thanks: 2 given, 0 received


Fat Tails View Post
As far as I know NinjaTrader 7 is not compatible with .Net 4.0. Maybe you should try .Net 3.5. But this is just a guess.

Thanks! I will try it with Net 3.5

Reply With Quote
 
  #39 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received

Can you select a different voice than the standard one included from Microsoft?

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
 
  #40 (permalink)
Elite Member
Austin, TX
 
Futures Experience: Beginner
Platform: NinjaTrader, TOS
Favorite Futures: Stocks
 
Posts: 4 since Sep 2011
Thanks: 2 given, 0 received



Fat Tails View Post
As far as I know NinjaTrader 7 is not compatible with .Net 4.0. Maybe you should try .Net 3.5. But this is just a guess.

That was exactly the problem. After I got rid off .NET 4, it worked like a charm!

Thanks!!!

Reply With Quote

Reply



futures io > > > > > Let's Teach NinjaTrader how to talk

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
Jim Simons talk dutchbookmaker Traders Hideout 1 January 26th, 2011 02:36 PM
Teach'm How to Fish aligator NinjaTrader Programming 3 January 20th, 2011 02:47 AM
For US, Yuan Talk is Good, but Action is Better Quick Summary News and Current Events 0 June 19th, 2010 06:50 PM


All times are GMT -4. The time now is 01:22 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-18 in 0.14 seconds with 20 queries on phoenix via your IP 54.92.201.232