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

RE: [amibroker] Formula question



PureBytes Links

Trading Reference Links




You 
may be getting no signals because the two indicators you are measuring are so 
different. try this exploration to see your values...
<SPAN 
class=895130915-13032003> 
<FONT 
color=#000000> 
Filter=C>0<FONT 
color=#0000ff>;<FONT 
size=2>
AddColumn(<FONT 
color=#0000ff>ROC(<FONT 
color=#000000>C<FONT 
color=#282828>,14<FONT 
color=#282828>),"<FONT 
color=#ff00ff>ROC"<FONT 
color=#282828>);<FONT 
size=2>
AddColumn(<FONT 
color=#0000ff>MA(<FONT 
color=#000000>C<FONT 
color=#282828>,20<FONT 
color=#282828>),"<FONT 
color=#ff00ff>MA"<FONT 
color=#282828>);<FONT 
size=2>
AddColumn(<FONT 
color=#000000>C<FONT 
color=#282828>,"<FONT 
color=#ff00ff>Close"<FONT 
color=#282828>);
 
To see 
how cross works try applying it to something like close and its 
ma
<SPAN 
class=895130915-13032003> 
<SPAN 
class=895130915-13032003>cross(c,ma(c,20);
 
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: the_chairmann 
[mailto:jhart_1972@xxxxxxxxx]Sent: Thursday, March 13, 2003 8:53 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
Formula questionI'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 appreciatedSend 
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.