P
PipsGrowth

النقاط الرئيسية

الصعوبة:Beginner
الموثوقية:Very High
الفئة:volatility
الأطر الزمنية:1H, 4H, Daily

Average True Range (ATR)

volatility📊 1H, 4H, Daily

Measures market volatility by calculating the average range between high and low prices.

المعادلة

Code
True Range = Max[(High - Low), |High - Close(prev)|, |Low - Close(prev)|]
ATR = Moving Average of True Range

شرح تفصيلي

Average True Range (ATR) was developed by J. Welles Wilder to measure volatility. Unlike indicators that show direction, ATR purely measures the degree of price movement.

**True Range considers:** - Current High minus Current Low - Current High minus Previous Close - Current Low minus Previous Close

**Applications:** - Position Sizing: Adjust size based on volatility - Stop Loss: Place stops at 1.5-3× ATR - Breakout Confirmation: High ATR confirms breakouts

المعاملات

Period
Default: 14
ATR calculation period

📈 إشارات صعودية

Rising ATR confirms trend strength during uptrend

📉 إشارات هبوطية

Rising ATR confirms trend strength during downtrend

تطبيق بايثون

ATR calculation with stop loss example

Python
import pandas_ta as ta
df['ATR'] = ta.atr(df['high'], df['low'], df['close'], length=14)
# ATR-based stop loss
entry_price = df['close'].iloc[-1]
atr_value = df['ATR'].iloc[-1]
stop_loss = entry_price - (2 * atr_value)

كود TradingView

JavaScript
//@version=5
indicator("ATR")
atr = ta.atr(14)
plot(atr, "ATR", color=color.orange)
📊 استخدم TradingView للرسوم البيانية المتقدمة
أدوات تحليل احترافية مع أكثر من 100 مؤشر فني
احصل على TradingView Pro

كود MT5

C++
int atr_handle = iATR(_Symbol, _Period, 14);
double atr[];
CopyBuffer(atr_handle, 0, 0, 3, atr);

أخطاء شائعة

Using ATR to predict direction
Not adjusting ATR period for timeframe

إشارات التأكيد

Trend direction indicators
Volume

الأفضل لـ

Volatility measurementStop loss placementPosition sizing

💡 نصائح احترافية

  • ATR does not indicate direction, only volatility
  • Use ATR multiples for stop losses (e.g., 2× ATR)
  • Expanding ATR often precedes major price moves
آخر تحديث: ٢٩ ديسمبر ٢٠٢٤

إخلاء مسؤولية تعليمي

هذا المحتوى للأغراض التعليمية فقط ولا يُعد نصيحة مالية أو استثمارية. التداول ينطوي على مخاطر كبيرة وقد تفقد رأس مالك. استشر مستشارًا ماليًا مرخصًا قبل اتخاذ أي قرارات استثمارية.

الأسئلة الشائعة