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

[system-traders] follow-up to previous: how are stochastic %K and %D and signal line defined



Just read Ollie's instructs for windoze and I am barking up wrong
tree. I really should be doing evrything from command line. Which
begets another question:

What is the correct implementation of  for stochastic crossovers? I
would like to test a system that opens long positions on a crossover
by %K over %D, and initiate a short position when %K crosses under %D
AND I am using 30/70 signal levels.

C:\geniustrader\scripts\backtest.pl
 --system="Generic {S:Generic:CrossOverUp {I:STO 9 3 3 3 3} {I:STO 9 3 3 3 3}}
                   {S:Generic::CrossOverDown {I:STO 9 3 3 3 3} {I:STO
9 3 3 3 3}}"
 --close-strategy="OppositeSignal" 13000

I'm thinking I must add a '--filter...' param to my script yes? I am
unsure how to define the %K and %D indicators. I may just be looking
at old code and need to get the newest code working under windoze or
just ditch it and get my FreeBSD install up and working...

Sorry about the previous post and thanks again.

Greg
--
"Stress is when you wake up screaming and you realize you haven't
fallen asleep yet"
~~ anonymous