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

[EquisMetaStock Group] Re: help needed for code



PureBytes Links

Trading Reference Links

Fredrik, what version of Metastock are you using?
Do you want this for real time or end of day?
You will have to use the Security function to get your values

A1:=security("c:\Metastock Data\Sample\IBM",C);
A2:=security("c:\Metastock Data\Sample\Dell",C);
A3:=security("c:\Metastock Data\Sample\MSFT",C);
A4:=security("c:\Metastock Data\Sample\CSCO",C);
A5:=security("c:\Metastock Data\Sample\PSFT",C);
D:=(A1+A2+A3+A4+A5)/5;
D;

--- In equismetastock@xxxxxxxxxxxxxxx, "Fredrik Levy" <f.levy@xxxx> 
wrote:
> Hi,
> 
> I'm a newbie to metastock and haven't learned to code yet...
> 
> Does anybody have code for the following??
> 
> I'd like to plot a bar chart of the aggregate price of, for 
example, five specific stocks and their volume. Stock 1's close + 
stock 2's close + stock 3's close + stock 4's close + stock 5's 
close divided by 5. And for the high and the low, as well.
> 
> 
> Fredrik



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
     equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/