New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Scans with Bollinger bands
Comments
-
Your scan has to account for all five bars for each possible situations - above upper, below upper, above lower, below lower, and those situations have to be connected by an "or" statement.
I'll give you the framework - you have to get the syntax right (using the advanced editor suggestions).
Copy this into the editor ONE LINE AT A TIME so you get the brackets right, then correct each line for syntax.
[group is sp500]
and
[
[ close > upper band]
and [ 1 day ago close > 1 day ago upper band ]
and [ 2 days ago close > 2 days ago upper band ]
etc.
]
or
[
[close < upper band]
and [ 1 day ago close < 1 day ago upper band ]
and [ 2 days ago close < 2 days ago upper band ]
etc.
]
or
[
[ close > lower band]
and [ 1 day ago close > 1 day ago lower band ]
and [ 2 days ago close > 2 days ago lower band ]
etc.
]
or
[
[ close < lower band]
and [ 1 day ago close < 1 day ago lower band ]
and [ 2 days ago close < 2 days ago lower band ]
etc.
]
]
0
Categories
- All Categories
- 2.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area