[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Stoploss



PureBytes Links

Trading Reference Links

Hi,

That is just it, the Buy variable anywhere in the AFL gives me an unknown
identifier error.


----- Original Message -----
From: Tomasz Janeczko <tj@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 24, 2001 7:57 AM
Subject: Re: [amibroker] Stoploss


> Hi,
>
> I am not sure what you want to get but you can reference a buy
> variable as any other variable in AFL
> For example
>
> sell = barssince( buy ) > 10;
> // this will give you a sell 10 bars after a buy.
>
> To get buy price you can use
> buyprice = valuewhen( buy, close );
>
> Best regards,
> Tomasz Janeczko
>
> ----- Original Message -----
> From: "Jaco Jonker" <jjonker@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, April 23, 2001 11:30 PM
> Subject: [amibroker] Stoploss
>
>
> > Hi Tomasz,
> >
> > Talking about stop-losses - How do I express the physical BUY signal in
> Afl
> > code as a variable, example LLV(Buy,????)
> >
> > Regards.
> >
> > Jaco Jonker
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>