PROTECTED SOURCE SCRIPT

DM Multimembrane Table

14
Purpose

It’s designed to visually summarize the trend direction across several timeframes (1D, 4H, 1H, 15m, and 5m) — all in a compact table displayed on your chart.
It helps you quickly see whether the market is trending up, down, or sideways across short-term and long-term views.

How It Works

For each timeframe (1D → 5m):

It calculates two Exponential Moving Averages (EMAs):

A Fast EMA (default 50)

A Slow EMA (default 200)

It compares:

The current price (close)

The relationship between Fast EMA and Slow EMA

It then defines the trend:

Uptrend → if price > slow EMA and fast EMA > slow EMA

Downtrend → if price < slow EMA and fast EMA < slow EMA

Neutral → everything else (mixed or consolidating)

Display

It creates a small table in the top-right corner of your chart with two columns:

Timeframe Trend
1D Up / Down / Neutral
4H Up / Down / Neutral
1H Up / Down / Neutral
15m Up / Down / Neutral
5m Up / Down / Neutral

Each Trend cell is color-coded:

Green = Uptrend

Red = Downtrend

Gray = Neutral

User Inputs

You can adjust:

Fast EMA length (default 50)

Slow EMA length (default 200)

Whether to show table borders

Practical Use

Traders use it to:

Quickly confirm trend alignment across timeframes.

Spot when short-term and long-term trends agree (a strong trend confirmation).

Identify mixed signals (potential reversals or consolidations).

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.