you then have to expand it after restoring, as shown in the help files -- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com
On 26/07/07, murthysuresh <[EMAIL PROTECTED]> wrote: > I believe thats what the TimeFrameSet does. My code is here > > > > Filter=InWatchList(5); > > > TimeFrameSet( inHourly); << expand the time period > > > Buy=Volume>2*EMA(Volume,9); > > > TimeFrameRestore(); > > > --- In [email protected], "Ara Kaloustian" <[EMAIL PROTECTED]> wrote: > > > > Are you expanding the Buy Signal before using it ?? > > > > ----- Original Message ----- > > From: "murthysuresh" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Wednesday, July 25, 2007 4:34 PM > > Subject: [amibroker] something is wrong with my afl on hourly scans > > > > > > >I am trying to get signal if the hourly volume >2 times volume ema > of 9 > > > days. I keep getting incorrect results. Not sure where i am wrong > > > Filter=InWatchList(5); > > > TimeFrameSet( inHourly); > > > Buy=Volume>2*EMA(Volume,9); > > > TimeFrameRestore(); > > > > > > > > > > > > > > > > > > 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 > > > > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > > http://www.amibroker.com/devlog/ > > > > > > For other support material please check also: > > > http://www.amibroker.com/support.html > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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 > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups Links > > > >
