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

Re: [amibroker] Multiple & independent Buy/Sell



PureBytes Links

Trading Reference Links

Hello,

You can have mutliple buy/sell signals
for example:

Buy = Cross( Ultimate(), 50 );
Sell = Ref( Buy, -20 ); 

A sell is generated 20 bars after each buy.

But... the backtester manages single active position on one stock
at a time, so these multiple signals will not result in "pyramiding"
of positions. 

Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com


----- Original Message ----- 
From: <tchan95014@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, November 21, 2001 6:05 AM
Subject: [amibroker] Multiple & independent Buy/Sell


> Hi, all,
> 
> Is it possible to have multiple BUY signals with each a separate SELL 
> signal? All signals come out of the same system.
> 
> For example:
> 
> Day 0 1 2 3 4 5 6
> BUY0 SELL0
> BUY1 SELL1
> BUY3 SELL3
> BUY4 SELL4
> 
> In my code, the SELLx gets pushed back, so that BUY0, 1,,, do not 
> have its own SELL signal.
> 
> 
> Thomas
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>