KAMA (Kaufman Adaptive Moving Average)
KAMA is an adaptive moving average developed by Perry Kaufman. It automatically adjusts its smoothing constant based on the Market Efficiency Ratio (ER): when the market is trending strongly (ER near 1), KAMA speeds up to follow price closely; when the market is choppy (ER near 0), KAMA slows down to filter out noise. This self-adapting behavior eliminates the need to manually switch between fast and slow moving averages.
كيف يعمل
KAMA calculates the Efficiency Ratio (ER) as the absolute direction divided by the sum of individual bar movements (volatility). The smoothing constant is derived from ER, blending between a fast SC (2/3) and slow SC (2/31). KAMA[i] = KAMA[i-1] + SC × (Close[i] - KAMA[i-1]). Entry signals fire when KAMA slope turns positive (BUY) or negative (SELL) for Slope_Bars consecutive bars, confirmed by price closing above/below KAMA.
إشارات الدخول
- BUY: KAMA slope turns positive for Slope_Bars bars AND price closes above KAMA
- SELL: KAMA slope turns negative for Slope_Bars bars AND price closes below KAMA
- No-Trade: KAMA is flat (slope < threshold) → choppy market
- Confidence = ER × 100 (directly maps efficiency to confidence)
إشارات الخروج
- ✕TP: Price reaches entry ± (TP_ATR_Mult × ATR)
- ✕Reversal: KAMA slope flips opposite direction
- ✕Expiry: Signal_Expiry_Bars passed
مرشحات التداول
- KAMA Flatness: abs(slope) < threshold → no signal (choppy)
- Session: Outside session hours → no signal
- Spread: Spread > Max_Spread_Points → no signal
- Cooldown: Last signal < Cooldown_Bars ago → no signal
- ATR Regime: Extreme volatility → no signal
معاينة الكود المصدري
لأغراض تعليمية فقط. لا تستخدمه بأموال حقيقية. اختبر على حساب تجريبي فقط.
المميزات الرئيسية
معاملات الإدخال
تعليمات التثبيت
تحذير صريح: لأغراض تعليمية فقط
هذا المؤشر مخصص للأغراض التعليمية والاختبارية فقط. لا تستخدمه بأموال حقيقية. اختبره فقط على حساب تجريبي. التداول بأموال حقيقية ينطوي على مخاطر فقدان رأس المال. لا تشكل هذه الأداة نصيحة استثمارية.
مجتمع المستخدمين
الأسئلة الشائعة
إخلاء مسؤولية تعليمي
هذا المحتوى للأغراض التعليمية فقط ولا يُعد نصيحة مالية أو استثمارية. التداول ينطوي على مخاطر كبيرة وقد تفقد رأس مالك. استشر مستشارًا ماليًا مرخصًا قبل اتخاذ أي قرارات استثمارية.
سجّل دخولك للتحميل
التحميل متاح للأعضاء المسجلين. سجّل الدخول أو أنشئ حساباً مجانياً للوصول إلى الكود المصدري الكامل.
المواصفات
الأفضل لـ
مؤشرات ذات صلة
Supertrend ATR Trend Envelope
ATR-based dynamic trend envelope with auto-adapting bands that widen during volatility and tighten during calm periods.
Multi-Timeframe Confluence Scoring Engine
Evaluates 7+ independent conditions per bar with weighted scores. Only fires when total score meets configurable threshold.
ATR Volatility Regime Classifier
Classifies market into volatility regimes (calm, normal, volatile, extreme) based on ATR relative to its moving average. Master gate for all trading.