How about // as a trigger // 3 lower closes HHV(C - ref(C,-1),3) < 0 OR barssince(C >= ref(C,-1) > 2 // as an indicator try this barsdown = barssince(C >= ref(C,-1)); // then reference this in code for a trigger for exactly 3 days down barsdown = 3 I see code by others as well, always a few way to skin the cat... Cheers, Dave
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of WaldemarRooijer Sent: Thursday, 3 May 2007 5:15 AM 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.
