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

Re: [amibroker] Re: apply stop?....



PureBytes Links

Trading Reference Links

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 <thecoolestdude1369@xxxxxxxxx> 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 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