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.
Code for percent chance on ROC indicator
Comments
-
The first part is straightforward:
and [ROC(20) > 1 day ago ROC(20) * 1.05]
The "rank by" command will not give you a syntax error if you put a custom calculation after it, but it will not necessarily deliver the results you expect. I contacted support about this, and the reply was, essentially, the "rank by" command is meant to be used with "built in" indicators (like MACD, say) or values (like market cap, or industry, etc.).
You could try
rank by ROC(1)
although that ranks them by largest per cent change in price, which is not necessarily the same as largest change in the indicator. But the two are likely to coincide most to the time, I would think.
0 -
Or, you could try
rank by PctChange(1,ROC(20))
but I don't know if the results are reliable.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