OPEN-SOURCE SCRIPT
MTF LIVE SMA Heatmap

This tool displays a multi‑timeframe heatmap for SMA 9, SMA 20, and SMA 200.
It combines trend direction, pip distance, and market structure in a compact table.
Features
Pip distance between price and SMA (automatically calculated for each symbol)
Yellow highlight when price is between SMA 9 and SMA 20
Green when price is above both SMAs
Red when price is below both SMAs
SMA‑200 heatmap based on percentage distance (with neutral zone)
Trend comparison 9 vs 20 (9>20, 20>9, or neutral)
Additional row for the current timeframe
Supports Forex, Gold, Silver, Indices, Crypto, and Energies
Pip Engine
A universal pip engine automatically detects the correct pip size for each symbol
(e.g., XAU = 0.10, XAG = 0.01, BTC = 1.0, EURUSD = 0.0001, etc.).
Use Cases
Perfect for:
Trend filtering
Multi‑TF confirmation
Scalping / intraday trading
Identifying transition zones (yellow area)
SMA cluster analysis
9to20 Pip Distance
It combines trend direction, pip distance, and market structure in a compact table.
Features
Pip distance between price and SMA (automatically calculated for each symbol)
Yellow highlight when price is between SMA 9 and SMA 20
Green when price is above both SMAs
Red when price is below both SMAs
SMA‑200 heatmap based on percentage distance (with neutral zone)
Trend comparison 9 vs 20 (9>20, 20>9, or neutral)
Additional row for the current timeframe
Supports Forex, Gold, Silver, Indices, Crypto, and Energies
Pip Engine
A universal pip engine automatically detects the correct pip size for each symbol
(e.g., XAU = 0.10, XAG = 0.01, BTC = 1.0, EURUSD = 0.0001, etc.).
Use Cases
Perfect for:
Trend filtering
Multi‑TF confirmation
Scalping / intraday trading
Identifying transition zones (yellow area)
SMA cluster analysis
9to20 Pip Distance
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.