OPEN-SOURCE SCRIPT
MA Ribbon (Horizontal Levels)

📊 MA Ribbon (Horizontal Levels)
MA Ribbon (Horizontal Levels) is a minimalist moving average tool that displays moving averages as horizontal price levels instead of traditional sloping lines.
Rather than showing the historical path of each moving average, this indicator focuses exclusively on where each selected MA is currently located in price, allowing traders to treat moving averages as dynamic support and resistance levels.
The result is a clean, uncluttered chart that preserves moving average structure without visual noise.
🔍 What Makes It Different
No traditional moving average curves
No shading, bands, or fills
Each moving average is represented as a horizontal line at its current value
Lines automatically update as price and the MA value change
Designed to complement price action rather than dominate the chart
This approach makes it easier to see key MA levels at a glance, especially when multiple averages are in use.
⚙️ Key Features
✅ Fully Customizable Moving Averages
Select the moving average type:
SMA
EMA
SMMA (RMA)
WMA
VWMA
Choose the price source (e.g., close)
Configure up to 10 independent moving averages
✅ Per-MA Controls
Each moving average can be customized individually:
Enable or disable any MA (use anywhere from 1 to 10)
Set the MA period (length)
Choose line color
Adjust line thickness
Select line style (solid, dashed, dotted)
✅ Horizontal Level Visualization
Each MA is plotted as a horizontal line extending across the chart, representing the current value of that moving average.
As the MA updates, the level shifts vertically, maintaining a clear and consistent reference point.
🧠 How to Use It
This indicator is designed as a context and structure tool, not a signal generator.
Common use cases include:
Identifying dynamic support and resistance zones
Visualizing where short-term and long-term MA levels are stacked
Using MA levels as confluence with price action, VWAP, or volume-based tools
Maintaining a clean chart while still respecting moving average structure
Because the lines are horizontal, the indicator is especially useful for:
Breakout traders
Mean-reversion traders
Market participants who focus on structure and levels rather than indicator signals
🎯 Who It’s For
This indicator is ideal for traders who:
MA Ribbon (Horizontal Levels) is built for traders who want clarity, flexibility, and structural insight — without sacrificing chart readability.
MA Ribbon (Horizontal Levels) is a minimalist moving average tool that displays moving averages as horizontal price levels instead of traditional sloping lines.
Rather than showing the historical path of each moving average, this indicator focuses exclusively on where each selected MA is currently located in price, allowing traders to treat moving averages as dynamic support and resistance levels.
The result is a clean, uncluttered chart that preserves moving average structure without visual noise.
🔍 What Makes It Different
No traditional moving average curves
No shading, bands, or fills
Each moving average is represented as a horizontal line at its current value
Lines automatically update as price and the MA value change
Designed to complement price action rather than dominate the chart
This approach makes it easier to see key MA levels at a glance, especially when multiple averages are in use.
⚙️ Key Features
✅ Fully Customizable Moving Averages
Select the moving average type:
SMA
EMA
SMMA (RMA)
WMA
VWMA
Choose the price source (e.g., close)
Configure up to 10 independent moving averages
✅ Per-MA Controls
Each moving average can be customized individually:
Enable or disable any MA (use anywhere from 1 to 10)
Set the MA period (length)
Choose line color
Adjust line thickness
Select line style (solid, dashed, dotted)
✅ Horizontal Level Visualization
Each MA is plotted as a horizontal line extending across the chart, representing the current value of that moving average.
As the MA updates, the level shifts vertically, maintaining a clear and consistent reference point.
🧠 How to Use It
This indicator is designed as a context and structure tool, not a signal generator.
Common use cases include:
Identifying dynamic support and resistance zones
Visualizing where short-term and long-term MA levels are stacked
Using MA levels as confluence with price action, VWAP, or volume-based tools
Maintaining a clean chart while still respecting moving average structure
Because the lines are horizontal, the indicator is especially useful for:
Breakout traders
Mean-reversion traders
Market participants who focus on structure and levels rather than indicator signals
🎯 Who It’s For
This indicator is ideal for traders who:
- Prefer minimal, uncluttered charts
- Think of moving averages as levels, not signals
- Want full control over MA appearance and behavior
- Use price action and structure first, indicators second
- Use this tool in conjunction with standard moving average indicators, treating these horizontal MA levels as complementary reference points rather than replacements
MA Ribbon (Horizontal Levels) is built for traders who want clarity, flexibility, and structural insight — without sacrificing chart readability.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.