Yes, it worked well now. Is there a way to do this programatically, without having to change Periodicity to Weekly manually?
Thanks a lot. --- In [email protected], "NW Trader" <ta4cha...@...> wrote: > > Hi Michel, > > Did you set the period for the exploration to weekly? To do so, open the AA > window, click on Settings, under the General tab set the Periodicity to > Weekly. Now try running your exploration. > > Peace and Justice --- Patrick > ----- Original Message ----- > From: michel_junior003 > To: [email protected] > Sent: Wednesday, April 07, 2010 5:55 AM > Subject: [amibroker] Help with simple AFL code > > > Hi, > > I want to identify stocks (Weekly) that have ADX(11) > 25 > > I used this code: > > TimeFrameSet( inWeekly ); > Filter = ADX(11) > 25; > AddColumn( Close, "Close " ); > AddColumn( Open, "Open " ); > AddColumn( High, "High " ); > AddColumn( Low, "Low " ); > AddColumn( Volume, "Volume " ); > AddColumn( ADX(11), "ADX " ); > > > Something is wrong because I see stocks that have ADX lower than 25. > How can I correct this? > This code works well for Daily stocks, but doesn't work for Weekly stocks. > Thanks in advance. > > > > > ------------------------------------ > > **** 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 >
