Mark:
I'll jump in for Peter if you don't mind.
I assume by price you mean the close. That's what I've built the following for. If you wanted open, low or high just make the substitution for the 'c' (WOW will accept a variety of notations for close, open low or high.) Try adding the following to your formula: "and c>prev(c,1)". (Omit the ".." of course.) Thus your formula would be:
alertmarker( close <12 and vol(10,10)<(0.5*vol(100,100)) and vol(6,6)<(0.5*vol(100,100)) and prev(vol(10,10),1)<0.5*vol(100,100) and prev(vol(10,10),2)<0.5*vol(100,100) and c>prev(c,1))
Note: I prefer to use the prev function vs. the ref function in this situation since it won't hang if you have a day with 0 volume or no trade.
This works, what does it tell tho? Is this one of Connor's volatility thrusts? Would it be more valid to look for a relation between the close and the prior trading such as c being a 120% of the prior high, or of the highest high for 10 days? Just some thoughts based (very loosely) on some suggestions from Linda Raschke work.
Enough babble - Keep in touch and let us know how the scan works.
Peace and Justice - Patrick |