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 5,087 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 222 posts msg #120083 - Ignore compound_gains |
5/26/2014 7:30:03 AM
|
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?
|