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.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
