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

Re: [amibroker] simple ApplyStop AFL problem



PureBytes Links

Trading Reference Links

Hello,

Use the following solution:

ApplyStop here

.. your rules here

Equity(); // this call evaluates stops

// from now on you can find out on which bars stops where triggered
// now sell array contains 
// 1 - for normal exit
// 2 - for max. loss stop
// 3 - for profit target
// 4 - for trailing stop


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "sidleysh" <steves@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, July 24, 2002 3:31 PM
Subject: [amibroker] simple ApplyStop AFL problem


> How do detect in AFL whether a stop has been triggered? Because 
> ApplyStop returns nothing, I cannot use it in an iif statement.
> 
> Any ideas?
> 
> steve s
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>