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

Re: [amibroker] Tj:Counting buy signals



PureBytes Links

Trading Reference Links


Hi Anthony,
 
I believe that CUM ignores your range settings, and always 
starts at the beginning of your data. You could use SUM instead, but 
you would need to either figure out how many days you are testing or switch 
range to "n = (number of periods in SUM function)".
 
Steve
 
<BLOCKQUOTE dir=ltr 
>
----- Original Message ----- 
<DIV 
>From: 
Anthony Faragasso 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Monday, April 29, 2002 10:08 
PM
Subject: [amibroker] Tj:Counting buy 
signals
Tomasz,I added a counter at the end of my trading 
system inorder to count thenumber of buy signals that are generated buy 
the system specificallyrelated to the range settings , and also to check 
the validity of theexrem 
functions.filter=1;AddColumn((Cum(Buy)),"buy",1);I set 
Range  : from 1/1/00  to: 4/26/02.The first buy signal in 
the range specified above   occured on 4/10/00,but the counter 
has recorded 6 buy signals prior to the range settings,Do these priorbuy 
signals influence the backtest results ? Why arethere buy signals prior to 
the range settings, shouldn't the signals berestricted to the range 
settings ?Thank you in advanceAnthonyYour 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 






<IMG 
src="">