[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [system-traders] few questions
Hi Enrico,
> Ok, for optimize I mean the standard "opt" variable you can find in the
> Metastock Language.
To do this in GT is not trivial but possible. You have to write a small
script as for (my $i=0; $<=50; $i+=5) {print "Systems::Generic
Signals::Generic::CrossOverUp {I:SMA $i} {I:SMA x} [Close, etc. ...] \n";}
and pipe the output in an file system.txt.
Next you use this file and a file with the corresponding stock codes as
input for backtest_many.pl. I personally use the output to STDOUT of the
script and evaluate it by an other perl program.
HTH, Olf