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.
Scan language for close in top half of todays range?
Comments
-
and [ close > low + [range * .5] ]
If you add half the day's range to the low, it gives you the midpoint of the range. If the close is greater than the midpoint, it's in the top half of the range.
If you want it in the top quarter of the days range, the change .5 to .75, in the top 10%, change .5 to .9, etc.
Conversely if you want something at lower end of the range, change > to <, and adjust the decimal fractions accordingly
and [ close < low + [range * .5] ] // bottom half
and [ close < low + [range * .25] ] // bottom quarter
and [ close < low + [range * .1] ] // bottom 10%0 -
Perfect! Thank you, Markd.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