NexusFi: Find Your Edge


Home Menu

 





Adding alert to NT indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cihde with 2 posts (0 thanks)
    2. looks_two cory with 1 posts (0 thanks)
    3. looks_3 Fat Tails with 1 posts (1 thanks)
    4. looks_4 Big Mike with 1 posts (0 thanks)
    1. trending_up 4,774 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Adding alert to NT indicator

  #1 (permalink)
 
cihde's Avatar
 cihde 
Bend Oregon
 
Experience: Master
Platform: NinjaTrader
Trading: CL
Posts: 13 since Sep 2010
Thanks Given: 79
Thanks Received: 8

I need help in adding a sound alert to a NT indicator.
KeyReversalUp, KeyReversalDown
When indicator paints I want an alert to sound.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


look at SMI5 it has sound alert in there.

Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,399 since Jun 2009
Thanks Given: 33,178
Thanks Received: 101,542


cihde View Post
I need help in adding a sound alert to a NT indicator.
KeyReversalUp, KeyReversalDown
When indicator paints I want an alert to sound.

If you don't get an answer in this thread in 2-3 days, you should repost here:



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


cihde View Post
I need help in adding a sound alert to a NT indicator.
KeyReversalUp, KeyReversalDown
When indicator paints I want an alert to sound.

You only need to open the NinjaTrader help file, type the word "alert" and then select Alert() on the dropdown menu.

You will immediately find the Syntax of the alert command that you need to insert:

 
Code
Alert(string id, Priority priority, string message, string soundLocation, int rearmSeconds, Color backColor, Color foreColor)
They also have a nice example that explains how to do it.

Then for the KeyReversalUp Indicator you just add the two line

 
Code
if (Low[0]<MIN(Low,Period)[1] && Close[0] > Close[1]) 
Alert(...........);
in OnBarUpdate(). I think you should try yourself!

Don't forget to put your favourite sound file into Ninja Trader's sound directory.

Reply With Quote
Thanked by:
  #6 (permalink)
 
cihde's Avatar
 cihde 
Bend Oregon
 
Experience: Master
Platform: NinjaTrader
Trading: CL
Posts: 13 since Sep 2010
Thanks Given: 79
Thanks Received: 8

Thanks... I learned that programing takes more education than I currently have. A walk through is very helpful to me, and I will begin to learn the ins and outs of making changes to my indicators. Thanks again for the input.

Started this thread Reply With Quote




Last Updated on February 15, 2011


© 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