StockFetcher Forums · Filter Exchange · Searching for a more effective hammer bar scan<< >>Post Follow-up
jhenninger
63 posts
msg #112310
Ignore jhenninger
3/18/2013 7:28:17 PM

Hello all,

Just curious if anyone has a hammer bar scan that works relatively well in capturing the hammer bar formation?

The default hammer bar scan that SF offers doesn't seem to find much. Or at least it hasn't during the times that I've tried it.

I'm able to see the coding behind the built-in SF scan, but I'm not entirely sure what to tweak in order for it to pick up better candidates.

Any ideas or suggestions are welcome.

Thanks very much for your time,

- Jon

miketranz
956 posts
msg #112311
Ignore miketranz
3/18/2013 8:39:14 PM

set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
set{body_size,body_top - body_bottom}
set{lshadowsize, body_bottom - low}
/* *********** had a typo here ********* */
set{body_size2, body_size * 2}
set{tshadowsize, high - body_top}
lshadowsize is greater then .2
and lshadowsize is greater then body_size2
and body_size is greater then 0
and price is greater then .5
and open is less then Lower Bollinger Band(20)
and close is greater then open
and offset 0 days ago


miketranz
956 posts
msg #112312
Ignore miketranz
3/18/2013 9:06:50 PM

PS: A hammer bar within an uptrend is a more potent set up.I call it a trend knock out.Place a buy stop next day .10 above the hammer high.Enter only If the stock breaks above that area the next day.A good example is AAMRQ.Good luck...

jhenninger
63 posts
msg #112313
Ignore jhenninger
3/18/2013 9:30:20 PM

Thanks Mike.

I appreciate the scan and the insight.

Will try to put it to some good use.



jhenninger
63 posts
msg #112432
Ignore jhenninger
3/25/2013 4:50:54 PM

Anyway to make this a weekly scan as well?

Thanks..

mahkoh
1,065 posts
msg #112435
Ignore mahkoh
modified
3/25/2013 6:54:44 PM

Fetcher[
set{body_bottom,min(weekly open 1 week ago,weekly close 1 week ago)}
set{body_top,max(weekly open 1 week ago,weekly close 1 week ago)}
set{body_size,body_top - body_bottom}
set{lshadowsize, body_bottom - low}
/* *********** had a typo here ********* */
set{body_size2, body_size * 2}
set{tshadowsize, high - body_top}
lshadowsize is greater then .2
and lshadowsize is greater then body_size2
and body_size is greater then 0
and price is greater then .5
and open is less then weekly Lower Bollinger Band(20)
and weekly close is greater then weekly open
and offset 0 days ago

display weekly
]



arimont
57 posts
msg #130426
Ignore arimont
8/15/2016 7:36:09 AM

This is an old thread but it intrigued me.
To find a Hammer after 2 big red candles might show a trend change.
So I set up this filter. It brings very few results every week (0-2 per week) but most of them worked, meaning that after the Hammer there was a reasonable movement up.
Its far from being perfect and any suggestions would be appreciated.
Fetcher[
/* Hammer Formation */
/******************************/
set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
set{body_size,body_top - body_bottom}
set{lshadowsize, body_bottom - low}
set{body_size2, body_size * 2}
set{tshadowsize, high - body_top}
lshadowsize is greater then .2
and lshadowsize is greater then body_size2
and body_size is greater then 0

/* Two previous days were big red */
set{C1, close 1 day ago}
set{O1, open 1 day ago}
set{C2, close 2 days ago}
set{O2, open 2 days ago}
set{RC1, C1-O1}
set{RC2, C2-O2}
set{X1, C1*0.02}
set{X2, C2*0.02}
and RC1 is below 0 and RC2 is below 0
and abs(RC1) is above abs(x1)
and abs(RC2) is above abs(x2)
add column x1
add column x2
add column RC1
add column RC2
add column RC3

/* Basic Stock Characteristics */
and price is above 5 and ATR(30) is above 0.50
and open is less then Lower Bollinger Band(20)
and close is greater then open

and offset 30 days ago
]



arimont
57 posts
msg #130427
Ignore arimont
8/15/2016 7:37:45 AM

Sorry, I forgot the OFFSET switch...
Just make it 0 and you get KLAC and COLL for today.

SAFeTRADE
630 posts
msg #130428
Ignore SAFeTRADE
modified
8/15/2016 9:35:13 AM

Fetcher[set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
set{body_size,body_top - body_bottom}
set{lshadowsize, body_bottom - low}
/* *********** had a typo here ********* */
set{body_size2, body_size * 2}
set{tshadowsize, high - body_top}
lshadowsize is greater then .2
and lshadowsize is greater then body_size2
and body_size is greater then 0
and price is greater then 3
volume above 200000
set{dojihigh, count(Slow Stochastics Fast %K(12,3) above 80,1)}
set{dojilow, count(Slow Stochastics Fast %K(12,3) below 20,1)}
add column dojilow
add column dojihigh
add column Slow Stochastics Fast %K(12,3)
sort column 5 descending
not etf
draw Slow Stochastics Fast %K(12,3)
do not draw lshadowsize
do not draw body_size
do not draw body_size2
draw ema(8)
draw ma(20)
draw ma(50)
draw ma(200)
]





arimont
57 posts
msg #130445
Ignore arimont
8/16/2016 7:00:29 AM

Both KLAC and COLL could have worked (if I had entered them, which I didnt, I am still testing) for a quick intraday profit.
Today the filter does not result anything, but both KALC and COLL seems like good to continue, with a very tight stop to keep the hypothetical profits.

StockFetcher Forums · Filter Exchange · Searching for a more effective hammer bar scan<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.