NexusFi: Find Your Edge


Home Menu

 





Using Async Voice Synthesizer Alerts


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one jmont1 with 4 posts (0 thanks)
    2. looks_two vantojo with 4 posts (5 thanks)
    3. looks_3 Tasker_182 with 2 posts (2 thanks)
    4. looks_4 Zondor with 1 posts (1 thanks)
    1. trending_up 5,916 views
    2. thumb_up 8 thanks given
    3. group 7 followers
    1. forum 11 posts
    2. attach_file 0 attachments




 
Search this Thread
  #11 (permalink)
 jmont1 
New York, NY
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader8
Broker: Data = Rithmic -- Gives 70 Level II Data
Trading: 6C (Low Margin,) 6E, CL, GC, ES and Maybe DX for smaller tick value
Posts: 1,418 since May 2011
Thanks Given: 1,728
Thanks Received: 1,024


vantojo View Post
you can also make a timer....so that it only speaks again after a certain number of seconds

not at my coding computer but psuedo code is this (translate to C#)

datetime lastalert = now



if time difference seconds (now - last_alert ) > 10 // only voice every 10 seconds
{
speak
lastalert = now
}



the Ninja Alert has a built in rearm capability, the voice does not, you have to code it like above

@vantojo, Im not a coder and have now spent at least 16 hours on this apparently simple problem. Even your code above must be short hand that a coder would understand, i.e... make something a variable, put this piece of the code here and not there.

If anyone visits this thread again and figures out how to limit the speak to a single alert I would apprecate if you would mention me so I can try and fix this. For now I fear I have wasted the weekend. Thanks.


Reply With Quote

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #12 (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,734

These problems were addressed a while ago. See if anything in this thread is helpful.

That thread and this one should be combined into one.



Look at this post in particular. It is not a good idea to use Async mode. Way too risky to allow the speaker to paralyze Ninjatrader, you might miss a stop or something.


"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 X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on July 4, 2014


© 2026 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 - Downloads - Top
no new posts