OPEN-SOURCE SCRIPT

Multi-EMA Slope Dashboard

73
This script provides a comprehensive dashboard displayed directly on the chart, allowing you to analyze the underlying trend using 8 Exponential Moving Averages (EMA) ranging from period 20 to 55.

Unlike classic indicators that simply check if the price is above or below the EMA, this tool analyzes the slope of each moving average to determine the true market dynamics.

The indicator calculates the status of 8 distinct EMAs (20, 25, 30, 35, 40, 45, 50, 55). For each EMA, the script determines the direction using the following logic:

Slope Calculation: It compares the current EMA value with its value 3 bars ago (variable nb_bougies).

Neutrality Threshold: To avoid false signals in ranging (flat) markets, a neutrality filter is applied (0.01% of the EMA value).

Dashboard Interpretation
The table is located at the top right of your screen and displays three columns:

EMA: The moving average period (e.g., 20, 55).

State:

H (Hausse / Up): The slope is positive and above the threshold.

B (Baisse / Down): The slope is negative and below the negative threshold.

N (Neutre / Neutral): The slope is weak, indicating no clear trend.

COL (Color): Quick visual indicator.

🔵 Blue: Bullish trend.

🟠 Orange: Bearish trend.

⚪ Gray: Neutral Trend / Ranging.

Trading Usage
Trend Confirmation: Use the "Totaux" (Totals) counter at the bottom of the table. If you see 8/8 H (Blue), the bullish trend is strong and aligned across all timeframes (short and medium term).

Reversal Detection: If fast EMAs (20, 25) turn Orange (B) while slow ones (50, 55) are still Blue (H), this may signal the beginning of a correction or a trend reversal.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.