Hi Tan Ming
I suspect you might be using "minimum records" for
your explorations. Functions like Highest(), BarsSince(), and ValueWhen()
don't force an exploration to use at least a certain number of bars, so you have
to specify the number of bars to be scanned. Functions using a "Periods" parameter force the Explorer to us at least
that many bars so that the function returns a valid result. Set the number of
bars to 100 or 200 and see how that works.
Kind
regards
Roy
----- Original Message -----
Sent: Friday, June 24, 2005 6:49 PM
Subject: [EquisMetaStock Group] 1 Day Percentage Change
Hi Roy,
Previously I input the formula, after
enquiring with u, Highest(BarsSince((100*(H-L)/L)>5)) to find maximum
number of bars a stock spend in trading when its 1 day percentage dip below
5%.
The formula works great in indicator but when used in explorer, it
seems mixed up with other result.
The top is the indicator using
Highest(BarsSince((100*(H-L)/L)>5)). The middle is merely 100*(H-L)/L
with 5% line. The indicator tops at 46bars meaning this stock’s 1 day
percentage change dips below 5% for 46 days.
Everything was correct.
However the funny thing in the explorer, using
Highest(BarsSince((100*(H-L)/L)>5)), same as the formula of indicator,
return 2 bars instead of 46bars which is not correct. Am I missing
something? I tried inverse the > sign but the result
remains.
_________________________________________________________________ Get
an advanced look at the new version of MSN Messenger. http://messenger.msn.com.my/Beta/Default.aspx
Yahoo! Groups Links
|