PDA

View Full Version : Alert!


pipsheker
07-09-2008, 09:07 AM
Hi,

I use the following command for alert

Alert("myAlert", NinjaTrader.Cbi.Priority.High, "Reached threshold", "Alert1.wav", 10, Color.Black, Color.Yellow);

this information i got from the help index.

I alwyas had the alert sound but cannot see the alert messages appears, why???

Need some advise. Thanks in advance.

shek

NinjaTrader_Ray
07-09-2008, 09:26 AM
Do you mean in the Alert window (File > New > Alerts...) it does not appear?

pipsheker
07-09-2008, 06:47 PM
Do you mean in the Alert window (File > New > Alerts...) it does not appear?

Yep, I heard the sound that I set using the command as shown, but never a time where I see a pop up windows showing the alert I coded.

If not otherwise let me go back and show you the actual code I typed, however it is quite similar to what I have previously put up.

Shek

NinjaTrader_Ray
07-09-2008, 08:12 PM
Alert() does not create a pop up window, it will display in the Alerts window. If you want a pop up window, use Log() method with "Alert" level.

http://www.ninjatrader-support.com/HelpGuideV6/Log.html

pipsheker
07-09-2008, 10:49 PM
Alert() does not create a pop up window, it will display in the Alerts window. If you want a pop up window, use Log() method with "Alert" level.

http://www.ninjatrader-support.com/HelpGuideV6/Log.html

Thanks for the reply, may I know how to access or open the Alerts Window? Where is it???

Shek

NinjaTrader_Josh
07-09-2008, 11:18 PM
File->New->Alerts

pipsheker
07-09-2008, 11:29 PM
File->New->Alerts


Thanks for the help!!! Appreciated

Shek