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

Re: AW: [system-traders] few questions



Hi Olf,

Thanks for your reply and advices.
Ok, for optimize I mean the standard "opt" variable you can find in the Metastock Language. Anyway it lets you
to perform multiple tests while varying one or more variable. Say we want
to test a 10- to -50- period moving avg, by 5- period increments, you can
tune up the OPT1 variable (is there something similar in GT?). (hope I
was clear enough).

E.

On Sat, 8 Nov 2003 olf
AT
olfsworld.de wrote:

> Hi Enrico,
>
> Welcome to this list :)
>
> > 1--How has to be the format of data prices?. Can I use this kind of
> data
> > prices?
> > <date>   <open>  <high>  <low>   <close> <volume>
> > 19621120,29.8700,30.5000,29.5000,30.5000,3100,
>
> You can either modify Text.pm in a way that it reads the data directly or
> you can convert them with a perl-snippet as the following:
>
> while (<>) {
>   chomp;
>   my @a = split /,/, $_;
>   my $dat = shift @a;
>   $dat =~ s/(....)(..)(..)/$1-$2-$3/;
>   push @a, $dat;
>   print join("\t", @a) . "\n";
> }
>
> This should work but at the moment I can't test it :)
>
> > 2-I want to diplay some nice charts (not for me, but for those "voyeur"
> > of my collegues). Whats the command? ./grapics.pl <somedata> ??
>
> Some weeks ago I posted a filed manual.tgz in one of the lists. If you
> have a look at the archive you can find it. It is a goord starting point
> for working with graphic.pl...
>
> > 3- Is there a way to optimize the mov-avg tester?
>
> I don't understand this question. Do you want to find the optimal
> parameters for an moving-average-system? In that case you can e.g.
> generate all possible systems and test them using backtest_many.pl
>
> > And last but not least just a coffe-bar question? Is there a way to
> > implement the fuzzy perl model?
>
> What do you mean? Fuzzy indicators and signals?
>
> CU, Olf
>