النقاط الرئيسية
Simple Moving Average (SMA)
The SMA calculates the average price over a specific number of periods, smoothing out price data to identify trend direction.
المعادلة
شرح تفصيلي
The Simple Moving Average (SMA) is one of the most fundamental technical indicators in trading. It calculates the arithmetic mean of prices over a specified period, creating a smoothed line that helps traders identify the overall trend direction.
**How It Works:** The SMA adds up the closing prices for a set number of periods and divides by that number. For example, a 20-period SMA adds the last 20 closing prices and divides by 20.
**Key Concepts:** - **Trend Direction**: Price above SMA = bullish, below = bearish - **Dynamic Support/Resistance**: SMAs often act as support in uptrends and resistance in downtrends - **Crossover Signals**: When a faster SMA crosses a slower SMA, it generates trading signals
**Popular SMA Periods:** - 20 SMA: Short-term trend - 50 SMA: Medium-term trend - 200 SMA: Long-term trend (institutional level)
المعاملات
📈 إشارات صعودية
Price crosses above SMA or faster SMA crosses above slower SMA
📉 إشارات هبوطية
Price crosses below SMA or faster SMA crosses below slower SMA
تطبيق بايثون
Using pandas-ta for SMA calculation with crossover detection
كود TradingView
كود MT5
مكتبات بايثون
أخطاء شائعة
إشارات التأكيد
الأفضل لـ
💡 نصائح احترافية
- •SMA lags price action - better for confirming trends than predicting them
- •Use multiple SMAs (e.g., 20, 50, 200) for stronger confirmation
- •Works best in trending markets, generates false signals in ranging markets
إخلاء مسؤولية تعليمي
هذا المحتوى للأغراض التعليمية فقط ولا يُعد نصيحة مالية أو استثمارية. التداول ينطوي على مخاطر كبيرة وقد تفقد رأس مالك. استشر مستشارًا ماليًا مرخصًا قبل اتخاذ أي قرارات استثمارية.
الأسئلة الشائعة
مؤشرات ذات صلة
Exponential Moving Average (EMA)
EMA gives more weight to recent prices, making it more responsive to new information than SMA.
MACD (Moving Average Convergence Divergence)
MACD shows the relationship between two EMAs. Consists of MACD line, signal line, and histogram.
Bollinger Bands
Consists of a middle band (SMA) and upper/lower bands set at standard deviations from the middle.