[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] how to set up real time alert?



PureBytes Links

Trading Reference Links

Hi Wei,
 
I am not sure where you are stuck.
 
Did you download the archives?
 
Also, have you read the tutorial in the User's Guide called 'Using formula-based alerts'? Here is an excerpted example:
 

Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
Short = Sell;
Cover = Buy;

AlertIF( Buy, "EMAIL", "A sample alert on "+FullName(), 1 );

AlertIF( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 2 );

AlertIF( Short, "EXEC Calc.exe", "Launching external application", 3 );

AlertIF( Cover, "", "Simple text alert", 4 );

Note EXEC command uses ShellExecute function and allows not only EXE files but URLs too.

HTH,

-john
----- Original Message -----
From: Felix Sun
Sent: Tuesday, September 21, 2004 8:25 AM
Subject: Re: [amibroker] how to set up real time alert?

Hi, John,
 
Thanks for your reply. I just don't know how to start as I am totally a newpie to amibroker. wanna somebody could lead me in the door then I will check the related things out.
 
Thanks again,
Wei

john gibb <jgibb1@xxxxxxxxxxxxx> wrote:
Hi Wei,
 
I would download the CHM archives do a search on 'Alertif'.
 

-john
----- Original Message -----
From: Felix Sun
Sent: Tuesday, September 21, 2004 7:42 AM
Subject: [amibroker] how to set up real time alert?

Hi,
 
I am new to amibroker. I wanna do real time scan and then let amibroker send out alert via email or make some sounds if my conditions are met. I read the user's guide but still confused how to make it. could you kindly tell me in detail? I am not familiar with AFL. Maybe an simple example will make it clear how to do it. Let us say, a stock ABC, when the close price of ABC's current bar (5 minutes setting) is higher than a particular price, send me an email and sound an alert at the same time, could you let me know how to do this? thanks a lot.
 
Best Regards,
Wei
 
 


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links