OPEN-SOURCE SCRIPT

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

622
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

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.