PureBytes Links
Trading Reference Links
|
OK, guess I didn't read your message properly.
Does this help you in any way:
for(i=3;i<BarCount;i++)
{
k=0;
y=0;
while(k<=2)
{
x=C[i-k]>C[i-k-1];
y=y+x;
k++;
Cond[i]=y==3;
}
}
Plot(C,"",colorBlack,styleCandle);
Plot(Cond,"",colorBlue,styleHistogram|styleOwnScale);
Johan
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 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/
|