OPEN-SOURCE SCRIPT
Aggiornato Info Tables

This indicator provides two clear tables showing key market metrics, helping you make sense of price action. Each metric is chosen to give you practical insights, and you can customize the display to fit your needs.
## Key Features and Why Metrics Matter
### Main Table Metrics
- **ML-Predicted Price**:
- **What**: A price forecast based on a machine learning model using past price, volume, and RSI data.
- **Why**: Shows where the market might head, helping you gauge if the current price is too high or low compared to the prediction. Useful for spotting potential reversals or continuations.
- **Deviation %**:
- **What**: The percentage difference between the current price and the predicted price.
- **Why**: Tells you how far the market is straying from the ML forecast. A large deviation might suggest overbought/oversold conditions or a trend shift.
- **VWAP Deviation %**:
- **What**: The percentage difference between the current price and the Volume Weighted Average Price (VWAP).
- **Why**: VWAP is a benchmark for fair price; deviation shows if the market is stretched above or below this level, aiding entries or exits.
- **FRED UNRATE % Change**:
- **What**: The percentage change in the U.S. unemployment rate from FRED data.
- **Why**: Offers macro context. Rising unemployment can signal economic weakness, impacting market sentiment, while falling rates may boost confidence.
- **Open Interest**:
- **What**: The total number of open futures contracts for MESM2.
- **Why**: High open interest indicates strong market participation, often tied to liquidity and conviction. Low levels might suggest indecision or lack of commitment.
- **COT Commercial Long/Short**:
- **What**: Commitment of Traders (COT) data showing commercial traders’ long and short positions.
- **Why**: Reveals how big players (hedgers) are positioned. More longs than shorts can hint at bullish sentiment, while more shorts suggest bearish views.
### New Metrics Table
- **QQE Bias**:
- **What**: A momentum indicator based on a smoothed RSI with trailing stops.
- **Why**: Highlights bullish (green) or bearish (red) momentum, helping you confirm short-term trade directions or avoid choppy markets (gray).
- **Volume Momentum**:
- **What**: A score (1–20) comparing current volume to past volume over a lookback period.
- **Why**: High scores indicate strong buying/selling pressure, signaling potential breakouts or reversals. Low scores suggest weak participation.
- **ATR Volatility**:
- **What**: A score (1–20) based on the Average True Range, measuring price volatility.
- **Why**: High volatility warns of larger price swings, useful for setting stop-losses or avoiding trades in choppy conditions. Low volatility may indicate consolidation.
- **ADX Trend**:
- **What**: The Average Directional Index, measuring trend strength.
- **Why**: High ADX values confirm strong trends, guiding you to trade with the trend. Low values suggest range-bound markets, better for mean-reversion strategies.
- **RSI**:
- **What**: Relative Strength Index, showing overbought (>70) or oversold (<30) conditions.
- **Why**: Helps identify potential reversal points or confirm momentum. Useful for timing entries in overextended markets.
- **Frahm Volatility**:
- **What**: A score (1–20) based on true range over a time window (e.g., 24 hours).
- **Why**: Measures short-term volatility, helping you adjust position sizes or avoid trading during erratic price moves.
- **Frahm Avg Candle (Ticks)**:
- **What**: The average candle size in ticks over the same time window.
- **Why**: Indicates typical price movement, useful for setting realistic profit targets or stop-losses based on recent market behavior.
### Additional Features
- **Plotted Predicted Price**:
- **What**: An optional line showing the ML-predicted price on the chart.
- **Why**: Lets you visually compare the predicted price to actual price action, making it easier to spot divergence or alignment.
- **Custom Gradient Colors**:
- **What**: User-defined colors for high/low values in both tables.
- **Why**: Makes it quick to see which metrics are at extremes (e.g., high deviation or strong ADX), improving decision-making under pressure.
- **Alerts**:
- **What**: Notifications for high/low Frahm volatility and bullish/bearish QQE Bias.
- **Why**: Keeps you informed of critical changes (e.g., volatility spikes or momentum shifts) without needing to watch the chart constantly.
## Customization Options
- **ML Matrix Inputs**:
- Adjust the **ML Lookback Period** (e.g., 200–300 for volatile markets, 1000 for trends) to control how much history the ML model uses.
- Set the **ML RSI Period** (e.g., 7–10 for fast markets, 20 for calm) to tweak the RSI’s sensitivity in the prediction.
- **Plot Settings**:
- Toggle the predicted price line and choose its color (default blue) for clear visibility.
- **Table Settings**:
- Position tables (top/bottom, left/center/right) and show/hide them to focus on what matters.
- **Gradient Color Settings**:
- Pick colors for high/low values in each table to match your chart or preferences.
- **Timeframe & Thresholds**:
- Set specific timeframes (e.g., 5-minute for smoother data) and thresholds (e.g., tighter deviation ranges) for each metric to suit your trading style.
## Ideal Use Case
This indicator is perfect for MESM2 traders navigating fast-moving markets. The Main Table gives you a big-picture view (predicted price, macro data, and positioning), while the New Metrics Table zooms in on momentum and volatility, ideal for scalping or trend trades. Use it to confirm entries, set stops, or avoid choppy periods.
## Why It’s Valuable
The **ML Matrix - Tables Only** puts essential data at your fingertips. Each metric is selected to answer a specific question—Is the price overextended? Is momentum building? Are big players bullish? Are conditions too volatile?—helping you trade with clarity and confidence, whether you’re catching quick moves or riding longer trends.
## Key Features and Why Metrics Matter
### Main Table Metrics
- **ML-Predicted Price**:
- **What**: A price forecast based on a machine learning model using past price, volume, and RSI data.
- **Why**: Shows where the market might head, helping you gauge if the current price is too high or low compared to the prediction. Useful for spotting potential reversals or continuations.
- **Deviation %**:
- **What**: The percentage difference between the current price and the predicted price.
- **Why**: Tells you how far the market is straying from the ML forecast. A large deviation might suggest overbought/oversold conditions or a trend shift.
- **VWAP Deviation %**:
- **What**: The percentage difference between the current price and the Volume Weighted Average Price (VWAP).
- **Why**: VWAP is a benchmark for fair price; deviation shows if the market is stretched above or below this level, aiding entries or exits.
- **FRED UNRATE % Change**:
- **What**: The percentage change in the U.S. unemployment rate from FRED data.
- **Why**: Offers macro context. Rising unemployment can signal economic weakness, impacting market sentiment, while falling rates may boost confidence.
- **Open Interest**:
- **What**: The total number of open futures contracts for MESM2.
- **Why**: High open interest indicates strong market participation, often tied to liquidity and conviction. Low levels might suggest indecision or lack of commitment.
- **COT Commercial Long/Short**:
- **What**: Commitment of Traders (COT) data showing commercial traders’ long and short positions.
- **Why**: Reveals how big players (hedgers) are positioned. More longs than shorts can hint at bullish sentiment, while more shorts suggest bearish views.
### New Metrics Table
- **QQE Bias**:
- **What**: A momentum indicator based on a smoothed RSI with trailing stops.
- **Why**: Highlights bullish (green) or bearish (red) momentum, helping you confirm short-term trade directions or avoid choppy markets (gray).
- **Volume Momentum**:
- **What**: A score (1–20) comparing current volume to past volume over a lookback period.
- **Why**: High scores indicate strong buying/selling pressure, signaling potential breakouts or reversals. Low scores suggest weak participation.
- **ATR Volatility**:
- **What**: A score (1–20) based on the Average True Range, measuring price volatility.
- **Why**: High volatility warns of larger price swings, useful for setting stop-losses or avoiding trades in choppy conditions. Low volatility may indicate consolidation.
- **ADX Trend**:
- **What**: The Average Directional Index, measuring trend strength.
- **Why**: High ADX values confirm strong trends, guiding you to trade with the trend. Low values suggest range-bound markets, better for mean-reversion strategies.
- **RSI**:
- **What**: Relative Strength Index, showing overbought (>70) or oversold (<30) conditions.
- **Why**: Helps identify potential reversal points or confirm momentum. Useful for timing entries in overextended markets.
- **Frahm Volatility**:
- **What**: A score (1–20) based on true range over a time window (e.g., 24 hours).
- **Why**: Measures short-term volatility, helping you adjust position sizes or avoid trading during erratic price moves.
- **Frahm Avg Candle (Ticks)**:
- **What**: The average candle size in ticks over the same time window.
- **Why**: Indicates typical price movement, useful for setting realistic profit targets or stop-losses based on recent market behavior.
### Additional Features
- **Plotted Predicted Price**:
- **What**: An optional line showing the ML-predicted price on the chart.
- **Why**: Lets you visually compare the predicted price to actual price action, making it easier to spot divergence or alignment.
- **Custom Gradient Colors**:
- **What**: User-defined colors for high/low values in both tables.
- **Why**: Makes it quick to see which metrics are at extremes (e.g., high deviation or strong ADX), improving decision-making under pressure.
- **Alerts**:
- **What**: Notifications for high/low Frahm volatility and bullish/bearish QQE Bias.
- **Why**: Keeps you informed of critical changes (e.g., volatility spikes or momentum shifts) without needing to watch the chart constantly.
## Customization Options
- **ML Matrix Inputs**:
- Adjust the **ML Lookback Period** (e.g., 200–300 for volatile markets, 1000 for trends) to control how much history the ML model uses.
- Set the **ML RSI Period** (e.g., 7–10 for fast markets, 20 for calm) to tweak the RSI’s sensitivity in the prediction.
- **Plot Settings**:
- Toggle the predicted price line and choose its color (default blue) for clear visibility.
- **Table Settings**:
- Position tables (top/bottom, left/center/right) and show/hide them to focus on what matters.
- **Gradient Color Settings**:
- Pick colors for high/low values in each table to match your chart or preferences.
- **Timeframe & Thresholds**:
- Set specific timeframes (e.g., 5-minute for smoother data) and thresholds (e.g., tighter deviation ranges) for each metric to suit your trading style.
## Ideal Use Case
This indicator is perfect for MESM2 traders navigating fast-moving markets. The Main Table gives you a big-picture view (predicted price, macro data, and positioning), while the New Metrics Table zooms in on momentum and volatility, ideal for scalping or trend trades. Use it to confirm entries, set stops, or avoid choppy periods.
## Why It’s Valuable
The **ML Matrix - Tables Only** puts essential data at your fingertips. Each metric is selected to answer a specific question—Is the price overextended? Is momentum building? Are big players bullish? Are conditions too volatile?—helping you trade with clarity and confidence, whether you’re catching quick moves or riding longer trends.
Note di rilascio
# Info Tables Indicator## Overview
The **Info Tables** indicator is a TradingView tool designed for intraday traders, optimized for MESM2 (Micro E-mini S&P 500 futures) on 1-minute charts. It features two customizable tables displaying essential market metrics to support decision-making during high-activity periods, such as 9:30 AM–11:00 AM CDT. Each metric provides targeted insights into price, momentum, volatility, and market positioning, with flexible settings to adapt to your trading preferences.
## Main Table Metrics
- **ML-Predicted Price**: A machine learning-based price forecast using normalized price, volume, and RSI data over a user-defined lookback period (default 500 bars). Identifies potential price targets and whether the current price is above or below the forecast.
- **Deviation %**: The percentage difference between the current price and the ML-predicted price. Shows how far the market is from the forecast, helping spot overbought or oversold conditions.
- **VWAP Deviation %**: The percentage difference between the current price and the Volume Weighted Average Price (VWAP). Indicates if the price is trading above or below the session’s average, guiding fair value assessments.
- **FRED UNRATE % Change**: The percentage change in the U.S. unemployment rate from FRED data. Offers macro context, as rising unemployment may signal economic weakness, influencing market sentiment.
- **Open Interest**: The total number of open MESM2 futures contracts. Reflects market participation and liquidity, with high values suggesting strong trader commitment.
- **COT Commercial Long/Short**: Commitment of Traders (COT) data showing commercial traders’ long and short positions, updated weekly on Fridays at 3:30 PM ET. Reveals institutional sentiment (green for more longs, red for more shorts).
## New Metrics Table
- **QQE Bias**: A momentum indicator based on the LuxAlgo QQE Weighted Oscillator (CC BY-NC-SA 4.0). Shows green when RSI > trailing stop (bullish), red when RSI < trailing stop (bearish), or gray when equal. Confirms short-term momentum on a user-selected timeframe (e.g., 1-hour).
- **RSI**: Relative Strength Index (default period 14), indicating overbought (>70) or oversold (<30) conditions. Helps identify reversal points or confirm momentum.
- **ATR Volatility**: A score (1–20, higher = more volatile) based on the Average True Range (ATR). High scores highlight larger price swings, aiding in stop-loss placement or avoiding choppy markets.
- **ADX Trend**: The Average Directional Index (0–100, higher = stronger trend). Values above 25 confirm trending markets for trend-following strategies, while values below 20 suggest range-bound conditions.
- **Volume Momentum**: A score (1–20, higher = stronger volume) comparing current volume to historical volume. High scores indicate strong buying/selling pressure, signaling potential breakouts or reversals.
- **Frahm Volatility**: A score (1–20, higher = more volatile) based on true range over a time window (default 24 hours). Guides position sizing or trade avoidance during erratic moves.
- **Frahm Avg Candle (Ticks)**: The average candle size in ticks over the same window. Informs realistic profit targets or stop-loss levels.
## Customization Options
- **ML Matrix Inputs**: Adjust the lookback period (200–1000 bars) and RSI period (7–20) for the ML-predicted price to control responsiveness versus smoothness.
- **Plot Settings**: Enable a line plot of the ML-predicted price (default blue) to compare forecasts with actual price action.
- **Table Settings**: Position tables (top/bottom, left/center/right) and toggle visibility to focus on relevant metrics.
- **Gradient Color Settings**: Customize high/low colors for both tables (default green/red) to enhance visual clarity.
- **Timeframe & Thresholds**: Set timeframes (e.g., 1H for QQE Bias) and thresholds (e.g., ADX at 25) to align metrics with your trading approach, from scalping to trend-following.
- **QQE Bias Settings**: Fine-tune length (default 14), factor (4.236), and smooth (5) for QQE Bias, with a 1-hour option for higher-timeframe momentum analysis.
## Alerts
- **Volatility Alerts**: Trigger for high (≥8) or low (≤3) Frahm Volatility, notifying you of significant price swings or calm markets.
- **QQE Bias Alerts**: Alert when QQE RSI crosses above (bullish) or below (bearish) the trailing stop, highlighting momentum shifts.
## Ideal Use Case
Tailored for MESM2 traders in fast-paced intraday markets, **Info Tables** combines predictive, momentum, and volatility metrics. The Main Table provides macro and positioning insights, while the New Metrics Table delivers actionable signals like QQE Bias and RSI for scalping or trend trades.
## Why It’s Useful
Each metric addresses a key trading question: Is the price misaligned? Is momentum shifting? Is volatility spiking? Are institutions positioned bullishly? With real-time updates (except weekly COT), customizable tables, and clear visuals, **Info Tables** empowers MESM2 traders to navigate volatile sessions with precision and confidence.
*Note*: QQE logic adapted from LuxAlgo QQE Weighted Oscillator, licensed under CC BY-NC-SA 4.0.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.