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).

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.