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

RE: [amibroker] Help on what function to use



PureBytes Links

Trading Reference Links

Buy = Sum(Cond1,5) AND Sum(Cond2,5) AND Sum(Cond3,5);
--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of professor77747
Sent: Monday, July 10, 2006 18:03
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help on what function to use

I would like to get a buy signal when 3 conditions are met within a 5 
trading day period. For instance, when the Macd has crossed the 
signal, the stochastic has been below 30, and the MA has changed 
direction from down to up. I know how to write the code when the all 
happen on one day, but I do not understand how to write the code when 
they all happen on different days.

As you can tell, I do not understand how AFL works. I can just do a 
few things.

Thanks,
Tom






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