PureBytes Links
Trading Reference Links
|
Steve,
I can't speak for Stephane, but I do have a comment. In the example I gave, I was pyramiding by NOT liquidating the first position. Rather, when you pyramid, you ADD to an existing position by adding another unit. So, if your initial unit size were, say, 300 shares, if your profit goes to 1 ATR, you add another 300 shares, now making your total open position 600 shares (2 units). You keep doing this as your profit grows, moving your stop up to be even with the most recent position add-on. That's what I mean by pyramiding. Al Venosa
>From: "sidleysh"
>Reply-To: amibroker@xxxxxxxxxxxxxxx
>To: amibroker@xxxxxxxxxxxxxxx
>Subject: [amibroker] Re: tj's pyramid
>Date: Thu, 18 Jul 2002 14:56:50 -0000
>
>Stephane -
>
>I read you post a few times, but I am not sure I understand the
>problem.
>
>Let's say I pyramid once only, with double the position size, I
>assumed that the first buy is set with postionsize, then liquidated
>via a Sell statement at some future date (according to some cond1),
>resulting a accurate LONG profit. You then adjust postionsize and buy
>again on the same day, liquidating again later according to some
>cond2, with an accuate LONG profit again.
>
>
>can you clarify for me what the issue is?
>
>
>Steve
>--- In amibroker@xxxx, "nenapacwanfr" wrote:
> > It seems the backtester takes one entry and one exit
> > and the profit is calculated for LONG with
> > ((ExitPr/EntryPr1)-1)*Positionsize
> >
> > if you take adding position
> > that means
> > you'll have multiples
> > ((ExitPr/EntryPr2)-1)*Positionsize
> > ((ExitPr/EntryPr3)-1)*Positionsize
> >
> > if you want to be right that means you must solve an equation to
> > know what would be the right position size at entryPr1 if all the
> > adding position have been taken.
> >
> > Hmmm!
> >
> > stephane
>
MSN Photos is the easiest way to share and print your photos: Click Here
|