Hi Anthony Thought I read the description of every function but I guess I didn't do a very good job. Thanks for bringing this function to my attention.
Alan, Anthony Faragasso wrote: > Did you see BarsSince().? > > ----- Original Message ----- > From: "Alan" <[email protected]> > To: <[email protected]> > Sent: Saturday, November 21, 2009 3:51 PM > Subject: [amibroker] Days since DMI crossover > > > >> The following code will return a 1 when the negative DMI crosses above >> the positive DMI. >> >> mdmi = MDI(13); >> pdmi = PDI(13); >> dmicrossing = Cross(mdmi,pdmi); >> >> 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) >> >> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: >> http://www.amibroker.com/devlog/ >> >> Yahoo! Groups Links >> >> >> >> > > > ------------------------------------ > > **** 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) > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > Yahoo! Groups Links > > > > > __________ Information from ESET NOD32 Antivirus, version of virus signature > database 4627 (20091121) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > > ------------------------------------ **** 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) For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/amibroker/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
