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 -- Ignore unavailable to you. Want to Upgrade?


To: Kevin Shea who wrote (9029)3/16/1999 11:29:00 AM
From: TechTrader42  Respond to of 11149
 
Kevin: I have seen hammer and morning star scans, but they were written by others. I'll leave it to them to post them if they want.

Brooke



To: Kevin Shea who wrote (9029)3/16/1999 2:56:00 PM
From: Russell McGuire  Read Replies (1) | Respond to of 11149
 
Here ya go!!!

..............
output ="hammer.lst";

Float BODY, UPPER, LOWER;
Integer X;

X := 0;
BODY := Abs(Open(X) - Close(X));

if (BODY = 0) then
BODY := .01;
endif;

if Close(X) >= Open(X) then
UPPER := High(X) - Close(X);
LOWER := Open(X) - Low(X);
else
UPPER := High(X) - Open(X);
LOWER := Close(X) - Low(X);
endif;

if ((downgap(X) >= .01) & (AvgVol(X,X-29) > 25000) & ((UPPER/BODY) <= .05) &
(LOWER >= (BODY*2)) & (MovAvg(X,5,cl) < MovAvg(X-1,5,cl)) &
(MovAvg(X-1,5,cl) < MovAvg(X-2,5,cl))) then

println symbol,",",Close(X),", ",Vol(X),", ",AvgVol(X,-29);

endif;
...........

This scan searches for hammer that have a gap down, which limits the number of hits greatly, but makes a better signal. If you take out " (downgap(X) >= .01) & " then the down gap will not be neccesary.

Rusty



To: Kevin Shea who wrote (9029)3/16/1999 7:09:00 PM
From: Monty Lenard  Read Replies (2) | Respond to 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>



To: Kevin Shea who wrote (9029)3/16/1999 7:24:00 PM
From: Monty Lenard  Read Replies (1) | Respond to of 11149
 
Kevin , here is my Morning Star Scan.

input="Your List.lst";
Output="0 Morning Star.lst";

ProcessMS = "d:\meta\Morning Star\",VMS;

integer bar, N, X, MinPr;
float Y; //% variable
N:= -90; //define N days to look back
X:= .25; //define $ amount of gap
Y:= .01; //define % of gap

For bar = -1 to N step -1
Do


If Downgap(bar) > X and
Downgap(bar)/Low(bar-1)> Y and
Close(bar)> 5 and
Upgap(bar+1) > X and
Close(bar+1)> Open(bar+1) then

println symbol,",",Close(0):0:2,",",High(bar)-Low(bar-1):0:2,",",date(bar),",",Downgap(bar)/Low(bar-1)*100:0:1,",",vol(bar);

endif;
next bar;