[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Coding problem



PureBytes Links

Trading Reference Links




Bill I 
think you could specify the range with greater than/less than and look for the 
reversal with the ref function. something like
<FONT face=Arial color=#0000ff 
size=2> 
range= 
rsi(14)>50 and rsi(14)<60;
<FONT face=Arial color=#0000ff 
size=2>kiss=ref(rsi(14),-1)==range and rsi(14)<50;
<FONT face=Arial color=#0000ff 
size=2> 
(not 
tested, just a random thought that might get you started..)
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: wavemechanic 
[mailto:wd78@xxxxxxxxxxxx]Sent: Wednesday, September 10, 2003 10:15 
AMTo: AmiBroker, YahooSubject: [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.
 
BillSend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.