OPEN-SOURCE SCRIPT
Stacked MAs and Solid Price Volume

Stacked MAs and Solid Price Volume is a lower-pane trend alignment indicator that provides instant visual confirmation of moving average structure and price positioning. The indicator monitors all six key SMAs (5, 10, 20, 50, 100, and 200-day) and displays background shading based on trend health: light red when price trades below the 200 SMA (caution zone), light green when price is above the 200 SMA (bullish territory), and darker green when price is above the 200 SMA AND all SMAs are perfectly stacked in bullish order (5 > 10 > 20 > 50 > 100 > 200)—the ideal trending condition. A thick green horizontal line appears during periods of full stack alignment, making it easy to scan charts and identify sustained uptrends. Green dots at the bottom mark price crossovers above the 50 SMA (potential trend resumption signals), while white dots at the top flag 5/10 SMA bullish crossovers (short-term momentum shifts). The colored strip along the bottom displays the 200 SMA's trend direction: blue for rising, red for falling, and gray for flat—giving you immediate context on the long-term trend's trajectory. Smart IPO handling ensures the indicator works properly on newer stocks with limited price history by defaulting unavailable longer-term comparisons to neutral. Perfect for trend followers who want a quick, clean read on moving average alignment without cluttering their price chart.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。