Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Alert

    Im using the following alert statement in a strategy but dont hear a beep when testing in real time. The Alert shows up in the orders tab:

    Alert(DateTime.Now.Millisecond.ToString(), NinjaTrader.Cbi.Priority.Medium, "BrekkyBuy", Cbi.Core.InstallDir + @"sounds\Alert4.wav", 0, Color.Yellow, Color.Black);

    Do I need to change the priority to high?

    The path to the file seems to be correct.

    #2
    You can try a different priority setting, but I would also check into explicitly entering the sound file directory to double check it points to a valid wav file.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    90 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    92 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    70 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    87 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    64 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X