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

Re: [EquisMetaStock Group] Re: Generic formula with variables.



PureBytes Links

Trading Reference Links

Harry, Greg

> I am new to Metastock, and having the same problem (see thread
> entitled: "Assigned Variable with Explorer"). Page 354 of the
> Metastock 8 manual says explorations will NOT do what you (and I) want
> to do. It seems like a real "make work" situation. I am also looking
> for a workaround/fix. I hope someone out there has one.
>
> Harry

My suggestion is that you construct one indicator with a selection of all
the variables you might want to access. I'm sure there are a number of other
approaches. My preference is to duplicate the custom indicator with a
different default value applied to each copy.

  {Selected Periods}
Period1:=5;
Period2:=10;
Period3:=13;
Period4:=20;
Period5:=21;
Period6:=25;
Period7:=30;

All your explorations could then access specific constants from this one
indicator using something like this in each column or filter:-

Periods1:=LastValue(FmlVar("Selected Periods","Periods1"));

When you want to rerun one or more explorations with different values just
open the one indicator first and adjust whatever values need changing. It
would be a simple matter to display one "Selected Periods" indicator value
constantly on your smart charts (by adding to the default template) to make
access to the indicator very fast.

By carefully and efficiently constructing your explorations you can extract
a huge amount of information from each one. Sorting and selecting specific
column results before printing can also improve the efficiency of an
exploration.

Each column of an exploration can contain as much data and as many variable
as the most complex indicator - make the most of it.

Roy



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/