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

AW: [system-traders] few questions



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