Thanks for the slope formula. I've included it with some modifications shown below. I'm a very short term trader and focus on the OEX and SP-500. I've also given up on trying to get the complete trend and looking for only 5 points each trade. So I meant to use the system to exit when it crossed up through the midway bollinger band. This gave me the highest percentage profitable trades. The best system i've been playing with is shown below. I've used a moodified slope by using the tsf moving average. I've also substitued stoch with stoch-rsi for the "enter long" and still use the stoch and regular moving average for the "exit long". This formula gives me a 75% correct trades with a 412 OEX point gain. By the way i'm testing with at home and so its on the split adjusted OEX. This seems to work very well for the OEX, but seems to work poorly on stocks. Hope this give some ideas.
thanks mark
"ENTER LONG" (((ref(tsf(c,3),-8)-mov(c,3,s))/5) > 0) and ((stoch(peri,3) > (tsf(fml("stochrsi(5,3)"),peri2)+(tsf(fml("stochrsi(5,3)"),peri2)- std(fml("stochrsi(5,3)"),peri2,devi)))/2) and (ref(fml("stochrsi(5,3)"), -1) < ref((tsf(fml("stochrsi(5,3)"),peri2)+(tsf(fml("stochrsi(5,3)"),peri2)- std(fml("stochrsi(5,3)"),peri2,devi)))/2, -1)) or fml("stochrsi(5,3)") > tsf(fml("stochrsi(5,3)"), peri)) )
"EXIT LONG" (stoch(peri,3) > (mov(stoch(peri,3),peri2,s)+(mov(stoch(peri,3),peri2,s)+std(stoch(peri,3),peri2,devi)))/2) and ref(stoch(peri,3), -1) < ref((mov(stoch(peri,3),peri2,s)+(mov(stoch(peri,3),peri2,s)+std(stoch(peri,3),peri2,devi)))/2, -1)
"STOCHRIS(5,3)" Mov((RSI(5)-LLV(RSI(5),3))/(HHV(RSI(5),5)-(LLV(RSI(5),5))),3,E)*100 |