NexusFi: Find Your Edge


Home Menu

 





Let's Teach NinjaTrader how to talk


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Zondor with 13 posts (22 thanks)
    2. looks_two ZTR with 4 posts (6 thanks)
    3. looks_3 LukeGeniol with 3 posts (0 thanks)
    4. looks_4 samWest with 3 posts (1 thanks)
      Best Posters
    1. looks_one timmyb with 4 thanks per post
    2. looks_two Fat Tails with 3 thanks per post
    3. looks_3 Zondor with 1.7 thanks per post
    4. looks_4 ZTR with 1.5 thanks per post
    1. trending_up 21,421 views
    2. thumb_up 46 thanks given
    3. group 23 followers
    1. forum 45 posts
    2. attach_file 8 attachments




 
Search this Thread

Let's Teach NinjaTrader how to talk

  #41 (permalink)
 
kronie's Avatar
 kronie 
NYC + NY / USA
 
Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Trading: EMD, 6J, ZB
Posts: 796 since Oct 2009

ok, I'm taking the previous advise and rolling back to Net 3.5

perhaps that is the problem with all the other NT problems I am having, with frequent lock ups and lost workspaces and settings, when you have to shut the app down, after waiting over 20mins on freeze ups

thanks guys,

this is why I still participate and spend time on these threads....every so often, something good comes out of the time well spent....

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #42 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Legendary Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,507 since Aug 2011
Thanks Given: 2,046
Thanks Received: 9,491

Shiiiiiiit, Negro! - YouTube

Visit my NexusFi Trade Journal Reply With Quote
  #43 (permalink)
 
kronie's Avatar
 kronie 
NYC + NY / USA
 
Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Trading: EMD, 6J, ZB
Posts: 796 since Oct 2009



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

Thanks!!!

uninstalling Net 4.0 is easy, however installing Net 3.5 is blocked, as a destructive application (firewall issue evidently)

even after getting past that issue, the install did not take, evidently, there are other factors beyond just the Net Framework, that won't allow a roll back, perhaps the Visual Studio C++ stuff

so, overall, no go further, not able

Win 7x64 platform

Reply With Quote
  #44 (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

Found another thread here at nexusfi.com (formerly BMT) with some good resources about static variables and classes. It would never do to have more than one talking at the same time. That would not be "Portland Polite®".

A spoken messages can be any text that can be created programatically by Ninjascript. For the best results they would be concatenations of fixed strings and variable values. Anything you can print to the Output Window or display in the Alerts Window can be spoken by the robot. A lot more information than an audio alert.

By having each speaker set a static boolean while it is talking, and testing for that value before talking begins, multiple simultaneous speeches can be prevented in Sync mode.

That should be pretty simple, but having a queue for the speeches might also be possible. Just something to think about for now but if anyone wants to play around with this, the code is out there. The indicators I posted in this thread would only need minor tweaks.

Thanks @Geir, great work.


"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #45 (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

Request to @NinjaTrader for a sample indicator showing how to implement text to speech in NT8.

Ideally all of the speech requests would be queued up in a singlet class and played back FIFO, to avoid more than one talking at the same time which would not be polite!

Of course, the programmatically constructed messages could also be sent out as text messages, emails, and even phone call/voicemail messages if you wanted to get fancy in the sample code... I wouldn't object to such examples!

Thanks in advance.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #46 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 209 since Aug 2010
Thanks Given: 98
Thanks Received: 392


Zondor View Post
Request to @NinjaTrader for a sample indicator showing how to implement text to speech in NT8.

@Zondor

Text to Speech is rather simple process in NT8.. This link might help get you started...

A Very Easy Introduction to Microsoft .NET Speech Synthesis (VB, C#, C++) - CodeProject

You'll also need to add a reference to System.Speech.dll.. For Win7 64bit it can be found here..

C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\System.Speech.dll

Reply With Quote
Thanked by:




Last Updated on May 15, 2016


© 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