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

RE: [amibroker] Re: $ in a FT symbol



PureBytes Links

Trading Reference Links




Well, 
I think you have some work to do.
<FONT face=Arial color=#0000ff 
size=2> 
If 
you've defined some variables previous to the statement below with a dollar sign 
prefix, simply remove the dollar sign in those statements and the one you are 
showing me.   But, I don't think that is the case.
<FONT face=Arial color=#0000ff 
size=2> 
I 
think that you want some value derived from the data filed under those 
tickers.
<FONT face=Arial color=#0000ff 
size=2> 
If 
that's the case, have a good look at the "Foreign" 
statement.
<FONT face=Arial color=#0000ff 
size=2> 
You 
will need something like:
<FONT face=Arial color=#0000ff 
size=2> 
NADV = 
Foreign("$nadv","close",1);
DECL = 
Foreign("$decl","close",1);
<FONT face=Arial color=#0000ff 
size=2>IssRatio = NADV / DECL;
<FONT face=Arial color=#0000ff 
size=2> 
I hope 
this helps.  It's difficult, sometimes, trying to figure out what people 
are trying to do.   But, I think you are trying to get some values out 
of your data for $nadv and $decl.   If you want something besides 
the close price, just substitute "open", "high", etc. for 
"close".
<FONT face=Arial color=#0000ff 
size=2> 
Don't 
hesitate to get back to us if the above doesn't help or if I completely 
misunderstand what you are trying to do.
<BLOCKQUOTE 
>
  <FONT face="Times New Roman" 
  size=2>-----Original Message-----From: richardlboroff 
  [mailto:rboroff@xxxxxxxx]Sent: Friday, July 18, 2003 4:59 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
  $ in a FT symbolChuck,My line in an afl file 
  isIssRatio = $nadv / $decl;And I get the error 
  message----Syntax error at line 41, column 12:IssRatio = 
  $-----------^So I guess the question is, what is it really telling 
  me.And yes,  I can use this symbol in a watch list, no problem, 
  just get stopped in the afl 
  file.ThanksRichard--- In 
  amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher" <chuck_rademacher@x> 
  wrote:> Why do you think that you cannot have symbols starting with 
  "$"?> > All of my mutual fund data is prefixed with a dollar 
  sign and it causes me> no problems.   Can you tell us 
  more about the kind of problems you are> 
  having?>   -----Original Message----->   
  From: richardlboroff [mailto:rboroff@xxxx]>   Sent: Friday, 
  July 18, 2003 3:47 PM>   To: 
  amibroker@xxxxxxxxxxxxxxx>   Subject: [amibroker] $ in a FT 
  symbol> > >   FastTrack has some indices which 
  start with "$", such as "$nadv"> >   I want to use the 
  symbols in an AFL file, but the program won't let>   
  me.> >   How do I get around that.> 
  >   Thanks> >   Richard 
  Boroff> > 
  >         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.