Originally posted by dozu888
I believe this will reduce the number of trades, and also stay out of the chops when market has no direction and ROC hangs around the 0 line... in other words, when we are flat and ROC does not break either the 2 or -2 threshold, we would stay flat.
I'm at home and not at the office, so I've had to use Quote.com data. I've used the SP index vs. futures, also. However, this should give us a close enough comparison.
Originally posted by dozu888
by the way, I suppose MB didn't post the logic of the fast ball, but if it also uses a bias setting like 3/1, then I doubt it's robustness in real trading. Also, the 1pm stuff sounds like optimization to me, there isn't really anything special about 1pm such as bond market open/close, economic number announcement etc....
I don't see any significant relation to 1 pm either, however this doesn't allow us to draw a conclusion one way or the other. Deal only in facts ... analyze the data and see what results.
The rough tests follow:
I'm including the exact code and data used so others can try things out for themselves.
One change I made is I used 30 min bars vs. 60 as Oddball trades on natural hours and for some reason, TS2000i would allow plotting of natural hour bars with third party data???
The length of the rate of change was adjusted to 14 to compensate for this.
Code for original oddball:
Inputs: RL(14), BZ(3), SZ(1);
if time > 0930 and time <= 1600 then begin
If ROC(Close Data2, RL)>BZ Then Buy;
If ROC(Close Data2, RL)<SZ Then Sell;
end;
Code for oddball-dozu888:
Inputs: RL(14), BZ(2), SZ(-2);
if time > 0930 and time <= 1600 then begin
If marketposition=0 and ROC(Close Data2, RL)>BZ Then Buy;
If marketposition=0 and ROC(Close Data2, RL)<SZ Then Sell;
if marketposition>0 and ROC(Close Data2, RL)<0 Then exitlong;
if marketposition<0 and ROC(Close Data2, RL)>0 Then exitshort;
end;
Code for oddball-rcreal (1300 hrs filter):
Inputs: RL(14), BZ(0), SZ(0);
if time = 1300 then begin
If ROC(Close Data2, RL)>BZ Then Buy;
If ROC(Close Data2, RL)<SZ Then Sell;
end;
The SP data can be downloaded from:
http://www.geocities.com/cgr8deals2000/SP5.zip
The Advn issues data can be downloaded from:
http://www.geocities.com/cgr8deals2000/adv5.zip
Time period tested was 12/4/2000 to 12/14/2001.
Results of this (crude) test follow: