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

SP Shorter #17



PureBytes Links

Trading Reference Links

The other day I was looking for some 5 minute data - thanks to all who
responded - and here's the prototype system. On the current contract it
shows 100% successful trades - 6 trades total - ROA is 572%. If you allow it
to do multiple contracts it still bats 100% on 77 trades total. ROA is 311%.

I don't think it works this well on other contracts but the idea looks
promising.

Best rgds
Phil
P.S. There are no built-in TS stops!!!

{SP Shorter #17}
{set TS to exit trades on the close}

{determine number of bars since open}
if date<>date[1] then begin
 value1=barnumber;
 value3=c data1;
 value33=open data1;
 if  value33<c[1] then condition99=true else condition99=false;  {down open}
 end

 else begin

 value2=currentbar-value1;

 {average price}
 value3=value3[1]+c data1;
 value93=value3/(value2+1);

 if  value93<value33 and condition99 then
  sell 1 contract value33-1 limit;

end;