Thanks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Opening Bell sound ?
Collapse
X
-
Originally posted by T2020 View PostIs there a way to hear a bell sound when the market regular open begins ? An alert possibly connected with the " CurrentOHL " indicator ? Something simple .
ThanksCode:int Mar****penTime = 930; if (ToTime(Time[0]) == Mar****penTime && FirstTickOfBar) PlaySound("Alarm1.wav");
-
Hello T2020,
I am not aware of an Indicator that will do this but it would be possible with some custom code. For example:
Code:if(Bars.FirstBarOfSession) { Alert("Session Open", NinjaTrader.Cbi.Priority.High, "Session is now Open", "Alert4.wav", 10, Color.Black, Color.Yellow); }
You may change the sound file, and the Alert() will only play the sound in real-time.
Let us know if we can be of further assistance.JCNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by geddyisodin, Today, 05:20 AM
|
0 responses
2 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
32 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
12 responses
3,239 views
0 likes
|
Last Post
by Leafcutter
Today, 05:08 AM
|
||
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
0 responses
5 views
0 likes
|
Last Post
by AveryFlynn
Today, 04:57 AM
|
||
Started by RubenCazorla, 08-30-2022, 06:36 AM
|
3 responses
79 views
0 likes
|
Last Post
by PaulMohn
Today, 04:44 AM
|
Comment