Mark:
Happy coincidence. While continuing with my rebuild of indicators I've been thinking of you and meaning to say thanks for the bits you sent. By chance I just redid the 1-2-3-4 so here it is. You'll note that the ADX is set to over 15, but I don't use a closing price filter. This one does run so you should be able to cut and paste it. I left my programming notes for your use. I didn't analyze your formula, but suspect that the problem was with the precedence of the OR statements. Now if only I could trade one-tenth as well as you, ..
H & R II is a good read? I was thinking of ordering it this week, but have been absorbed with recreating old scans in WOW and learning some in QP2. I've a long way to go. Course I was about to order Conners' Advanced Trading Strategies when my computer problems started last month. Of the two, which do you prefer?
Do send along any scan requests and I'll be glad to take a shot at them. Here's the 1-2-3-4 alert:
alertmarker((ADX(14) > 15) AND (pdi(14)>mdi(14)) AND (((ref(L,-2) < ref(L,-3)) and (ref(L,-1) < ref(L,-2)) and (L < ref(L,-1))) { Days 1, 2, & 3 are lower Lows} OR ((ref(L,-2) < ref(L,-3)) and (ref(L,-1) < ref(L,-2)) and (H <= ref(H,-1) and L >= ref(L,-1))) { Days 1, & 2 are lower Lows; Day 3 is an Inside day} OR ((ref(L,-2) < ref(L,-3)) and (ref(H,-1) <= ref(H,-2) and ref(L,-1) >= ref(L,-2)) and (L < ref(L,-1))) { Days 1, & 3 are lower Lows; Day 2 is an Inside day} OR ((ref(H,-2) <= ref(H,-3) and ref(L,-2) >= ref(L,-3)) and (ref(L,-1) < ref(L,-2)) and (L < ref(L,-1)))) { Day 1 is Inside day; Days 2, & 3 are lower Lows} , BELOW)
Peace and Justice --- Patrick |