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

Re: [amibroker] Foreign Function and Moving Averages



PureBytes Links

Trading Reference Links

dja=   MA (Foreign( "^DJA", "C" ),5);
djaREF=   ref(dja,-1);

----- Original Message -----
From: prog200
Sent: Friday, February 18, 2005 10:30 PM
Subject: [amibroker] Foreign Function and Moving Averages



I would like to write the following formal but Foreign does not
allowed this is there another way to find the Moving averages?
dja=    (Foreign( "^DJA", "MA(C,5)" ));
djaREF=    (Foreign( "^DJA", "REF(MA(C,5),-1)" ));

The foreign Function Allowable data fields are: "open", "close",
"high", "low", "volume", "interest".

Thanks

Marty





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html




Yahoo! Groups Links

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005