Amibroker AFL code for Stock price Alert:
Script:
//——————————————————————————
//
// Formula Name: Stock price Alert
// For more scripts, visit: www.marketsecrets.in
//
//——————————————————————————
//
// If you want to be alerted to a stock reaching a certain price in “Alert
// Output” under “view” in Amibroker.
// Simply add the stock code, were the XYZ is.
// To set the price simply add it where ### is.
// Cut and past if you have lots of stocks that you want to be alerted to.
// Then just run the scan.
//
//——————————————————————————
Buy = Cross(C, ###) AND Name()==”XYZ”;
AlertIf( Buy, “”, “Simple text alert”, 4 );