PureBytes Links
Trading Reference Links
|
ApplyStops work correctly. There are several options you should verify in
help.
Slippage cannot be accounted for if it drops in the same day. You would need
intraday for this. Still prices can drop through your stops even with minute
data, especially if they are not particularly liquid.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of thecoolestdude1369
Sent: Tuesday, December 19, 2006 14:11
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: apply stop?....
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 amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> 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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of thecoolestdude1369
> Sent: Tuesday, December 19, 2006 10:20
> To: amibroker@xxxxxxxxxxxxxxx
> 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
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM
|