SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: gonzongo who wrote (2916)1/7/1998 12:24:00 AM
From: TechTrader42  Read Replies (2) | Respond to of 11149
 
Andy: I'd love to catalog QP scans at my site. In fact, I'll create a new page for that purpose, modeled after my page for WOW formulas. I hope Jeff Grover and John Sugas won't mind my posting them, with their names as authors, of course. I'll start the page this week and post a link when I have a few up. The Vidya scan was enough to inspire more work with QP scans. I was astounded by it. Jeff took QP where even WOW had feared to tread.

Brooke



To: gonzongo who wrote (2916)1/9/1998 8:32:00 PM
From: TechTrader42  Respond to of 11149
 
Andy: Here's a scan for you: Your own Stochastics (55,21,5) system, more or less. Let me know if you find any errors (aside from the fact that you use weighted stochastics).

//Stochastics (55,21,5) by Andy Gabor,
//roughly translated for QP by Brooke. Andy uses weighted stochastics.

output="stochast.lst";
input="ibd.lst";

DaysToLoad=100;

Set Stochastic = 55,21,5;

if StochasticPctK(0) > StochasticPctK(-1) and
StochasticPctK(0)<75 and
StochasticPctK(0)>20 then
println Symbol:-3,"BUY , Close: ":-3,Close(0):7:3,"," , " StochaticPctK(0)", ",", StochasticPctK(0):7:3;
endif;

if StochasticPctK(0)<75 then //and
//StochasticPctK(-1)>75 then
println Symbol:-3,"SELL , Close: ":-3,Close(0):7:3,"," , " StochaticPctK(0)", ",", StochasticPctK(0):7:3;
endif;



To: gonzongo who wrote (2916)1/9/1998 9:12:00 PM
From: TechTrader42  Respond to of 11149
 
There were a couple of errors in my previous post: two typos (where I left an "s" out of "StochaticPctK") and some backslashes in the second if statement that shouldn't have been there. Here's the whole thing fixed:

//Stochastics (55,21,5) by Andy Gabor,
//roughly translated for QP by Brooke. Andy uses weighted stochastics.

output="stochast.lst";
input="ibd.lst";

DaysToLoad=100;

Set Stochastic = 55,21,5;

if StochasticPctK(0) > StochasticPctK(-1) and
StochasticPctK(0)<75 and
StochasticPctK(0)>20 then
println Symbol:-3,"BUY , Close: ":-3,Close(0):7:3,"," , " StochasticPctK(0)", ",", StochasticPctK(0):7:3;
endif;

if StochasticPctK(0)<75 and
StochasticPctK(-1)>75 then
println Symbol:-3,"SELL , Close: ":-3,Close(0):7:3,"," , " StochasticPctK(0)", ",", StochasticPctK(0):7:3;
endif;



To: gonzongo who wrote (2916)1/10/1998 2:09:00 PM
From: TechTrader42  Respond to of 11149
 
Here are two QP2 stochastics scans, translated from Andy Gabor's formulations for Window on Wall Street. One is Andy's stochastics (55,21,5) system, and the other is Jack Landis' weighted stochastics system.

//Stochastics (55,21,5) by Andy Gabor,
//roughly translated for QP by Brooke. Andy uses weighted stochastics.

output="stochast.lst";
input="ibd.lst";

DaysToLoad=100;

Set Stochastic = 55,21,5;

if StochasticPctK(0) > StochasticPctK(-1) and
StochasticPctK(0)<75 and
StochasticPctK(0)>20 then
println Symbol:-3,"BUY , Close: ":-3,Close(0):7:3,"," , " StochasticPctK(0)", ",", StochasticPctK(0):7:3;
endif;

if StochasticPctK(0)<75 and
StochasticPctK(-1)>75 then
println Symbol:-3,"SELL , Close: ":-3,Close(0):7:3,"," , " StochasticPctK(0)", ",", StochasticPctK(0):7:3;
endif;

*********

Andy's WOW formulation his (55,21,5) system is:

Enter:
mov(stoch(55,21),5,w)> ref(mov(stoch(55,21),5,w),-1) and mov(stoch(55,21),5,w)< 75 and mov(stoch(55,21),5,w) >20

Exit:
(mov(stoch(55,21),5,w) <75 and ref(mov(stoch(55,21),5,w),-1) >75)

************

Here's my QP translation of Andy's formulation of Jack's weighted stochastics system:

//Weighted Stochastics, by Jack Landis
//translated to Window on Wall Street by Andy Gabor
//translated to QP by Brooke Elise Nagler

output="stochas.lst";
input="ibd.lst";

DaysToLoad=150;

float a, b, c, d, e, wstocha, aa, bb, cc, dd, ee, wstochb;

Set Stochastic = 89,21,5;

a := .43*StochasticPctK(0);

Set Stochastic = 55,13,5;

b := .26*StochasticPctK(0);

Set Stochastic = 34,8,5;

c := .16*StochasticPctK(0);

Set Stochastic = 21,5,5;

d := .10*StochasticPctK(0);

Set Stochastic = 8,3,5;

e := .05*StochasticPctK(0);

wstocha := a+b+c+d+e; //This is the weighted stochastic total

Set Stochastic = 89,21,5;

aa := .43*StochasticPctK(-1);

Set Stochastic = 55,13,5;

bb := .26*StochasticPctK(-1);

Set Stochastic = 34,8,5;

cc := .16*StochasticPctK(-1);

Set Stochastic = 21,5,5;

dd := .10*StochasticPctK(-1);

Set Stochastic = 8,3,5;

ee := .05*StochasticPctK(-1);

wstochb := aa+bb+cc+dd+ee; //This is the previous day's weighted stochastic

if wstocha > wstochb and
wstocha > 12 then
println Symbol:-3,"BUY , Close: ":-3,Close(0):7:3,"," , " Weighted stochastic", ",", wstocha:7:3;
endif;

//Alternate buy signal (with "and wstochb<12") -- for fewer signals
//if wstocha > wstochb and
//wstocha > 12 and
//wstochb < 12 then
//println Symbol:-3,"BUY , Close: ":-3,Close(0):7:3,"," , " Weighted stochastic", ",", wstocha:7:3;
//endif;

if wstocha < wstochb and
wstocha < 88 and
wstochb > 88 then
println Symbol:-3,"SELL , Close: ":-3,Close(0):7:3,"," , " Weighted stochastic", ",", wstocha:7:3;
endif;

*********

Andy's WOW formulation of Jack's system is:

Wtd. Stochastics:
Enter:
.43*stoch(89, 21) +.26*stoch(55,13) +.16*stoch(34,8) +.10*stoch(21,5) +.05*stoch(8,3) > ref(.43*stoch(89,21) +.26*stoch(55,13)+ .16*stoch(34,8) +.10*stoch(21,5) +.05*stoch(8,3),-1) and .43*stoch(89, 21) +.26*stoch(55,13) +.16*stoch(34,8) +.10*stoch(21,5) +.05*stoch(8,3) > 12
Exit:
.43*stoch(89, 21) +.26*stoch(55,13) +.16*stoch(34,8) +.10*stoch(21,5) +.05*stoch(8,3) < ref(.43*stoch(89,21) +.26*stoch(55,13)+ .16*stoch(34,8) +.10*stoch(21,5) +.05*stoch(8,3),-1) and .43*stoch(89, 21) +.26*stoch(55,13) +.16*stoch(34,8) +.10*stoch(21,5) +.05*stoch(8,3) < 88

**********

Note that I added one thing to Jack's system in the alternate buy signal:

//if wstocha > wstochb and
//wstocha > 12 and
//wstochb < 12 then

Andy's translation doesn't specify that the previous day's weighted stochastic was less than 12. You get a lot of buy signals if it isn't in there. By adding "wstochb < 12," the signal is given only when the weighted stochastic has just risen over 12.

Try out the scans, and let me know of any corrections, improvements, etc.

Brooke



To: gonzongo who wrote (2916)1/10/1998 2:17:00 PM
From: TechTrader42  Read Replies (2) | Respond to of 11149
 
Has anyone else found it difficult to access SI yesterday and today? I can't reach it with Netscape today, and the server frequently isn't available with MSIE, either.

Brooke