StockFetcher Forums · General Discussion · Massive wick pattern<< >>Post Follow-up
molecules mal
5 posts
msg #162024
Ignore molecules mal
modified
11/14/2025 12:53:40 PM

I want to build a scanner that lets me find stocks green on the day with a massive wick upwards in proportion to the candle body, but I don't know how to reference HOD. Here's an example of what it might look like:

current price > open*1.05
HOD-current price > (current price - open)*3
open > (close 1 day ago)*1.05

Thanks

xarlor
623 posts
msg #162025
Ignore xarlor
11/14/2025 1:39:35 PM

Always fun writing filters about candle lengths =)

Fetcher[
close > open

/* Size of candle body */
set{body_top,max(open,close)}
set{body_bottom,min(open,close)}
set{body,body_top - body_bottom}

/* Size of top wick and define minimum length */
set{wick_top,high - body_top}
set{wick_length,body * 4}

wick_top > wick_length

add column body
add column wick_top
]



molecules mal
5 posts
msg #162026
Ignore molecules mal
modified
11/14/2025 2:18:39 PM

Thank you so much!

I'd like to exclude the case where the candle is a doji, but when I add the line

close > open*1.05
or even
close > open*1.1

I still get a list of dojis for some reason. I don't know why. How can I exclude the doji candles to only have candles with meaningful bodies?

xarlor
623 posts
msg #162027
Ignore xarlor
11/14/2025 3:01:36 PM

The first issue is StockFetcher cannot do more than one operation per line.

close > open*1.05
Is two operations.
1. close > open
2. open * 1.05

You have to split this into set statements as in this example.

set{openx,open * 1.05}
close > openx

As to your doji issue, just make sure the body is not a doji. One way would be like this:

Fetcher[
close > open

/* Size of candle body */
set{body_top,max(open,close)}
set{body_bottom,min(open,close)}
set{body,body_top - body_bottom}

/* Size of top wick and define minimum length */
set{wick_top,high - body_top}
set{wick_length,body * 4}

wick_top > wick_length

/* No dojis allowed */
set{candle, high - low}
set{body_ratio, body / candle}
body_ratio >= .15

add column separator
add column body
add column wick_top
add column body_ratio

sort column 7 descending
]



The problem is with such a disproportionate wick, even candles that aren't dojis will look like dojis.

StockFetcher Forums · General Discussion · Massive wick pattern<< >>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.