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) ANDRef(C,-1) < Ref(C,-2);
Regards,
David
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of WaldemarRooijer Sent: 05/02/2007 3:15 PM To: amibroker@xxxxxxxxxxxxxxx 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.
__._,_.___
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