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

testing results



PureBytes Links

Trading Reference Links


Hi all I was playing with an formula posted on the 
group ages ago to do with % bearish signals,
 
I want something that I could quickly insert my 
search code and then check for performance over X n periods.
 
included is the modified code form the user group 
if any one can see errors or has a better method please contribute 
 
 
Thanks David
 
this one use the hammer pattern 
 
 
/* example exploration 2 */P=10;/*  change 
percentage loss*/D=20;/*  change days to wait for bearish 
confirmation*//* buy condition  */
 
MTL=llv(low,5);
 
COND11=open >= high-(high-low)*.25And Close >= high - 
(High-Low)*.25And MTL;
 
 
 
/* Bearish search */COND111=IIF(REF(COND11,-20)>0 AND 
LLV(C,20)<(1-(P/100))*REF(C,-D),1,0);
 
filter=cond111==1;
 
NUMCOLUMNS=5;
 
COLUMN0=CUM(COND11);column0name=" Pattern TIMES";
 
COLUMN1=CUM(COND111);column1name="BEARISH";
 
COLUMN2=100*COLUMN1/COLUMN0;COLUMN2NAME="% Bearish";
 
column0format=1.0;column1format=1.0;column2format=1.0;
 
SELL=COND11;BUY=filter;