PureBytes Links
Trading Reference Links
|
Jayson,
range is a Boolean condition, equal to 1 or 0
ref(rsi(14),-1) is the previous rsi value
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Bill I think you could specify the range with greater than/less
than and
> look for the reversal with the ref function. something like
>
> range= rsi(14)>50 and rsi(14)<60;
> kiss=ref(rsi(14),-1)==range and rsi(14)<50;
>
> (not tested, just a random thought that might get you started..)
>
> Regards,
> Jayson
> -----Original Message-----
> From: wavemechanic [mailto:wd78@x...]
> Sent: Wednesday, September 10, 2003 10:15 AM
> To: AmiBroker, Yahoo
> Subject: [amibroker] Coding problem
>
>
> Hi:
>
> Would appreciate it if someone could put me on the right track. I
am trying
> to code the condition where an indicator "kisses" a specific
level. By
> "kisses" I mean touches and then reverses. Of course, one would
have to
> specify a range, as opposed to a specific level, in which the kiss
is in
> play. Ideally, a "Kiss" function similar to Cross would be great.
>
> Thanks.
>
> Bill
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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 the Yahoo! Terms of Service.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/
|