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

Thank you!



PureBytes Links

Trading Reference Links

Thank you Tomasz,

for the new release, awful lot of work and really impressive!
Also thanks for the explanation below!
After my struggles trying to debug a Boolean 3 returned by Sell: what a reli
eve, my code was OK :-)))

Best Regards,
Herman.

-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@x...]
Sent: Wednesday, July 24, 2002 10:38 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] simple ApplyStop AFL problem


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





Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/