I have a script that I want to play an audible alert and show a messege box when the conditions are met. When I run the following, only the messege box is shown and the wave file does not play. Yes, the wave file is in the sounds folder. I think I have to clarify these two actions separately but I'm not sure how...
if ((PriceNow > Trend) && (PriceNow == Bid) )
{
PlaySound("sirenhilo.wav");
MessageBox(" BULL","TC ALERT!");
}
aye???
if ((PriceNow > Trend) && (PriceNow == Bid) )
{
PlaySound("sirenhilo.wav");
MessageBox(" BULL","TC ALERT!");
}
aye???