thanks for your input. however you are indicating to hardcode the
barsSince(Buy) < <somefixedvalue>
how do i get it based on
scan filter in the AA window. i could use
last bars or date range or
something else that AA allows.
--- In amibroker@xxxxxxxxxps.com,
"Thomas Z." <tzg@xxx> wrote:
>
> Hello,
>
> you
can do this with the barsSince() function. For example:
>
>
Condition = barsSince(Buy) < 50;
>
> Thomas
>
www.PatternExplorer.com
>
>
>
>
>
-----Original Message-----
> From: amibroker@xxxxxxxxxps.com
[mailto:amibroker@xxxxxxxxxps.com]
On Behalf
> Of murthysuresh
> Sent: Sunday, February 22, 2009
5:15 PM
> To: amibroker@xxxxxxxxxps.com
>
Subject: [amibroker] lastvalue challenges
>
> hello
> i use
the lastvalue(buy) to check if it got triggered before adding
the
>
ticker to the watchlist. this works only if i have Range=last n
>
quotations =1 on my filters.
> if i use a date range, it does not work
properly.
> any ideas on how to overcome this.
>
>
>
> ------------------------------------
>
> **** 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
>