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

Re: [amibroker] Stoploss



PureBytes Links

Trading Reference Links

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