PureBytes Links
Trading Reference Links
|
Hi,
I've double check. All are zeros.
tks
KK
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
wavemechanic
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, January 17, 2004 11:58
PM
Subject: Re: [amibroker] subscript out of
range
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A href=""
title=kk2628@xxxxxxxxxxxxxxxx>kk2628
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, January 17, 2004 10:40
AM
Subject: [amibroker] subscript out of
range
Hi,
Appreciate someone point out my error. I get
the subscript out of range error for the following code. The symbol that I
use has about 1920 bars.
Are you mixing up 0 and o (zero and
letter o)?
for(j=<FONT color=#ff00ff
face="Courier New" size=1>1;<FONT
color=#000000 face="Courier New" size=1> j<<FONT color=#ff00ff
face="Courier New" size=1>500<FONT
color=#000000 size=1>;
j++)
{
Count[j]=<FONT color=#ff00ff face="Courier New"
size=1>0<FONT color=#000000 face="Courier New"
size=1>;
for<FONT color=#000000
size=1>( i=<FONT color=#ff00ff face="Courier New"
size=1>0;
i<BarCount-<FONT color=#ff00ff face="Courier New"
size=1>1; i<FONT color=#000000
face="Courier New" size=1>++
)
{
<FONT color=#800000 face="Courier New"
size=1>if<FONT color=#000000 face="Courier New"
size=1>(H[i]-L[i]==j)
count[j]=count[j]+<FONT color=#ff00ff face="Courier New"
size=1>1;
}
}<FONT color=#0000ff
face="Courier New" size=1>
Plot<FONT color=#000000 face="Courier New"
size=1>(Count,<FONT color=#ff00ff face="Courier New"
size=1>""<FONT color=#000000 face="Courier New"
size=1>,colorRed,styleHistogram|<FONT color=#ff00ff
face="Courier New" size=1>4<FONT color=#000000 face="Courier New"
size=1>);
Tks
KK
Send BUG REPORTS to <A
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS
to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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.
|