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 rhyminkevin, Today, 04:58 PM
|
4 responses
52 views
0 likes
|
Last Post
by dp8282
Today, 06:13 PM
|
||
Started by iceman2018, Today, 05:07 PM
|
0 responses
5 views
0 likes
|
Last Post
by iceman2018
Today, 05:07 PM
|
||
Started by lightsun47, Today, 03:51 PM
|
0 responses
7 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
14 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
50 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
Comment