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

[EquisMetaStock Group] Re: Getting Ticker Name - IS there a way?



PureBytes Links

Trading Reference Links

Bryan, as an application example to Brad's second solution, the URSC 
MetaStock kit uses a custom dll that matches the current chart's symbol 
to any symbol found in any number of text lookup lists, thus enabling it 
to match the chart to a particular index or favourites list.

For example, if the chart's symbol matches the selected symbol list  by 
the dll (say, MyFavs-05.txt), then it returns a true (+1) boolean value, 
which could then be assigned a discreet or unique value.

http://metastocktools.com/URSC/URSC.htm
(not available until Sept 2005)

jose '-)



--- In equismetastock@xxxxxxxxxxxxxxx, "mr. bryan mccormick" 
<deepfoobar@xxxx> wrote:
> Very helpful indeed thanks. So really the .dll can
> have access to this record for its own purposes but it
> cannot pass this back to MS because it has no string
> handling facility? 
> 
> When a chart is loaded, how does an external formula
> "know' the symbol? Does it? Or does this come from the
> record structure you talked about?
>
> 
> --- bradulrich33 <brad.ulrich@xxxx>
> wrote:
> 
> Every MSXDataRec (the basic structure that is passed
> in when you pass in a price array) contains a string (i.e., character
> array) called "pszSecurityName". This will work just fine
> inside of a DLL, but unfortunately, you can't return a string from a
> DLL, only another array.  
> 
> But several methods come to mind that may help
> accomplish your task:
> 
> You can check to see if the passed in array's name
> equals a name that you hard-code into your 
> DLL, and return a boolean (zero or one) "constant array".  
> 
> Or you could have a list of names hard-coded into
> your DLL, and return a different numeric "index" for each name in
> the list.  
> 
> Finally, you could pass in a name as a string argument, and then 
> return zero or one if it matches it or not.
> 
> Hope this helps,
> 
> Brad Ulrich
> TheDML, LLC
> 
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "deepfoobar"
> <deepfoobar@xxxx> wrote:
> Folks,
> 
> I am curious if there any way at all to get the
> current symbol value (ticker) back from MS in formula or DLL?
> 
> BTW this value does not at all have to be something that MS itself
> recognizes, I simply need to pass it along as a value to a .DLL.
> 
> It seems completely brain-dead to me that MS never
> provided a way to do this but I won't be surprised if the answer
> turns out to be "there is no way".








 
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/