| |
| |
|
|
SERVICES: 30-DAY TRIAL AVAILABLE |
 |
|
|
|
|
|
|
|
|
|
|
|
EDUCATION |
 |
|
|
|
|
|
|
|
|
|
RESOURCES & ADVERTISEMENTS |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SMA
| Indicator | Usage | Description | Example | | sma | sma[x,n] OPERATOR (INDICATOR or POSITIVE NUMBER) , where x is a positive integer >= 2 and n is optional and represents the number of days ago the result is computed (n=0 is the default value and represents the current end of day, n=1 is the previous end of day, etc.) | Returns the x-day simple moving average closing price from n days ago. | (sma[20] > sma[50]) |
Introduction:
| The 'sma' indicator is used in indicator formula construction to narrow the stock pre-screener results to include only those stocks that have a simple moving average stock price restricted to the parameters set for the sma indicator.
Calculation:
Add up each of the last x-day closing stock prices then divide the sum by x.
Example:
Below is a chart of Intel (INTC) highlighting days where the 20-day simple moving average stock price was greater than the 50-day simple moving average. |
|
INDICATORS IN OUR DATABASE THAT INCLUDE THE SMA INDICATOR...
Click here to view all indicators that include the indicator 'sma' (sorted by AISCORE)
(vol[0] > 1.5 * avevol[14]) and (close[0] > sma[50])
AISCORE: 1492  Indicator ID: 051102155300
(smamdir[25,p]) and (close[0] > sma[25])
AISCORE: 1163  Indicator ID: 051107215357
(smamdir[14,p]) and (close[0] > sma[14])
AISCORE: 1073  Indicator ID: 051107215409
(vol[0] > 2 * vol[1]) and (close[0] >= sma[50])
AISCORE: 1260  Indicator ID: 051125125422
(vol[0] > 2 * vol[1]) and (close[0] < sma[50])
AISCORE: 1676  Indicator ID: 051125125603
| | More -> |
|