| 
 PureBytes Links 
Trading Reference Links 
 | 
--- In amibroker@xxxxxxxxxxxxxxx, Franco Gornati <fgornati@xxxx> 
wrote:
> netbull2000 wrote:
> 
> > Hello again,
> > 
> > I would like to know how to get the low and the high of the first 
bar 
> > that closes above/below a given moving average. How do I do this?
> > 
> > TIA,
> > Wally
> 
> HighValue = ValueWhen(Cross(C, EMA(C, Period)), H) // cross above
> LowValue = ValueWhen(Cross(C, EMA(C, Period)), L)  // cross above
> 
> HighValue = ValueWhen(Cross(EMA(C, Period), C), H) // cross below
> LowValue = ValueWhen(Cross(EMA(C, Period), C)), L) // cross below
> 
> -- 
> Franco Gornati <fgornati@xxxx>
Thanks... you guys are incredible. I appreciate that.
Thanks to Graham too, but I think this version is what I actually 
need.
Wally
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
 
 |