Syntax Error
in Scanning
Something is wrong with this syntax. Help
and [yesterday's close >= (yesterday's lower BB(20,2)) - (0.05*yesterday's close BB Width(20,2))]
and [yesterday's close >= (yesterday's lower BB(20,2)) - (0.05*yesterday's close BB Width(20,2))]
0
Comments
-
0.05 * yesterday's close BB Width(20,2)
You can't say "close BB Width(20,2)" ; it has to be either "close", or "BB Width(20,2)".
Also, use brackets[ ] , not parens ( ) for grouping expressions. Parens are reserved for functions [like sma( ), BB Width, etc.]
I'm guessing you want the close to be near the lower BB within a fraction (.05) of the BB Width. If so, this passes syntax:
and [yesterday's close >= yesterday's lower BB(20,2) - [yesterday's BB Width(20,2) * .05]]
I didn't run it to test the logic, just checked the syntax.0 -
Thanks Mark0
Categories
- All Categories
- 2.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area
