OPEN-SOURCE SCRIPT
5 Moving Averages – Custom Trend Colors + No Neutral Mode

5 Moving Averages Pro – Custom Trend Colors + No Neutral Mode
The cleanest and most professional 5-MA bundle on TradingView.
Features:
• 5 fully customizable moving averages (period + type: SMA, EMA, WMA, HMA, VWMA)
• All 5 MAs instantly change color based on global trend:
– Green → price above ALL 5 MAs (strong bullish)
– Red → price below ALL 5 MAs (strong bearish)
– Optional neutral gray (or completely disable neutral mode)
• Fully customizable bullish, bearish and neutral colors
• Optional background coloring (very light & clean)
• Trend change arrows (only on real bullish/bearish confirmation)
• "No Neutral" mode → forces green/red even in sideways markets (price vs average of the 5 MAs)
Perfect for:
• Trend-following systems
• Clean chart setups
• Scalping, day trading & swing trading
• Confirming institutional bias
Zero repainting | Super lightweight | Works on all timeframes & markets
One of the most loved multi-MA indicators worldwide. Join 250K+ traders already using it daily!
The cleanest and most professional 5-MA bundle on TradingView.
Features:
• 5 fully customizable moving averages (period + type: SMA, EMA, WMA, HMA, VWMA)
• All 5 MAs instantly change color based on global trend:
– Green → price above ALL 5 MAs (strong bullish)
– Red → price below ALL 5 MAs (strong bearish)
– Optional neutral gray (or completely disable neutral mode)
• Fully customizable bullish, bearish and neutral colors
• Optional background coloring (very light & clean)
• Trend change arrows (only on real bullish/bearish confirmation)
• "No Neutral" mode → forces green/red even in sideways markets (price vs average of the 5 MAs)
Perfect for:
• Trend-following systems
• Clean chart setups
• Scalping, day trading & swing trading
• Confirming institutional bias
Zero repainting | Super lightweight | Works on all timeframes & markets
One of the most loved multi-MA indicators worldwide. Join 250K+ traders already using it daily!
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.