CANDLESTICKS AND / OR OHLC BARS
Answers
-
The best place to start is by reading all the documentation on scanning under the ChartSchool section. Here's a link to the library of sample scans which should help you write scans, but still read all the other documentation.
http://stockcharts.com/school/doku.php?id=chart_school:scan_library:sample_scans
// Close in upper half of the day's range
[type = stock]
and [close > [[high + low] / 2]]
this could be re-written as
and [close > [[high + low] * 0.50 ]]
the for your upper 25% caseand [close > [[high + low] * 0.75 ]]
edit this should be as pointed out by Markd, (good catch Mark, I shouldn't make these quick posts as I'm heading out the door).
and [close > low + [[high - low] * 0.75]]]0 -
The first and second instances work, but the third does not.
[high + low] * 0.75 results in a number outside the range:
[10 + 20] = 30; 30 * 0.75 = 22.5, which is greater than 20
It has to be:
[ low + [[high - low] * 0.75]]]
[10 + [[20 - 10] * 0.75]]]
[10 + [10 * 0.75]]
[10 + 7.5] or 17.5
or you could say it:
[low + [range * 0.75]0 -
Good catch Mark, I shouldn't make these quick posts as I'm heading out the door, glad you caught it, thanks.0
-
wow markd; I would have never noticed a problem.0
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


