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

Re: [amibroker] Help with formula- again...



PureBytes Links

Trading Reference Links




Should you have iif in the fifth line instead of 
if??  Ron D
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=gillesdeprez@xxxxxxxxx 
  href="">gillesdeprez 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Saturday, September 06, 2003 12:42 
  AM
  Subject: [amibroker] Help with formula- 
  again...
  Hello,After fighting for hours, I give up after the fifth 
  line, before I jump trhu the window, screaming! I know I jump often- I 
  live on the ground level.If one of you knows MS and is kind enough to 
  give me a hand..."Recursive moving trend average"Lb:=Input("Look-Back 
  Period?",3,100,21);Ty:=Input("1=C 2=H 3=L 4= Median 
  Price",1,4,1);Tv:=If(Ty=1,C,If(Ty=2,H,If(Ty=3,L,MP())));Alpha:=2/(LB+1);Bot:=(1-Alpha)*(If(Cum(1)<Lb,Tv,PREV))+Tv;RMTA:=(1-Alpha)*(If(Cum(1)<Lb,Tv,PREV))+(Alpha*(Tv+Bot-Ref(Bot,-1)));RMTATIA!Gilles------------------------ 
  Yahoo! Groups Sponsor ---------------------~-->Buy Ink Cartridges or 
  Refill Kits for Your HP, Epson, Canon or LexmarkPrinter at Myinks.com. 
  Free s/h on orders $50 or more to the US & Canada. <A 
  href="">http://www.c1tracking.com/l.asp?cid=5511<A 
  href="">http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send 
  BUG REPORTS to <A 
  href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  <A 
  href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: <A 
  href="">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 <A 
  href="">http://docs.yahoo.com/info/terms/ 
  






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.