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 arvidvanstaey, Today, 02:19 PM
|
3 responses
9 views
0 likes
|
Last Post Today, 03:23 PM | ||
Started by jordanq2, Today, 03:10 PM
|
2 responses
7 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
47 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
7 views
0 likes
|
Last Post Today, 02:12 PM |
Comment