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

Re: [amibroker] Does anyone use Foreign function?



PureBytes Links

Trading Reference Links


your indicator doesn't appear to use the current 
symbol being displayed.  if you replace the foreign ^gspc (whatever that 
is) with KO, INTC, etc the result will probability work, however, it will not 
change with changing symbols.
 
a good debug technique is to, for example,plot the 
x and see what you get...
 
Good luck,
 
Richard
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Greg Q. Liu 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Friday, July 12, 2002 10:36 
AM
Subject: [amibroker] Does anyone use 
Foreign function?

I have following codes:
 
x=Foreign("^gspc","C",fixup=1);y=(x/Ref(x,-1) 
- 1)*100;z=MA(y,40);Plot(z, "",1,1);
 
My result is ko(or other symble)=-100000...00.00, 
does anyone have some different experience?Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.