PureBytes Links
Trading Reference Links
|
Your
buy/sell generates either true or false (0 or 1) , you might try Sum() to
calculate over a given range or Cum() to calculate them
all......
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>condition="your buy/sell";
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>x=sum(condition,100); or
<FONT face=Arial color=#0000ff
size=2>x=cum(condition);
Regards,Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Collectable Images
[mailto:telecard@xxxxxxxxxxxxxx]Sent: Wednesday, June 30, 2004 9:44
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
count of current trade number in backtestingHave read
this omewhere but can not locate it now.How do I calculate the number
of signals generated in a chart so I can seeactual number of trades (if no
limit is placed on trade number) over
time?ThxCheck AmiBroker web page at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|