OPEN-SOURCE SCRIPT

EMA Distance Meter (14 vs 50)

64
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%

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。