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.
Using X as a crossover signal for stochastics
In writing a custom scan for lets say an indicator crossing over a certain point ( assume stochastic crossing over 20). Does the cross over X command designate if the indicator is crossing from above down through 20 or from down up through the 20 ?
0
Comments
-
@JJJJ With the "x" operator, the term on the left, the first term, always crosses above the term on the right.
So, this says, %K crosses above 20:
and [Fast Stoch %K(5,1) x 20]
So, this would find situations where yesterday (or one bar ago) %K was below 20 and today (the current bar) %K is above 20.
This says, 20 crosses above %K, meaning, in effect, %K crosses below 20:
and [20 x Fast Stoch %K(5,1)]
So, this would find situations where yesterday %K was above 20 and today %K is below 20.0 -
Got it. Thanks !
JJJJ0
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