Hi Tan Ming
If I understand your question properly then this
should be what you are looking for.
BarsSince(100*(H-L)/L>5);
This tells you the number of bars since your
expression was greater than 5. If you
want to
know the number of bars since the expression
was less than 5 just change ">" to "<".
Kind regards
----- Original Message -----
Sent: Friday, June 17, 2005 10:00 PM
Subject: [EquisMetaStock Group] Counting Trading Day
Hi Roy,
I saw your post counting trading days. How do
I code it so that it returns the maximum number of days a stock's 1 day (H -
L) / L * 100 drop below 5% till it move above 5%? I tired the barsince
function but not much success.
Tks.
_________________________________________________________________ Block
pop-up ads with MSN Toolbar. http://toolbar.msn.com.my/
Yahoo! Groups Links
|