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

Re: [amibroker] Re: Coding problem



PureBytes Links

Trading Reference Links




Thanks Jayson and Dimitri.  I think things are a 
little more complicated, but its a good starting point.  
Bill
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Jayson 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, September 10, 2003 4:50 
  PM
  Subject: RE: [amibroker] Re: Coding 
  problem
  
  <FONT face=Arial color=#0000ff 
  size=2>Dimitris,
  <FONT face=Arial color=#0000ff 
  size=2>Right you are. Perhaps....
  <FONT face=Arial color=#0000ff 
  size=2> 
  range= 
  rsi(14)>50 and rsi(14)<60; kiss=ref(range,-1)==1 and 
  rsi(14)<50;
   
  Regards, 
  Jayson 
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: DIMITRIS TSOKAKIS 
  [mailto:TSOKAKIS@xxxxxxxxx]Sent: Wednesday, September 10, 2003 4:14 
  PMTo: <A 
  href="">amibroker@xxxxxxxxxxxxxxxSubject: 
  [amibroker] Re: Coding problemJayson,range is a 
  Boolean condition, equal to 1 or 0ref(rsi(14),-1) is the previous rsi 
  valueDimitris 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@xxxx]> 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: <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 Yahoo! Terms of 
  Service.Send 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. 
  Send 
  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


  ADVERTISEMENT 









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.