[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

Ooopsey - spoke too soon in
http://finance.groups.yahoo.com/group/equismetastock/message/23979

You can do it this way (MS Pro or MS EOD v8.01 or later):

---8<---------------
x:=Security(".DJI",C);
match:=LastValue(Cum(C)=Cum(x));
y:=If(match,C,V);
y
---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/