PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxxx>
------------------------ 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/
|