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

Re: [amibroker] Re: Formula question



PureBytes Links

Trading Reference Links




I don't think that I was the one to say never. I learned long 
ago to never say never. Maybe something like "highly improbable..."
 
You're right, if the close is a small 
number and then proceeds to change a larger amount than what the close started 
from, that could make a cross. Especially since AB ROC is a 
percentage.
 
Regardless, I always plot my signals because I like visual 
conformation. It also makes clear if what looked great in theory was 
miserable in practice.
 
-CS
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  DIMITRIS 
  TSOKAKIS 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, March 13, 2003 1:33 
  PM
  Subject: [amibroker] Re: Formula 
  question
  CS,Well, never say never.Although MA(C,10) and 
  ROC(C,10) are different curves, they may give cross points for many 
  stocks. Perhaps not for a high value index, like ^NDX but certainly for 
  many stocks of $1, $5 or even $50.ROC(C,10)may be >100.Just run 
  theFilter=1;AddColumn(Highest(ROC(C,10)),"");for the n=1 last 
  quotation and you will see.Except this, it is meaningless to compare 
  ROC(C,10) with a price average, the probable crosses are 
  coincidental...DT>   --- In amibroker@xxxxxxxxxxxxxxx, 
  "Chuck Rademacher" >   <chuck_rademacher@x> 
  wrote:>   > I think others may have answered your 
  question, but I'll approach >   it from 
  a>   > different angle.>   > 
  >   > ROC is going to give you the rate of change; a very 
  small number >   somewhere>   > 
  between zero and, maybe two at the most.>   > 
  >   > The moving average of price could give you a very 
  high number >   (like $50).>   > 
  >   > These two numbers will NEVER 
  cross.>   >   -----Original 
  Message----->   >   From: the_chairmann 
  [mailto:jhart_1972@xxxx]>   >   Sent: Thursday, 
  March 13, 2003 8:53 AM>   >   To: 
  amibroker@xxxxxxxxxxxxxxx>   >   Subject: 
  [amibroker] Formula question>   > >   
  > >   >   I'm new to the programming language 
  and am trying to familiarize>   >   myself 
  with AFL.  I'm currently trying to learn the "cross" >   
  function>   >   by puting in a simple moving avg 
  crossing a ROC indicator scan.  >   
  I>   >   don't know why this is such a struggle 
  b/c it looks relatively >   easy>   
  >   from the user's guide.>   > 
  >   >   Here's what I 
  have...>   >   Buy= 
  Cross(ROC(14),MA(Close,20));>   > >   
  >   any help would appreciated>   > 
  >   > >   
  >         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.> > 
  >         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. 







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.