No idea how to get rid of this. Please help
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can't Stop The Music -- Alerts Won't Go Away
Collapse
X
-
Can't Stop The Music -- Alerts Won't Go Away
I tried programming some alerts into one of my indicators, but they sounded on every bar instead of just the ones I specified. The code looked right to me but since I couldn't figure out the problem I removed the code from the indicator. Despite that, the alerts are still firing a sound after every bar is complete.
No idea how to get rid of this. Please helpTags: None
-
Srgtroy, you'll have to look at the code for each of the indicators on your chart to see which ones have the alerts playing. From there, comment out the lines of code that play the alert and start adding them back in one by one until you find where the error is. I would also recommend using Print() to send debug output to the Output Window (Tools -> Output Window) before using audio alerts - mass amounts of text is much easier to deal with than mass amounts of sound.
Code:Print("some output has just been sent to the output window");
AustinNinjaTrader Customer Service
Comment
-
Originally posted by Srgtroy View PostThis issue is still plaguing me. I did compile the changes. Nothing I do seems to stop the alert which fires after every bar is complete. I currently have to mute my computer and basically am unable to use alerts.
Hi Srgtroy,
I have seen this before.
Did you save the earlier version in a template? Templates do not update when indicators contained in them are updated. As long as the two version of the indicator had the same name, the template still loads the old code. Remove indicator from chart then add it back, then re-save template.
RJay
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by geddyisodin, Yesterday, 05:20 AM
|
7 responses
45 views
0 likes
|
Last Post Today, 07:07 AM | ||
Started by gbourque, Today, 06:39 AM
|
2 responses
5 views
0 likes
|
Last Post
by gbourque
Today, 07:05 AM
|
||
Started by cre8able, Yesterday, 07:24 PM
|
1 response
13 views
0 likes
|
Last Post Today, 06:55 AM | ||
Started by cocoescala, 10-12-2018, 11:02 PM
|
6 responses
939 views
0 likes
|
Last Post
by Jquiroz1975
Today, 06:51 AM
|
||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
1 response
17 views
0 likes
|
Last Post Today, 06:16 AM |
Comment