Andy,
I had mentioned something about a scan I was working on to try to find stocks passing trough or bouncing off of 34 day EMA. I use WMA in the QP scans because it seems to better approximate the EMA of WOW due to the limited number of days used by QP for scanning speed. I included the lines that I use to back test the scan. The formatting will have to be redone when you copy this out. It really got messed up when I copied it in. Let me know what you think.
When backtesting I looked at the results in QP and they looked promising. Then I looked at some of those same charts in WOW with SRSI and DNS. SRSI will often give slightly earlier signals, but we can't do a SRSI scan in QP because you can't do a moving average of a resultant. I'm looking to improve still will keep posted.
34 EMA cross --------------------------------- Input="bbb.lst" AllGroup // Loop (-7,-7) // for backtesting Close(0) <= 35 Low(0) > WMovavg( 0,34,cl) // Today's low // is above the 34 day WMA WMovavg( 0,34,cl) > WMovavg(-1,34,cl) // 34 day WMA is // increasing Close(-1) > Movavg( -1,34,cl) // Yesterday's // close was above the 34 day WMA
Min( 0,-4,cl) < WMovAvg(-4,34,cl) // The lowest // close in the last 4 days was // lower than the // 34 day WMA 4 days ago.
Println Symbol: -5, Close(0):8:3, Description:-34, PE:-3, Date(0):-10 Output="34cross.lst" // Output="backtest.lst" // for backtesting
TTFN,
Chris |