PROTECTED SOURCE SCRIPT
Zaktualizowano

NKD:Phase Identifier

15
PHASE COLOR CODING:
Phase Color Name Meaning Action MA Conditions
0 🔵 BLUE WHIS Base Building Watch Price near MA50, sideways
1 🟢 GREEN S1 Accumulation Start Buy Above all MAs, bullish alignment starts
2 💚 LIME S2 Strong Uptrend Hold Significantly above all MAs, strong bullish alignment
3 🟠 ORANGE S3 Distribution Sell Still above MAs but momentum weakening
4 🔴 RED S4 Decline Avoid Below all MAs, bearish alignment

📈 MA SETTINGS USED:
Fast MA (21): Short-term trend

Medium MA (50): Medium-term trend

Slow MA (200): Long-term trend

🔧 PHASE DETECTION LOGIC:
Phase 0 (WHIS - Blue):

Price within 5% of MA50

Low volatility (<1% ATR)

Sideways movement (<5% momentum)

Range <15%

OBV accumulation pattern

Phase 1 (S1 - Green):

Price above ALL MAs (21, 50, 200)

MA21 > MA50 (bullish alignment starts)

Volume > 120% average

RSI 40-65

Positive momentum

OBV above MA & rising

Phase 2 (S2 - Lime):

Price >8% above MA21, >12% above MA50, >15% above MA200

Strong bullish alignment: MA21 > MA50 > MA200

Momentum >15%

Volume >150% average

RSI >60

Strong OBV momentum

Phase 3 (S3 - Orange):

Still above all MAs

RSI >70 (overbought)

Negative short-term momentum

Volume divergence (<80% average)

OBV bearish divergence or below MA

Phase 4 (S4 - Red):

Below ALL MAs

Bearish alignment: MA21 < MA50 < MA200

Momentum < -10%

High volume on down days

OBV below MA

📊 RSI RANGES FOR EACH PHASE:
Phase Color RSI Range Description
0 🔵 BLUE 0-40 Oversold/Accumulation zone
1 🟢 GREEN 40-60 Neutral/Breakout zone
2 💚 LIME 60-100 Overbought/Strong uptrend
3 🟠 ORANGE 60-40↓ Falling from overbought (Distribution)
4 🔴 RED 40-0↓ Falling deeply oversold (Decline)
🔧 HOW RSI FILTERS WORK:
Phase 0 (WHIS):

RSI must be between 0-40 (oversold/accumulation zone)

Combined with low volatility and sideways movement

Phase 1 (S1):

RSI must be between 40-60 (neutral zone)

Shows momentum building but not overbought

Good for early entry

Phase 2 (S2):

RSI must be >60 (overbought zone)

Shows strong buying momentum

Combined with price far above MAs

Phase 3 (S3):

RSI must be between 40-60 AND falling

Shows momentum weakening from overbought levels

RSI should be declining over last 5 periods

Phase 4 (S4):

RSI must be between 0-40 AND in decline

Shows deeply oversold with continued selling

🎯 KEY ENHANCEMENTS:
Phase-specific RSI ranges for better accuracy

RSI trend detection for Phase 3 & 4 (falling RSI)

RSI status in table shows current RSI phase

RSI info in labels for quick reference

Toggle option to turn RSI filter on/off

📈 PHASE DETECTION NOW USES:
MA Alignment (21, 50, 200)

OBV Confirmation (volume flow)

RSI Phase Filter (momentum zones)

Price Action (position relative to MAs)

Volume Analysis (confirmation signals
Informacje o Wersji
MACD STATUS

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.