StockFetcher Forums · General Discussion · Help<< 1 2 >>Post Follow-up
shillllihs
6,044 posts
msg #109270
Ignore shillllihs
12/11/2012 4:22:37 AM

Can you code a red hammer followed by a green hammer for me? Thanx.

duke56468
683 posts
msg #109282
Ignore duke56468
12/11/2012 10:30:10 AM

here is the syntax for a green hammer, you can play with it and days ago to get the red hammer.

Fetcher[ show stocks where the high minus close is less than 0.001
and close is more than 0.5% above open
and open minus low is more than 50% above close minus open
and close is above 1
]



shillllihs
6,044 posts
msg #109287
Ignore shillllihs
modified
12/11/2012 1:04:00 PM

...

Kevin_in_GA
4,599 posts
msg #109290
Ignore Kevin_in_GA
modified
12/11/2012 1:54:47 PM

Have you tried this?

http://forums.stockfetcher.com/ui2/sfcandle.php



shillllihs
6,044 posts
msg #109294
Ignore shillllihs
modified
12/11/2012 5:09:29 PM

What i really need is to find setups like what happened to LSG on 12-07 with what looks like a red hammer then followed by what looks like a green hammer on 12-10. Today LSG was up 8% and i see this alot. After a downtrend is a plus. Can anyone code this?

duke56468
683 posts
msg #109296
Ignore duke56468
12/11/2012 9:12:19 PM

From wikipedia
In order for a candle to be a valid hammer most traders say the lower wick must be two times greater than the size of the body portion of the candle, and the body of the candle must be at the upper end of the trading range.

neither one of those days for LSG look like a hammer to me

shillllihs
6,044 posts
msg #109298
Ignore shillllihs
modified
12/11/2012 10:10:34 PM

I completely agree & i'm a big idiot. But i find this set up to be very lucrative averaging 433% over several trades for the year so can someone code something that looks similar give or take to these candles. Let's watch STP & APP tomorrow, not the best examples though.

four
5,087 posts
msg #109299
Ignore four
12/11/2012 11:10:26 PM

Fetcher[

symlist(lsg)

close > open
open 1 day ago > close 1 day ago

Close 1 day ago is above Day Position(0.25,1)
Open 1 day ago is above Day Position(0.90,1)

Close 0 day ago is above Day Position(0.90,1)
Open 0 day ago is above Day Position(0.25,1)

offset 12/10/12
]



Cheese
1,374 posts
msg #109303
Ignore Cheese
modified
12/12/2012 12:45:29 AM

Here is an adaptation of a filter written by TheRumpledOne in 2006, which may have some commonalities with your help request.
The outputs showed instances of double ersatz hammers. Anecdotally, they sometimes appeared to be followed by an upward movement, and at other times by a downward movement. Use with great care, and at your own risk.

/* BASED ON ORIGINAL BY THERUMPLEDONE (TRO) */
/* http://stockfetcher.com/sfforums/?qrid=1314417502&mid=41749 */

Fetcher[

set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
set{lshadowsize, body_bottom - low}
set{tshadowsize, high - body_top}
set{body_size, body_top - body_bottom}

/* TRO's ORIGINAL */
/* set{body_size2, body_size * 2} */
/* RELAXING TRO's ORIGINAL CRITERION */
set{body_size2, body_size * 1}

set{hammer1, count( tshadowsize is less than 0.001 , 1 ) }
set{hammer2, count( lshadowsize > body_size2 , 1 ) }

set{hammer, hammer1 * hammer2 }

hammer > 0
hammer 1 day ago > 0

close above 1

/* TRO's ORIGINAL */
/* volume above 1,000,000 */
/* RELAXING TRO's ORIGINAL CRITERION */
volume above 100,000
]




shillllihs
6,044 posts
msg #109304
Ignore shillllihs
modified
12/12/2012 12:49:16 AM

Ok guys i think i have something nice here prob for quick trade. Many many of these go up for a few days. Thanx to all.

dividend yield is between 2% and 20%
close > open
open 1 day ago > close 1 day ago

Close 1 day ago is above Day Position(0.25,1)
Open 1 day ago is above Day Position(0.90,1)

Close 0 day ago is above Day Position(0.90,1)
Open 0 day ago is above Day Position(0.25,1)

offset 12/10/12




StockFetcher Forums · General Discussion · Help<< 1 2 >>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.