OPEN-SOURCE SCRIPT

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

50
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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.