النقاط الرئيسية
الصعوبة:Intermediate
الموثوقية:Moderate
الفئة:advanced
الأطر الزمنية:1H, 4H, Daily
ZigZag Indicator
advanced📊 1H, 4H, Daily, Weekly
Connects significant highs and lows, filtering out minor price movements.
المعادلة
Code
New point when price moves by deviation % from last point
شرح تفصيلي
ZigZag filters out random price movements to show significant swings.
**Important:** - The indicator REPAINTS - the last segment may change - Not for real-time trading signals - Best for historical pattern analysis
المعاملات
Deviation
Default: 5
Minimum % move for new point
📈 إشارات صعودية
Higher highs and higher lows pattern
📉 إشارات هبوطية
Lower highs and lower lows pattern
تطبيق بايثون
Basic ZigZag concept
Python
def zigzag(df, deviation=0.05):
# Simplified ZigZag logic
pivots = []
last_pivot = df['close'].iloc[0]
direction = 0
for i, row in df.iterrows():
if direction == 0:
if row['close'] > last_pivot * (1 + deviation):
direction = 1
elif row['close'] < last_pivot * (1 - deviation):
direction = -1
# Continue logic...
return pivots
كود TradingView
JavaScript
//@version=5
indicator("ZigZag", overlay=true)
// Use built-in ZigZag or custom implementation
📊 استخدم TradingView للرسوم البيانية المتقدمة
أدوات تحليل احترافية مع أكثر من 100 مؤشر فني
كود MT5
C++
int zz_handle = iCustom(_Symbol, _Period, "ZigZag", 12, 5, 3);
أخطاء شائعة
✗Using for real-time trading (repaints)
✗Not understanding repaint behavior
إشارات التأكيد
Fibonacci levels
Support/resistance
Volume
الأفضل لـ
Elliott Wave analysisSwing high/low identificationPattern recognition
💡 نصائح احترافية
- •Repaints - last swing may change
- •Excellent for wave counting
- •Use for pattern identification, not direct signals
آخر تحديث: ٢٩ ديسمبر ٢٠٢٤
إخلاء مسؤولية تعليمي
هذا المحتوى للأغراض التعليمية فقط ولا يُعد نصيحة مالية أو استثمارية. التداول ينطوي على مخاطر كبيرة وقد تفقد رأس مالك. استشر مستشارًا ماليًا مرخصًا قبل اتخاذ أي قرارات استثمارية.