It depends on the settings you have in the applystop, and also if the bar
prices on the exit bar actually touch the required price. If gapped over it
then your loss will be more


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 20/12/06, thecoolestdude1369 <[EMAIL PROTECTED]> wrote:

thx....
follow up-- when i backtest the results of the backtest aren't
correct.  for instance if i have a 10% max loss stop the backtest
results are still showing the position lost more than that and just
put a notation that say (max loss).  i wanted it to calculate the
loss at 10% if it hit the max stop loss.

is this something that you can't do in ab or is it because i'm using
yahoo eod data or am i missing a variable.

thx again
j



--- In [email protected], "Terry" <[EMAIL PROTECTED]> wrote:
>
> Oddly, I have found it doesn't matter where it is PROVIDED it is
on it's own
> line. So your 2nd example would be wrong. I usually put it in
above the Buy
> conditions as in your first example.
> --
> Terry
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf
> Of thecoolestdude1369
> Sent: Tuesday, December 19, 2006 10:20
> To: [email protected]
> Subject: [amibroker] apply stop?....
>
> where do i put the applystop().  in the line before the buy and
sell
> lines or in the sell line after sell info?
>
> for instance...
>
> applystop();
>
> buy =parameters
> sell =parameters
>
> or
>
> buy = parameters
> sell = parameters or applystop()
>
> thx
> j
>




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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

Yahoo! Groups Links




Reply via email to