OPEN-SOURCE SCRIPT
Daily 50‑ & 200‑SMA Ceiling Radar — Enhanced

Description:
This custom TradingView indicator, developed by Trader Malik and licensed under Trades Per Minute, is a powerful visual tool for identifying how price behaves relative to major daily moving averages — the 50-SMA and 200-SMA. It helps traders quickly understand key technical dynamics such as trend alignment, MA proximity, and short-term momentum sentiment — all displayed on a clean, minimal overlay with visual alerts and an adjustable data table.
FEATURES
1. Daily 50 & 200 Simple Moving Averages (SMA):**
- Displayed directly on the chart using distinct blue and orange lines.
- These serve as primary trend filters and support/resistance zones.
2. Price Highlighting:
- A red background flashes momentarily when the price crosses either the 50-SMA or 200-SMA.
- A green background fills the chart when price is above both MAs (bullish zone).
- A red background persists if price is below both MAs (bearish zone).
3. MA Gap Analysis Table:
- 50-SMA Row**: Shows % gap between 50-SMA and 200-SMA.
- 200-SMA Row**: Shows % gap between 200-SMA and 50-SMA.
- Sentiment Row**: Displays short-term trend bias based on the slope of the past 7 daily closes — Bullish, Neutral, or Bearish.
USER SETTINGS
Table Location: Choose between **Top Right** or **Bottom Right** of the chart.
Table Size: Select **Small**, **Medium**, or **Large** to suit screen preferences and layout aesthetics.
This script is **intellectual property of Trades Per Minute** and distributed by **Trader Malik** for use under licensing terms. Redistribution or repurposing without authorization is strictly prohibited.
This custom TradingView indicator, developed by Trader Malik and licensed under Trades Per Minute, is a powerful visual tool for identifying how price behaves relative to major daily moving averages — the 50-SMA and 200-SMA. It helps traders quickly understand key technical dynamics such as trend alignment, MA proximity, and short-term momentum sentiment — all displayed on a clean, minimal overlay with visual alerts and an adjustable data table.
FEATURES
1. Daily 50 & 200 Simple Moving Averages (SMA):**
- Displayed directly on the chart using distinct blue and orange lines.
- These serve as primary trend filters and support/resistance zones.
2. Price Highlighting:
- A red background flashes momentarily when the price crosses either the 50-SMA or 200-SMA.
- A green background fills the chart when price is above both MAs (bullish zone).
- A red background persists if price is below both MAs (bearish zone).
3. MA Gap Analysis Table:
- 50-SMA Row**: Shows % gap between 50-SMA and 200-SMA.
- 200-SMA Row**: Shows % gap between 200-SMA and 50-SMA.
- Sentiment Row**: Displays short-term trend bias based on the slope of the past 7 daily closes — Bullish, Neutral, or Bearish.
USER SETTINGS
Table Location: Choose between **Top Right** or **Bottom Right** of the chart.
Table Size: Select **Small**, **Medium**, or **Large** to suit screen preferences and layout aesthetics.
This script is **intellectual property of Trades Per Minute** and distributed by **Trader Malik** for use under licensing terms. Redistribution or repurposing without authorization is strictly prohibited.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.