StockFetcher Forums · Filter Exchange · One Filter; Multiple Candlestick Patterns?<< >>Post Follow-up
melee
3 posts
msg #120071
Ignore melee
5/25/2014 9:53:58 PM

Greetings,

I have a simple question and I fear the answer is not so simple. I would like to set up one single filter that scans for more than one candlestick pattern at a time. I figure there might be another way besides running several different scans. I tried using "OR", but it would not work!

Example: "Pattern is bullish engulfing or bullish harami or bullish upside tasuki gap"

If you have experience with this problem or know of a work-around, please enlighten us/me.

Thank you,
Melee

four
3,999 posts
msg #120073
Ignore four
modified
5/25/2014 10:05:55 PM

try this link >>>> http://www.stockfetcher.com/forums/General-Discussion/OR-condition/104282

try this link >>>> http://www.stockfetcher.com/forums/General-Discussion/A-COMPLETE-LOGIC-SYSTEM-ANOTHER-GIFT-FROM-AVERY/28017

melee
3 posts
msg #120078
Ignore melee
5/25/2014 11:16:19 PM

Thank you very much, however I am still having difficulty implementing a scan of more than two patterns in one filter. I tried expanding on what I saw, but to no avail. Here is I what had:

set{c1,count(pattern is bullish harami,1)}
and set{c2,count(pattern is bullish engulfing,1)}
and set{c3,count(pattern is Bullish Separating Lines,1)}
and set{c4,count(pattern is Bullish Harami Cross,1)}
and set{c5,count(pattern is Bullish Morning Doji Star,1)}
and set{c6,count(pattern is Bullish Abandoned Baby,1)}
and set{c7,count(pattern is Bullish Kicking,1)}
and set{OR1,c1 + c2 + c3 + c4 + c5 + c6 + c7}
and find stocks where OR1 is above 0
and add column c1
and add column c2
and add column c3
and add column c4
and add column c5
and add column c6
and add column c7
and add column OR1

Maybe if or is only between 2 conditions, we have to or the ors to get multiple potential hits?

Thank you,

cidrolin
21 posts
msg #120082
Ignore cidrolin
5/26/2014 6:58:47 AM

You cannot use set statements with multiples mathematical operators.

You must write :

set{OR1, a + b}
set{OR2, c + d}
set{OR3, e + f}
set{ORa, OR1 + OR2}
set{OR, ORa + OR3}

compound_gains
152 posts
msg #120083
Ignore compound_gains
5/26/2014 7:30:03 AM

Fetcher[set{c1,count(pattern is bullish harami,1)}
set{c2,count(pattern is bullish engulfing,1)}
set{c3,count(pattern is Bullish Separating Lines,1)}
set{c4,count(pattern is Bullish Harami Cross,1)}
set{c5,count(pattern is Bullish Morning Doji Star,1)}
set{c6,count(pattern is Bullish Abandoned Baby,1)}
set{c7,count(pattern is Bullish Kicking,1)}
add column c1
add column c2
add column c3
add column c4
add column c5
add column c6
add column c7
set{cnt1, c1 + c2}
set{cnt2, cnt1 + c3}
set{cnt3, cnt2 + c4}
set{cnt4, cnt3 + c5}
set{cnt5, cnt4 + c6}
set{cnt, cnt5 + c7}
add column cnt
count > 0
sort column 12 descending
]



melee
3 posts
msg #120183
Ignore melee
5/27/2014 5:14:52 PM

Excellent, this is exactly what I was aiming for. Thank you very much for your help!

thefoxmanjr
9 posts
msg #121424
Ignore thefoxmanjr
9/2/2014 6:57:12 AM

Is there a scan for the negative candlestick patterns also?

StockFetcher Forums · Filter Exchange · One Filter; Multiple Candlestick Patterns?<< >>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 2016 - 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