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

[EquisMetaStock Group] Re: Current security symbol within indicator?



PureBytes Links

Trading Reference Links

Johnathan, this is only possible through the use of an external function, 
such as with the Filter.dll used in the URSC tool-kit.
http://www.metastocktools.com/URSC/URSC.htm

In the URSC code example below, you would place your list of symbols in 
one or more text files, and the filter function would look for a match 
between the current chart's symbol and your text file.  If found it would 
flag a True(+1) condition, else False(0).


==============
list1.txt file
==============
---8<---------
DJI
etc...
---8<---------


=========
Indicator
=========
---8<--------------
match:=ExtFml("Filter.Symbol","C:\URSC\list1.txt");
x:=if(match,C,V);
x
---8<--------------



jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, JohnathanStein <no_reply@xxx> 
wrote:
>
> Is there a way to determine a the current security's symbol inside a 
> formula/indicator?
>  
> Something like:
> -----------------------
> x:=if(CurrentSymbol(".DJI"),c,v);
>  
> or like:
> ----------
> x:=if(CurrentSymbol("C:\Metastock Data\.DJI"),c,v);
>  
> or even:
> ------------
> x:=if(CurrentSymbol()=".DJI",c,v);
> 
> 
> --Johnathan





 
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/