sierraseller 23 posts msg #101460 - Ignore sierraseller modified |
7/6/2011 4:15:59 PM
Wheel.. I was interested in the logic, so Here's a really crude start using the info in the links Four sent and loosening up the parametters to get some matches.
If you expand/refine this somewhat and add the post to this thread, the response might be better: Errors leap off the page to competent coders, while a blank page evokes little reaction. Also, putting in some effort before asking for a complete system couldn't hurt.
set{channeltop,high 15 day high}
set{channelbottom,low 15 day low}
set{tchg, channeltop minus channeltop 15 days ago }
set{bchg, channelbottom minus channelbottom 15 days ago}
set{atchg, abs(tchg)}
set{abchg, abs(bchg)}
set{channeltopchange, atchg / channeltop}
set{channelbottomchange, atchg / channeltop}
show stocks where close above 5
and draw channeltop on plot price
and draw channelbottom on plot price
and channeltop < 10 percent above channelbottom
and channeltopchange < 0.025
and channelbottomchange < 0.025
pattern is ascending triangle(15,3)
price crossed above the upper ascending triangle(15,3)
ADX(13) has been < 25 for the last 15 days
+DMI(8) has been above ADX fo the last 3 days
-DMI(8) has been above ADX fo the last 3 days
+DMI(8) crossed above -DMI(8) within the last 1 day
Draw ADX(8)
Draw DI(8) Difference
HTH
|