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

[EquisMetaStock Group] Re: How to reference shares against each other for test/exploration



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "chellester2002" <rego2@xxx> 
wrote:
>
> Hi I'm wanting to create a test which references the performance of 
a 
> couple of other securities.  For example just for a basic idea, how 
> would I write - if shareA is > shareB then buy shareC.
> (I know how to use the if() function, it's just the calling of 
other 
> securities within the system test for shareC for buy signals.)
> I'm using version 9.1
> 
> Thanks
>
Found this which answers my question - 

SYNTAX	security("SYMBOL",DATA ARRAY)

FUNCTION	Returns the value of DATA ARRAY for the specified 
security.  If the security is in the same folder as the base 
security, a path is not required.  You may also specify online data 
by using ONLINE: as the path.

EXAMPLES	security("c:\MetaStock Data\Sample\IBM",C)
		security("ONLINE:IBM",C)
		security("IBM",C)



 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/