|
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 Amazon (AMZN) highlighting days where the last daily close was above the 50-day simple moving average AND the previous daily close was below the 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 -> |
|
Copyright © 2005-2022 AiStockCharts.com, All rights Reserved. | |