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

Re: [amibroker] Does anyone use Foreign function?



PureBytes Links

Trading Reference Links


Hello,
 
The code you have given works provided you have ^GSPC present 
in your database.
 
If the symbol given in Foreign function does not exist you get 
-10000000000
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Greg Q. Liu 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Friday, July 12, 2002 5:36 PM
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.