Greetings, For all newbies I have provided an example of a working AlertIf arrangement.
I set Amibroker to a 1 min. chart and in Automatic Analysis I set "Periodicity" to 1 min. AND ticked "Run every" : 1 min. (change to suit yourself)
In Tools->Preferences->Alerts I have Automatic Analysis ticked in "Enable alerts from".
In Tools->Preferences->Alerts I have "E-mail settings" correctly filled in and "Test" result has "Message sent OK."
WORKING EXAMPLES
*Note two (2) backward slashes for application path and the number after "text" (highlighted) is 1 = Buy, 2 = Sell, 3 = Short and 4= Cover
AlertIf( Buy, "SOUND C:\\WINDOWS\\Media\\ringin.wav", " Buy Trigger", 1, 1);
AlertIf( Short, "SOUND C:\\WINDOWS\\Media\\ringout.wav", " Short Trigger", 3, 1);
AlertIf( Buy, "EMAIL ", "Happy Days Are Here Again"+FullName(), 1, 1);
AlertIf( Buy, "EXEC C:\\Program Files\\QuoteTracker\\stocks.exe", "Launching external application", 1, 1);
AlertIf( Short, "EXEC C:\\Program Files\\QuoteTracker\\stocks.exe", "Launching external application", 3, 1);