- All Categories
- 2.2K StockCharts
- 388 SharpCharts
- 127 Other Charting Tools
- 58 Saved Charts and ChartLists
- 1.4K Scanning
- 68 Data Issues
- 159 Other StockCharts Questions
- 215 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 39 Market Analysis
- 100 Trading
- 100 Trading Strategies
- 161 S.C.A.N the StockCharts Answer Network forum
- 66 Using this StockCharts Answer Network forum
- 95 s.c.a.n. archives
- 15 Off-Topic
- 10 The Cogitation & Rumination Emporium
- 5 Forum Test Area

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.

## Comments

"close" is the default value (the value used if you don't change anything). Close is a price (like open, high and low), but the function will also take an indicator value. In your case, it would be RSI(7). So,

sma(3, RSI(7)) // notice the TWO sets of parentheses.

"x" is the cross above operator. It compares two values across two bars - alpha x beta. In the first bar, the value on the left (alpha) is below the value on the right (beta). In the second bar, the the value on the left is above the value on the right.

(note this can happen in several ways - both values increase, but alpha increases more; alpha increases and beta decreases, alpha increases and beta stays the same, alpha stays the same but beta decreases, both decrease, but alpha decreases less)

So, you want the RSI (on the left) to cross above its average (on the right):

and [RSI(7) x sma(3, RSI(7))]