|
|
MACD
| Indicator | Usage | Description | Example | | macd | macd[f,s,t,r,n] OPERATOR (INDICATOR or NUMBER) , where f,s,t are positive integers >= 2, r is optional where r {f, s, t} 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 one of the following: (1) the f,s,t MACD if r is not provided; (2) the s-day exponential moving average if r = 's'; (3) the f-day exponential moving average if r = 'f'; (4) the t-day MACD trigger value if r = 't'. | ((macd[12,26,9] / ema[26]) < -0.02) |
Introduction:
| MACD (moving average convergence divergence) measures the distance between 2 exponential moving averages. The distance is in terms of price so it can be more useful to calculate the % distance from a moving average rather than the magnitude. The 'macd' indicator is used in indicator formula construction to narrow the stock pre-screener results to include only those stocks that have a MACD restricted to the parameters set for the macd indicator.
In the description above the 'f' is the fast EMA, 's' is the slow EMA and 't' is the t-day EMA of the MACD (trigger line).
| Example:
Below is a chart of Intel (INTC) highlighting days where the 12-day EMA was more than 2% below the 26-day EMA. |
INDICATORS IN OUR DATABASE THAT INCLUDE THE MACD INDICATOR...
Click here to view all indicators that include the indicator 'macd' (sorted by AISCORE)
((macd[12,26,9] / ema[26]) > 0.05)
AISCORE: 470  Indicator ID: 051226200903
((macd[12,26,9] / ema[26]) < -0.05)
AISCORE: 3337  Indicator ID: 051226200947
((macd[12,26,9] / ema[26]) < -0.02)
AISCORE: 6503  Indicator ID: 051226201037
((macd[12,26,9] / ema[26]) < -0.03)
AISCORE: 7570  Indicator ID: 051226201159
((macd[12,26,9] / ema[26]) < -0.04)
AISCORE: 3488  Indicator ID: 051226201300
| | More -> |
|
Copyright © 2005-2025 AiStockCharts.com, All rights Reserved. | |