--- On Sat, 11/21/09, Alan <alan@xxxxxxxxxxxxxx> wrote:
From: Alan <alan@xxxxxxxxxxxxxx> Subject: [amibroker] Days since DMI crossover To: amibroker@xxxxxxxxxxxxxxx Date: Saturday, November 21, 2009, 2:51 PM
The following code will return a 1 when the negative DMI crosses above the positive DMI.
However, what I want to know is how many days have passed since the negative DMI crossed above the positive DMI. I have looked through the AFL formulas for a Days Since Crossing function but did not find one. Can anyone help me with the code to perform this function?
Thanks, Alan
------------------------------------
**** IMPORTANT PLEASE READ **** This group is for the discussion between users only. This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at http://www.amibroker.com/feedback/ (submissions sent via
other channels won't be considered)