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

Re: [EquisMetaStock Group] Use of Security() Function in an Indicator



PureBytes Links

Trading Reference Links

If the Security function symbol data is in the same data folder as the chart
you are on your code should work.   However, if the data is in a different
folder then you must put the entire windows path in.

eg:

adr:=("C:\MetaStock Data\index\x.nasd-a", C) /  ("C:\MetaStock
Data\index\x.nasd-d,C) ;
adr

try putting in the entire path, subsituting the folder that has your data in
it.   One advantage of using the full path is that you can then plot the
indicator on any security in any folder.

Tom

----- Original Message ----- 
From: "Joe Dupcak" <jdupcak@xxxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Monday, November 24, 2003 8:23 PM
Subject: [EquisMetaStock Group] Use of Security() Function in an Indicator


> As a learning experience, I am attempting to use the Security function in
an
> indicator.  For starts, I am trying to develop an indicator that
calculates
> the NASD advance decline ratio using the following code:
>
> adr:= Security("x.nasd-a",C)/Security("x.nasd-d",C);
> adr
>
> When I try to apply the indicator I get an error message "No data exists
for
> requested data range in Security() function..."  I've check the load
option
> for Periods and made sure I used the same number of periods (2000) for the
> base security as well as for x.nasd-a and x.nasd-d.  I have checked the
> manual but it doesn't give me any clues.  I am using MS Version 8.01 EOD.
> Is there anyone who has solved how to use the Security function?  Thank
you
> for your help.
>
> JD
>
>
>
> 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/
>
>
>


------------------------ 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
---------------------------------------------------------------------~->

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/