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

[amibroker] Re: Multi position



PureBytes Links

Trading Reference Links

Hi Ara:

Do you (or anyone) have any code for scaling in and out using custom 
backtesting that they might share.  I'm looking for simple:

Enter 2 positions
Set initial stop and profit
Sell 1 at initial stop or profit
Set new stop and profit
Sell 1 at new stop or profit.

Seems like if you've managed to code this in a loop it should be 
possible to backtest it.

Thanks!

--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> Jerome, I assume you are talking about the backtester.
> 
> Yes you can do that, but you need to use the custom backtester. 
Really need
> to read the documentation first.
> 
> 
> ----- Original Message ----- 
> From: "jerome_maeder" <jerome_maeder@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, April 12, 2006 9:22 AM
> Subject: [amibroker] Multi position
> 
> 
> > Hi!
> >
> > I would like to know if it's possible to have 2 or 3 positions on 
the
> > same symbol. For exemple, I have one position and I would like to 
buy
> > 1 position more if the price goes down of 2%, etc...
> >
> > Anybody could tell me how to do that if it's possible?
> >
> > Thanks in advance.
> >
> > Jerome
> >
> >
> >
> >
> >
> > 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 other support material please check also:
> > http://www.amibroker.com/support.html
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>






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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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