OPEN-SOURCE SCRIPT

Trend Alignment Table

75
The Trend Alignment Table is a clean, visual tool designed to quickly assess trend direction and alignment across multiple moving averages — without cluttering your chart.

Instead of plotting moving average lines, this indicator displays a compact on-chart table showing each selected MA and its corresponding trend status using color-coded circles.

🧩 How It Works

Each circle represents the relationship between price and its corresponding moving average (MA):

Price vs. MA MA Direction Circle Color Meaning
Above Rising 🟢 Green Bullish continuation
Above Falling 🟡 Yellow Weakening bullishness
Below Falling 🔴 Red Bearish continuation
Below Rising 🟡 Yellow Weakening bearishness

⚙️ Features

Up to 4 customizable moving averages

Type: SMA, EMA, SMMA (RMA), WMA, VWMA

Source: Any price source (close, open, etc.)

Length: Fully adjustable

Dynamic color-coded circles (green, yellow, red by default — fully customizable)

User-selectable table position (top-left, top-right, bottom-left, bottom-right)

Clean visual layout for quick multi-timeframe trend confirmation

📊 Use Cases

Instantly identify trend alignment across short-, medium-, and long-term averages

Confirm trend strength or weakening momentum

Combine with other indicators or strategies for confirmation signals

🧠 Default Settings
MA Type Length Color
MA #1 SMA 5 Green
MA #2 SMA 20 Gold
MA #3 SMA 50 Orange
MA #4 SMA 150 Red

🧰 Created for traders who value clarity.

Whether you trade trends, reversals, or momentum shifts, the Trend Alignment Table gives you a concise, at-a-glance view of the market’s directional structure.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน