PROTECTED SOURCE SCRIPT
Telah dikemas kini

Moving Average Heat Map

339
The MA Trend Heatmap transforms complex moving average analysis into an intuitive visual display. By calculating the slope angle of seven moving averages and presenting them as a color-coded heatmap, this indicator provides instant insight into market momentum across multiple timeframes.

Key Features:

8 Moving Average Types: Choose from EMA, SMA, WMA, HMA, RMA, VWMA, DEMA, or TEMA.

Customizable Periods: 7 configurable MA lengths (default: 3, 5, 8, 13, 21, 34, 55)

Dynamic Angle Calculation: Measures MA slope angles with automatic chart scale normalization

9-Level Color Gradient: Visual momentum strength from extreme bullish to extreme bearish
Comprehensive Info Table: Real-time display of all angles and momentum statistics

4 Alert Conditions: Extreme and majority momentum alerts for automated trading

How to Use:

Trend Identification: Green rows indicate bullish momentum, red rows show bearish momentum

Momentum Strength: Color intensity reflects angle steepness (brighter = stronger)

Confluence Trading: Look for alignment when multiple rows show the same color

Divergence Detection: Spot when short and long-term MAs show opposing colors

Alert Setup: Configure alerts for extreme momentum conditions

Settings:

Select MA type and customize each of the 7 period lengths

Calculation Settings

Slope Period: Lookback for angle calculation (default: 5)
Max Angle: Normalization threshold (default: 90°)

Display Settings

Heatmap Height: Adjust row size
Grid Lines: Toggle on/off
Info Table: Show/hide detailed statistics

Colors

Fully customizable 9-level color scheme

Interpretation

All Green: Strong uptrend across all timeframes
Mixed Colors: Transitional market or ranging conditions
All Red: Strong downtrend across all timeframes
Color Transitions: Potential trend change developing

Best Practices

Combine with price action for confirmation
Use multiple timeframes for better perspective
Wait for color alignment before entering trades
Monitor the info table for precise angle measurements

What Makes This Unique

Unlike traditional MA crossover systems, this indicator quantifies momentum through angle measurement and presents it visually. The heatmap format allows traders to assess market conditions at a glance, making it ideal for quick decision-making and multi-timeframe analysis.
Nota Keluaran
Moving Average Heatmap Enhanced - Update Description

Overview
This enhanced version of the Moving Average Heatmap indicator adds significant flexibility and customization options, transforming it from a 7-MA system to a fully configurable multi-timeframe momentum analyzer.

Key Enhancements

1. Individual MA Toggle System:
Each moving average can now be individually enabled or disabled
Allows for cleaner analysis by showing only the MAs you need
Disabled MAs don't contribute to calculations or alerts
Option to completely hide disabled rows or show them as dark placeholders

2. Independent MA Type Selection:
Each MA slot can use a different calculation method
Choose from 8 MA types: EMA, SMA, WMA, HMA, RMA, VWMA, DEMA, TEMA
Mix and match MA types for different timeframes (e.g., EMA for short-term, SMA for medium-term, VWMA for long-term)
Enables more sophisticated analysis strategies

3. Expanded to 10 Moving Averages:
Added 3 additional MA slots for a total of 10
New default lengths include Fibonacci numbers: 89, 144, 233
Provides broader market perspective from ultra-short to long-term trends
All 10 MAs are independently configurable

4. Smart Dynamic Calculations:
Statistics automatically adjust based on active MAs only
"Active MAs" counter shows how many are enabled (e.g., "7/10")
Average angle calculation excludes disabled MAs
Bull/Bear counts show ratios relative to enabled MAs only

5. Enhanced Visual Table:
Clearly indicates which MAs are active vs disabled
Disabled MAs marked with "[OFF]" prefix
Color-coded angle values for quick interpretation
Compact design fits all 10 MAs with their settings

6. Improved Alert System:
Alerts properly account for only enabled MAs
"All MAs Extreme" alerts require all active MAs to meet criteria
"Majority" alerts calculate based on active MA count
Prevents false signals from disabled MAs

-----

This enhanced version maintains all original functionality while adding professional-grade customization options, making it suitable for both simple and complex trading strategies.
Nota Keluaran
Moving Average Heatmap - Display Patch (fix)

Instead of individual toggles, we implemented a single "Number of MAs to Display" dropdown selector (1-10).

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.