SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Kevin Shea who wrote (9029)3/16/1999 7:09:00 PM
From: Monty Lenard  Read Replies (2) of 11149
 
Kevin, I think Brooke was referring to me. Here you go.

INPUT="Your List.lst";
Output="0 Hammer.lst";

ProcessMS = "d:\meta\Hammer\",VMS;

set CCI = 13;

integer i, bar;
bar:= 0;
For i = 0 to bar step -1 do

If //close(i-1)<open(i-1) and //Black Candle yesterday
low(i)<low(i-1) and //1st part of hammer formation
open(i)=>low(i)+range(i)*.50 and //Lower shadow
close(i)=>low(i)+range(i)*.50 and
close(i)< close(i-2)
//high(i)=open(i) //shaved head - is very restrictive
//high(i)=close(i) //will produce white day hammers
then
println symbol;
i:= bar;
endif;

As you can see from the // I play around with it some. <g> You may want to change it to fit your tastes. One thing is this scan will not necessarily insure that it is produced after a downtrend. Also, sometimes I will require the volume be 1.5 - 2 times the 30 day average volume. One more thing, you can play around with the "range*.50" lines and change the lower shadow and/or real body produced.

Monty

PS Just send along any improvements. <g>
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext