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

Re: [amibroker] Alert and triggers help



PureBytes Links

Trading Reference Links

One thing you can do is
copy/paste your explore list of stock/prices and create your alertif statements in excel using concatenate function
then just copy/paste back to afl

 
On 11/26/05, Tony Lei <yiupang91@xxxxxxxxx> wrote:
Hi,

I have the following stock picks with triggers and would like to make a simple code that will alert me of these stocks. 

ACI LONG 70.51 SHORT 69.23
HOV LONG 48.70 SHORT 47.83

Currently, I'm using the following code.  My question is there a better and more efficient way of doing this.  The reason is because I have about 5 stocks per week with both long and short triggers.  I was wondering if I can do something in AA where I can go to parameters and set the required parameters that will allow me to enter both the stock and their triggers without going back to "edit AFL."

AlertIf( Cross(69.23,C) AND Name()=="ACI", "", "Short", 3 );
AlertIf( Cross(C, 70.51) AND Name()=="ACI", "", "Long", 3 );


thanks

tony


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS






--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS