The following code will give you a true/false array for 3 consecutive daily lower closes (assuming your using EOD data):
b3Drops = C < Ref(C,-1) AND Ref(C,-1) < Ref(C,-2); Regards, David _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of WaldemarRooijer Sent: 05/02/2007 3:15 PM To: [email protected] Subject: [amibroker] 3 day consecutive drops Dear Ami buddies, I hope this question is not too simple. Anyone can help me out with the code how do I specify 3 consecutive lower closes or 3 day drops? thx in advance.
