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

RE: [amibroker] need help with basic trend formula



PureBytes Links

Trading Reference Links




Hey 
Ron,
<SPAN 
class=771225323-06092003> 
Try 
adding a comma.....    <FONT face="Courier New" color=#000000 
size=3>Buy = C > Ref (C,-1 )
<BLOCKQUOTE 
>
  <FONT face="Times New Roman" 
  size=2>-----Original Message-----From: rmortonmd 
  [mailto:mortonr003@xxxxxxxxxxxxx]Sent: Saturday, September 06, 2003 
  7:51 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  need help with basic trend formulaI'm trying to 
  create a short positive trend formula to see that the closing value has 
  risen consistently over the past 5 days://Uptrend BuyBuy = C 
  > Ref (C-1 ) //5 Day Buy SignalAND Ref( C, -1 ) > Ref( C, -2 ) 
  AND Ref( C, -2 ) > Ref( C, -3 )  AND Ref( C, -3 ) > Ref( C, 
  -4 )  AND Ref( C, -4 ) > Ref( C, -5 )AND C>10 AND C<50 
  AND V>500000; I keep getting an error message 12 for "missing 
  arguement".  I based this code on one that I found on this site for 
  buying based on a rising OBV and subsituted the closing price for 
  OBV.  Everything was kept the same.  Any help would be 
  appreciated.ronSend 
  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.