InvestorsHub Logo
Followers 2
Posts 47
Boards Moderated 0
Alias Born 07/07/2002

Re: Quasi post# 6971

Thursday, 05/24/2012 10:53:44 PM

Thursday, May 24, 2012 10:53:44 PM

Post# of 7256
Quasi, I have another, general question about the scan writing.

Say I'm looking for some bullish and bearish pattern and for the sake of this example, say I have 3 line code for each pattern. Can I use 'OR' on the way, to look for all bullish and bearish hammers within one scan only? (being lazy) smile

Example

[[condition 1 bullish pattern] and
[condition 2 bullish pattern] and
[condition 3 bullish pattern]]

or

[[condition 1 bearish pattern] and
[condition 2 bearish pattern] and
[condition 3 bearish pattern]]

Of course, bullish and bearish conditions are completely opposite.
Will this work? Will scan return both patterns?
Join InvestorsHub

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.