OPEN-SOURCE SCRIPT
Dynamic EMA Trend Table [Customizable]

Overview
The Dynamic EMA Trend Table is a comprehensive dashboard designed to give traders an instant overview of the market trend across five distinct Exponential Moving Averages (EMAs). Instead of cluttering your chart with multiple lines, this script organizes the data into a clean, customizable table, allowing you to assess trend alignment at a glance.
How It Works
This indicator calculates five user-defined EMAs (defaulting to the popular 5, 20, 50, 100, and 200 periods). It then compares the Current Price against each EMA value to determine the immediate trend status:
Bullish State: When the current price is above the specific EMA, the table cell turns Green (customizable).
Bearish State: When the current price is below the specific EMA, the table cell turns Red (customizable).
This logic allows swing traders and scalpers to instantly see if the asset is in a strong uptrend (all cells Green), a strong downtrend (all cells Red), or a consolidation phase (mixed colors).
Key Features
Fully Customizable Periods: Change the length of all 5 EMAs to fit your specific strategy (e.g., Fibonacci numbers or standard Swing Trading settings).
Dynamic UI: Position the table anywhere on the screen (Top/Bottom/Left/Right) and adjust the size to fit your screen resolution.
Visual Cleanliness: You can choose to show the table only, or toggle the "Show EMAs on Chart" option to plot the actual lines on your chart.
Smart Coloring: The lines on the chart (if enabled) inherit the same color logic as the table—turning Green when price is above them and Red when price is below.
Settings & Configuration
Price Source: Select Close, High, Low, etc. (Default is Close).
Table Position & Size: Customize where the dashboard appears.
EMA Lengths: Set your 5 preferred lookback periods.
Color Theme: Fully adjustable colors for Bullish, Bearish, Neutral, and Background elements to match your chart theme (Dark/Light mode friendly).
Use Case Example
Trend Confirmation: A trader looking for a "Buy" entry might wait for the short-term EMAs (5 and 20) and the medium-term EMA (50) to all turn Green in the table before entering.
Support/Resistance Watch: By quickly glancing at the values in the table, you can see exactly where the 200 EMA sits without needing to scroll back on your chart to find the line.
The Dynamic EMA Trend Table is a comprehensive dashboard designed to give traders an instant overview of the market trend across five distinct Exponential Moving Averages (EMAs). Instead of cluttering your chart with multiple lines, this script organizes the data into a clean, customizable table, allowing you to assess trend alignment at a glance.
How It Works
This indicator calculates five user-defined EMAs (defaulting to the popular 5, 20, 50, 100, and 200 periods). It then compares the Current Price against each EMA value to determine the immediate trend status:
Bullish State: When the current price is above the specific EMA, the table cell turns Green (customizable).
Bearish State: When the current price is below the specific EMA, the table cell turns Red (customizable).
This logic allows swing traders and scalpers to instantly see if the asset is in a strong uptrend (all cells Green), a strong downtrend (all cells Red), or a consolidation phase (mixed colors).
Key Features
Fully Customizable Periods: Change the length of all 5 EMAs to fit your specific strategy (e.g., Fibonacci numbers or standard Swing Trading settings).
Dynamic UI: Position the table anywhere on the screen (Top/Bottom/Left/Right) and adjust the size to fit your screen resolution.
Visual Cleanliness: You can choose to show the table only, or toggle the "Show EMAs on Chart" option to plot the actual lines on your chart.
Smart Coloring: The lines on the chart (if enabled) inherit the same color logic as the table—turning Green when price is above them and Red when price is below.
Settings & Configuration
Price Source: Select Close, High, Low, etc. (Default is Close).
Table Position & Size: Customize where the dashboard appears.
EMA Lengths: Set your 5 preferred lookback periods.
Color Theme: Fully adjustable colors for Bullish, Bearish, Neutral, and Background elements to match your chart theme (Dark/Light mode friendly).
Use Case Example
Trend Confirmation: A trader looking for a "Buy" entry might wait for the short-term EMAs (5 and 20) and the medium-term EMA (50) to all turn Green in the table before entering.
Support/Resistance Watch: By quickly glancing at the values in the table, you can see exactly where the 200 EMA sits without needing to scroll back on your chart to find the line.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.