OPEN-SOURCE SCRIPT

Uptrend Filter: Price > 50 & 200 MA + Upward Slope

234
This indicator is designed to help traders instantly identify strong uptrend conditions based on two simple yet powerful criteria:

Price is above both the 50-day and 200-day moving averages

Both moving averages are sloping upward (positive momentum)

When both conditions are met, the indicator plots a green “UP” label below the candle, signaling a valid uptrend setup. This filter is ideal for asset selection in strategy-building, portfolio rotation, or trend-following systems.

🧠 Why it works:
The 50-day MA reflects medium-term momentum.

The 200-day MA represents the long-term trend.

When both are aligned and sloping upward, it confirms strong market structure and trend health.

🧰 Best used for:
Token screening (e.g., filtering altcoins)

Momentum-based entries

Trend confirmation

Risk filtering in strategy backtesting

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。