You have to be more specific. Up 7.9% or more from the lowest close in how many 
days?. Then use the function:

LLV(Close, 14);

where 14 means "14 periods back, including the last quote".

Give it a try, but those kind of rudimentary "trading systems" are most of the 
time a recipe to lose money.

Lester

--- In [email protected], "Antonio" <[EMAIL PROTECTED]> wrote:
>
> Hello everybody, I have read of this model in various sites and was
> tempted to code it in AFL.
> 
> You can find it on tradingmarkets.com
> 
> The following is the code description:
> 
> 
> Model Name: Nasdaq % Model
> 
> This is a straightforward stop-and-reverse system, based solely on the
> momentum of the Nasdaq Composite. If the index is in a downtrend, wait
> for the index to reverse to the upside. Go long on any Nasdaq
> Composite close that is up 7.9% or more from the lowest close. Exit
> the long position and go short if the index reverses to the downside
> and closes 7.9% or more from the highest close since beginning your
> long position. 
> 
> 
> Antonio
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/
 



Reply via email to