OPEN-SOURCE SCRIPT
EMA Distance Meter (14 vs 50)

This is an EMA Distance Meter.
Its only job is to show you how far the 14 EMA is from the 50 EMA, both:
✔ As a percentage
✔ As a raw point difference
✔ With color-coded trend strength
✔ With a small on-chart table showing current values
This kind of tool is meant to help you confirm trend vs chop without guessing.
✅ Main Concept
It measures the distance between the fast EMA (14) and slow EMA (50).
When the 14 EMA is above the 50 → bullish distance
When the 14 EMA is below the 50 → bearish distance
Bigger distance = stronger trend
Tiny distance = chop/consolidation
🔧 How It Works (Step-by-Step)
1. Inputs
You can change:
Fast EMA length (default 14)
Slow EMA length (default 50)
Source (close by default)
Thresholds for:
Trend strength
Choppy/no-trend zone
These thresholds are percentages.
Example:
Trend threshold = 0.20 → trend when EMAs differ by ≥ 0.20%
Chop threshold = 0.10 → chop when EMAs differ by ≤ 0.10%
Its only job is to show you how far the 14 EMA is from the 50 EMA, both:
✔ As a percentage
✔ As a raw point difference
✔ With color-coded trend strength
✔ With a small on-chart table showing current values
This kind of tool is meant to help you confirm trend vs chop without guessing.
✅ Main Concept
It measures the distance between the fast EMA (14) and slow EMA (50).
When the 14 EMA is above the 50 → bullish distance
When the 14 EMA is below the 50 → bearish distance
Bigger distance = stronger trend
Tiny distance = chop/consolidation
🔧 How It Works (Step-by-Step)
1. Inputs
You can change:
Fast EMA length (default 14)
Slow EMA length (default 50)
Source (close by default)
Thresholds for:
Trend strength
Choppy/no-trend zone
These thresholds are percentages.
Example:
Trend threshold = 0.20 → trend when EMAs differ by ≥ 0.20%
Chop threshold = 0.10 → chop when EMAs differ by ≤ 0.10%
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının yaratıcısı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının yaratıcısı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.