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

Re: [EquisMetaStock Group] Function Syntax



PureBytes Links

Trading Reference Links




Hi Tim,
 
RSC is not available in the Metastock Formula 
Language - it's for plotting onto a chart ONLY.  <FONT face=Arial 
size=2>All that an RSC is is one security divided by another.  The RSC 
pulldown function also allows you to normalise the final value so it starts at 
zero.
 
If you want to put an RSC into an explorer there 
are two ways depending upon which version of Metastock you have.
 
1.    Using the SECURITY function 
(only available in Metastock Professional and Metastock (EOD) v8.01
 
<FONT face=Arial 
size=2>C/SECURITY("c:\premiumdata\us\indices\DJIA",C)
(ie show the RSC of the current stock versus the 
dow jones industrial average)
 
2.    Using the "P" variable (this 
is available in all versions of Metastock).
 
The "P" variable is the currently highlighted 
prices of the current opened chart.  ie click on the candles/bars/line and 
you'll see it highlighted.  This is now the "P" variable.
In your explorer formulae, you can access the price 
of the selected stock as "P"
eg.
C/P
(ie show the RSC of the current stock being 
explored versus the highlighted stock)
 
Obviously #2 is a bit more painful because you have 
to open up a chart and highlight the prices for it to work.
 
Cheers,Richard.Norgate Investor ServicesPremium Quality Stock 
and Futures Data for Australian, Asian & US Markets<A 
href="">www.premiumdata.net
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=tim_paul@xxxxxxxxxxxxxxxxx 
  href="">Tim Paul 
  To: <A 
  title=equismetastock@xxxxxxxxxxxxxxx 
  href="">equismetastock@xxxxxxxxxxxxxxx 
  
  Sent: Tuesday, May 27, 2003 10:47 
AM
  Subject: RE: [EquisMetaStock Group] 
  Function Syntax
  
  
  <SPAN 
  >Jay the difference 
  between syntax and formula is stark. The syntax is the coding that details how 
  a programmer is to use a function eg. for RSI the Syntax is <SPAN 
  >RSI(Data Array, Periods) where a formula 
  may be considered a combination of functions and there associated parameters 
  as in the Metastock <SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  >oppock Indicator 
  Mov(RO<FONT 
  face=Arial color=navy size=2><SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  >(<FONT 
  face=Arial color=navy size=2><SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  >,14,%)+RO<FONT 
  face=Arial color=navy size=2><SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  >(<FONT 
  face=Arial color=navy size=2><SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  >,11,%),10,W);0<FONT 
  face=Arial color=navy size=2><SPAN 
  >. The Metastock 
  manual contains syntax for many of the functions but, it would seem, not all. 
  I simply want to know what the SYNTAX of RS<FONT face=Arial 
  color=navy size=2><SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  > is and also whether 
  there is a complete set of documentation that outlines all the Metastock 
  functions syntax whether this is an official guide or 
  unofficial.
  <SPAN 
  > 
  <SPAN 
  >C<FONT 
  face=Arial color=navy size=2><SPAN 
  >heers
  <SPAN 
  > 
  <SPAN 
  >Tim






Yahoo! Groups Sponsor












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





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.