OPEN-SOURCE SCRIPT

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

616
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. קרא עוד בתנאים וההגבלות.