PROTECTED SOURCE SCRIPT
Zaktualizowano Ultimate Trading System - DMA/EMA + Volume + Chart Patterns

OVERVIEW
Ultimate Trading System (UTS) is a comprehensive technical analysis tool that combines multiple analysis methods into one powerful
indicator. It detects market structure, identifies chart patterns, analyzes volume, and provides actionable trade recommendations.
FEATURES
17 MOVING AVERAGES
• 6 DMAs (Simple): 5, 10, 20, 50, 100, 200
• 11 EMAs (Exponential): 5, 8, 9, 12, 20, 21, 34, 50, 100, 180, 200
• Smart labels with price values
• Golden Cross / Death Cross detection
CHART PATTERN DETECTION
• Triangles: Ascending, Descending, Symmetrical
• Reversals: Head & Shoulders, Double Top, Double Bottom
• Continuation: Bull Flag, Bear Flag
• Confidence scores for each pattern
VOLUME ANALYSIS
• Relative volume vs 20-period average
• Volume trend detection (rising/falling)
• Bullish/Bearish divergence alerts
• Volume confirmation for signals
SMART ANALYSIS TABLE
• Real-time pattern detection
• Probability-based confidence scores
• Clear trade recommendations
• Volume status and divergence warnings
MARKET STRUCTURE DETECTION
• ACCUMULATION - Strong bullish setup
• DISTRIBUTION - Strong bearish setup
• BULL SETUP - Favorable long conditions
• BEAR SETUP - Favorable short conditions
• TRANSITION - Market changing direction
• CHOPPY - Avoid trading
HOW TO USE
1. Check the analysis table for current market bias
2. Look for pattern confirmations (Triangle, H&S, Double Top/Bottom)
3. Verify volume is confirming the move (not diverging)
4. Follow the ACTION recommendation
5. Use MA levels for support/resistance and stop placement
RECOMMENDATIONS
• 80%+ Confidence = Strong signal, consider entry
• 60-80% Confidence = Look for entries on pullbacks
• 40-60% Confidence = Wait for confirmation
• <40% Confidence = Avoid trading
SETTINGS
• Toggle individual MAs on/off
• Customize colors for each MA
• Adjust label offsets
• Set alert sensitivity (Conservative/Medium/Aggressive)
• Show/hide background colors and analysis table
ALERTS
Set alerts for:
• Strong Buy/Sell signals
• Chart pattern detection
• Volume divergences
• Golden/Death crosses
BEST USED ON
• Stocks, Forex, Crypto, Indices
• Timeframes: 5min to Daily
• Works on all markets
Ultimate Trading System (UTS) is a comprehensive technical analysis tool that combines multiple analysis methods into one powerful
indicator. It detects market structure, identifies chart patterns, analyzes volume, and provides actionable trade recommendations.
FEATURES
17 MOVING AVERAGES
• 6 DMAs (Simple): 5, 10, 20, 50, 100, 200
• 11 EMAs (Exponential): 5, 8, 9, 12, 20, 21, 34, 50, 100, 180, 200
• Smart labels with price values
• Golden Cross / Death Cross detection
CHART PATTERN DETECTION
• Triangles: Ascending, Descending, Symmetrical
• Reversals: Head & Shoulders, Double Top, Double Bottom
• Continuation: Bull Flag, Bear Flag
• Confidence scores for each pattern
VOLUME ANALYSIS
• Relative volume vs 20-period average
• Volume trend detection (rising/falling)
• Bullish/Bearish divergence alerts
• Volume confirmation for signals
SMART ANALYSIS TABLE
• Real-time pattern detection
• Probability-based confidence scores
• Clear trade recommendations
• Volume status and divergence warnings
MARKET STRUCTURE DETECTION
• ACCUMULATION - Strong bullish setup
• DISTRIBUTION - Strong bearish setup
• BULL SETUP - Favorable long conditions
• BEAR SETUP - Favorable short conditions
• TRANSITION - Market changing direction
• CHOPPY - Avoid trading
HOW TO USE
1. Check the analysis table for current market bias
2. Look for pattern confirmations (Triangle, H&S, Double Top/Bottom)
3. Verify volume is confirming the move (not diverging)
4. Follow the ACTION recommendation
5. Use MA levels for support/resistance and stop placement
RECOMMENDATIONS
• 80%+ Confidence = Strong signal, consider entry
• 60-80% Confidence = Look for entries on pullbacks
• 40-60% Confidence = Wait for confirmation
• <40% Confidence = Avoid trading
SETTINGS
• Toggle individual MAs on/off
• Customize colors for each MA
• Adjust label offsets
• Set alert sensitivity (Conservative/Medium/Aggressive)
• Show/hide background colors and analysis table
ALERTS
Set alerts for:
• Strong Buy/Sell signals
• Chart pattern detection
• Volume divergences
• Golden/Death crosses
BEST USED ON
• Stocks, Forex, Crypto, Indices
• Timeframes: 5min to Daily
• Works on all markets
Informacje o Wersji
```
Step 1: Add UTS to your chart
Step 2: Look at the TABLE (top-right corner)
Step 3: Follow the ACTION recommendation
Step 4: Use MA lines as support/resistance
```
Done! You're ready to trade.
---
## The Table - Your Trading Dashboard
```
+------------------+----------------------+
| UTS | 79% BEARISH | <-- Overall direction
+------------------+----------------------+
| PATTERN | DISTRIBUTION 87% | <-- Market phase
+------------------+----------------------+
| VOLUME | HIGH 1.8x | <-- Volume strength
+------------------+----------------------+
| ACTION | LOOK FOR SHORTS | <-- What to do
+------------------+----------------------+
```
---
## What Does Each Row Mean?
### Row 1: UTS (Overall Bias)
| You See | It Means | You Do |
|---------|----------|--------|
| 80%+ BULLISH | Strong buyers | Look for LONGS |
| 80%+ BEARISH | Strong sellers | Look for SHORTS |
| 50-60% either | Uncertain | WAIT |
---
### Row 2: PATTERN (Market Phase)
| Pattern | What's Happening | Your Action |
|---------|------------------|-------------|
| ACCUMULATION | Big players buying | BUY dips |
| DISTRIBUTION | Big players selling | SELL rallies |
| BULL SETUP | Uptrend forming | BUY pullbacks |
| BEAR SETUP | Downtrend forming | SELL bounces |
| CHOPPY | No clear direction | STAY OUT |
| TRANSITION | Trend changing | WAIT |
---
### Row 3: VOLUME
| You See | Meaning |
|---------|---------|
| HIGH 2.0x | Strong move, trust it |
| NORM 1.0x | Normal, okay to trade |
| LOW 0.5x | Weak move, be careful |
**Arrows:**
- Up arrow = Volume increasing (good)
- Down arrow = Volume decreasing (warning)
---
### Row 4: ACTION (What To Do)
| Action | Translation |
|--------|-------------|
| STRONG BUY SIGNAL | Buy NOW |
| STRONG SELL SIGNAL | Sell NOW |
| LOOK FOR LONG ENTRIES | Buy on dips |
| LOOK FOR SHORT ENTRIES | Sell on rallies |
| WAIT FOR CONFIRMATION | Don't trade yet |
| AVOID TRADING | Stay out |
---
## The Lines - Support & Resistance
### Quick Guide
```
GREEN lines = Short-term (fast)
BLUE lines = Medium-term (swing)
ORANGE lines = Important levels
PINK lines = Long-term (major)
BROWN lines = Very long-term (institutional)
```
### Most Important Lines
| Line | Why It Matters |
|------|----------------|
| EMA 21 | Where price often bounces in trends |
| EMA/DMA 50 | Key support/resistance level |
| EMA/DMA 200 | THE major trend line |
### How To Use Them
**In Uptrend (price above lines):**
```
Price pulls back to a line = BUY opportunity
```
**In Downtrend (price below lines):**
```
Price bounces to a line = SELL opportunity
```
---
## Pattern Alerts
When UTS detects a pattern, it shows in the table:
### Triangles
| Type | Direction | Action |
|------|-----------|--------|
| ASCENDING | Breakout UP | Buy above flat top |
| DESCENDING | Breakout DOWN | Sell below flat bottom |
| SYMMETRICAL | Either way | Wait for breakout |
### Reversals
| Type | Means | Action |
|------|-------|--------|
| HEAD & SHOULDERS | Top forming | Prepare to sell |
| DOUBLE TOP | Resistance holding | Sell signal |
| DOUBLE BOTTOM | Support holding | Buy signal |
### Continuations
| Type | Means | Action |
|------|-------|--------|
| BULL FLAG | Pause in uptrend | Buy breakout |
| BEAR FLAG | Pause in downtrend | Sell breakdown |
---
## Golden Cross & Death Cross
### On Your Chart
| Marker | Name | Meaning |
|--------|------|---------|
| Green triangle "GC" | Golden Cross | GO LONG |
| Red triangle "DC" | Death Cross | GO SHORT |
These are major signals - pay attention!
---
## Volume Warnings
### Divergence Alerts
| Alert | What's Happening | Action |
|-------|------------------|--------|
| BEARISH DIV | Price up, volume down | Don't buy / Tighten stops |
| BULLISH DIV | Price down, volume up | Look for buy setup |
---
## Simple Trading Rules
### Rule 1: Follow the Bias
```
Table says BULLISH --> Only look for BUYS
Table says BEARISH --> Only look for SELLS
Table says CHOPPY --> Don't trade
```
### Rule 2: Use Confidence
```
80%+ confidence --> Full position
60-80% --> Half position
Below 60% --> Skip or very small
```
### Rule 3: Check Volume
```
Volume confirms (arrow same direction) --> Good trade
Volume diverges (arrow opposite) --> Be careful
```
### Rule 4: Use MAs for Stops
```
Buy trade --> Stop below nearest MA
Sell trade --> Stop above nearest MA
```
---
## Which Settings For You?
### Day Trader (1-15 min charts)
Turn ON:
- EMA 9, 12, 21
- DMA 20
Turn OFF:
- EMA 100, 180, 200
- DMA 100, 200
### Swing Trader (1H-4H charts)
Turn ON:
- EMA 21, 50
- DMA 20, 50, 200
Turn OFF:
- EMA 5, 8, 9, 12
- DMA 5, 10
### Position Trader (Daily charts)
Turn ON:
- EMA 50, 200
- DMA 50, 100, 200
Turn OFF:
- All short-term MAs
---
## Quick Reference Card
### GO LONG When:
- UTS shows 60%+ BULLISH
- Pattern is ACCUMULATION or BULL SETUP
- Price above EMA 21 and EMA 50
- Volume confirming (not diverging)
- ACTION says look for longs
### GO SHORT When:
- UTS shows 60%+ BEARISH
- Pattern is DISTRIBUTION or BEAR SETUP
- Price below EMA 21 and EMA 50
- Volume confirming (not diverging)
- ACTION says look for shorts
### STAY OUT When:
- Pattern is CHOPPY or TRANSITION
- Confidence below 50%
- Volume divergence warning
- ACTION says avoid or wait
---
## Common Questions
**Q: Too many lines on my chart!**
A: Turn off the MAs you don't use in settings. Start with just 21, 50, 200.
**Q: Labels overlapping?**
A: Increase "Label Offset" in settings.
**Q: Which timeframe?**
A: Any! Higher timeframes = more reliable signals.
**Q: Should I trade every signal?**
A: No. Only 60%+ confidence. Higher = better.
---
## One-Page Cheat Sheet
```
+=====================================================+
| UTS CHEAT SHEET |
+=====================================================+
BULLISH SIGNALS BEARISH SIGNALS
---------------- -----------------
- ACCUMULATION - DISTRIBUTION
- BULL SETUP - BEAR SETUP
- Ascending Triangle - Descending Triangle
- Double Bottom - Double Top / H&S
- Bull Flag - Bear Flag
- Golden Cross - Death Cross
- Price > all MAs - Price < all MAs
+-----------------------------------------------------+
CONFIDENCE GUIDE
-----------------
80%+ = Strong signal, trade it
60-80 = Good signal, smaller size
40-60 = Weak, wait for more
<40 = Don't trade
+-----------------------------------------------------+
VOLUME CHECK
-------------
HIGH + same direction = TRUST the move
LOW or diverging = BE CAREFUL
+-----------------------------------------------------+
STOP LOSS GUIDE
----------------
Quick trade --> Stop beyond EMA 9 or 21
Swing trade --> Stop beyond EMA 50
Big trade --> Stop beyond EMA 200
+=====================================================+
Informacje o Wersji
█ OVERVIEWUTS (Ultimate Trading System) is a comprehensive trading indicator that combines multiple technical analysis tools into one powerful overlay. It provides real-time pattern detection, trend analysis, volume confirmation, and actionable trade recommendations through an intuitive dashboard.
█ FEATURES
1. MOVING AVERAGES
• DMAs (Simple): 5, 10, 20, 50, 100, 200
• EMAs (Exponential): 5, 8, 9, 12, 20, 21, 34, 50, 100, 180, 200
• Golden Cross / Death Cross detection
• EMA Golden Cross / Death Cross detection
• All MAs individually toggleable with custom colors
2. SUPPORT & RESISTANCE (NEW in v4)
• Pivot-based S/R level detection
• Horizontal lines extending to current bar
• Break detection with volume confirmation
• "B" labels for clean breaks
• "Bull Wick" / "Bear Wick" labels for potential fake breaks
• Real-time distance to S/R levels (% and price)
• Configurable lookback periods and volume threshold
3. CHART PATTERN DETECTION
• Triangles: Ascending, Descending, Symmetrical
• Head & Shoulders
• Double Top / Double Bottom
• Bull Flag / Bear Flag
• Confidence scoring for each pattern
4. VOLUME ANALYSIS
• Relative volume vs 20-period average
• Volume trend detection (rising/falling)
• Bullish/Bearish volume divergence warnings
• Volume confirmation for signals
5. ATR ANALYSIS
• Daily ATR regardless of chart timeframe
• ATR filled % (how much of daily range used)
• ATR remaining (room left to move)
• Color-coded status: Room to Run / Half Filled / Mostly Filled / Exhausted
• ATR target levels on chart
6. EMA EXTENSION WARNING
• Detects when price is over-extended from EMA
• Warns against chasing entries at tops/bottoms
• Configurable EMA (5, 9, 12, 21) and threshold
7. PATTERN ANALYSIS
• DMA/EMA stack detection
• Market phases: Accumulation, Distribution, Bull Setup, Bear Setup, Transition, Choppy
• Combined confidence scoring from all signals
█ THE DASHBOARD
The analysis table displays:
┌─────────────┬──────────────────────────────┐
│ UTS v4 │ XX.X% BULLISH/BEARISH │
├─────────────┼──────────────────────────────┤
│ PATTERN │ ACCUMULATION/DISTRIBUTION... │
├─────────────┼──────────────────────────────┤
│ S/R │ IN RANGE | R:X% | S:X% │
├─────────────┼──────────────────────────────┤
│ VOLUME │ HIGH/NORM X.Xx ↑↓→ │
├─────────────┼──────────────────────────────┤
│ Daily ATR │ XX% FILLED | XX% LEFT │
├─────────────┼──────────────────────────────┤
│ EXTENSION │ NEAR EMA - OK / EXTENDED │
├─────────────┼──────────────────────────────┤
│ ACTION │ STRONG BUY/SELL/WAIT... │
└─────────────┴──────────────────────────────┘
█ S/R STATUS MEANINGS
• IN RANGE: Price between support and resistance (shows distance to both)
• NEAR RES: Within 1% of resistance level
• NEAR SUP: Within 1% of support level
• RES BROKEN: Clean break above resistance with volume
• SUP BROKEN: Clean break below support with volume
• RES TEST / SUP TEST: Break with rejection wick (potential fake break)
█ HOW TO USE
1. Check the overall BIAS (Bullish/Bearish %)
2. Confirm with PATTERN (Accumulation = Buy dips, Distribution = Sell rallies)
3. Check S/R levels before entering
4. Verify VOLUME confirms the move
5. Check ATR for remaining range
6. Avoid entries when EXTENDED
7. Follow the ACTION recommendation
█ SETTINGS
All features can be individually enabled/disabled:
• Master Controls: System on/off, table position, background colors
• Support & Resistance: Lines, breaks, lookback periods, volume threshold
• Moving Averages: Each MA toggleable with custom colors
• Volume Analysis: Lookback period, high volume threshold
• ATR Analysis: Period, currency symbol, labels, targets
• EMA Extension: Warning toggle, EMA selection, threshold %
• Alerts: Sensitivity level (Conservative/Medium/Aggressive)
█ ALERTS
• Strong Buy/Sell signals (80%+ confidence)
• Support/Resistance breaks with volume
• Bull Wick / Bear Wick warnings
• Chart pattern detections
• Volume divergence warnings
█ BEST PRACTICES
• Higher timeframes = more reliable signals
• Wait for 60%+ confidence before trading
• Always check volume confirmation
• Don't chase when ATR is exhausted (>75% filled)
• Don't enter when price is extended from EMA
• Use S/R levels for stop loss placement
█ VERSION HISTORY
v4.0 - Support & Resistance with break detection
v3.0 - Daily ATR analysis, EMA extension warning
v2.0 - Additional EMAs, label fixes
v1.0 - Initial release
Informacje o Wersji
UTS (Ultimate Trading System) is a comprehensive technical analysis indicator that combines multiple analysis tools into a single, easy-to-read dashboard. Instead of cluttering your chart with 10+ indicators, UTS gives you everything in one clean table with actionable insights.█ FEATURES
► MOVING AVERAGES
• DMA (Simple): 5, 10, 20, 50, 100, 200
• EMA (Exponential): 5, 8, 9, 12, 20, 21, 34, 50, 100, 180, 200
• Golden Cross / Death Cross detection
• Bullish/Bearish stack analysis
► CHART PATTERN DETECTION
• Triangles: Ascending, Descending, Symmetrical
• Reversals: Head & Shoulders, Double Top, Double Bottom
• Continuation: Bull Flag, Bear Flag
• Confidence percentages for each pattern
► VOLUME ANALYSIS
• Relative volume vs 20-period average
• Volume trend detection (Rising/Falling/Flat)
• Bullish & Bearish divergence warnings
► RSI ANALYSIS (with Divergence Detection)
• Standard RSI with configurable period (default: 14)
• Overbought/Oversold detection
• Bullish Divergence: Price lower low + RSI higher low
• Bearish Divergence: Price higher high + RSI lower high
► DAILY PIVOT POINTS
• Classic floor trader pivots (P, R1, R2, R3, S1, S2, S3)
• Calculated from previous day's High/Low/Close
• Horizontal lines on chart with price labels
• Shows position relative to pivot + next target level
► SUPPORT & RESISTANCE
• Pivot-based S/R level detection
• Break detection with volume confirmation
• Wick analysis for potential fake breaks
• Status: BROKEN, TEST, NEAR, IN RANGE
► DAILY ATR ANALYSIS
• Shows ATR filled/remaining regardless of timeframe
• Color-coded: Green (<50%) → Blue (50-75%) → Orange (75-100%) → Red (100%+)
• Displays remaining ATR in currency amount
► EMA EXTENSION DETECTION
• Warns when price is over-extended from EMA
• Helps avoid buying tops / selling bottoms
• Configurable EMA and threshold
█ HOW TO USE
1. ADD TO CHART
Apply the indicator to any symbol/timeframe
2. READ THE TABLE
• Top row shows overall BIAS (Bullish/Bearish %)
• Each row shows status of different analysis modules
• Colors indicate signal strength and direction
3. FOLLOW THE COLORS
🟢 Green = Bullish / Buy signals
🔴 Red = Bearish / Sell signals
🟠 Orange = Warning / Caution
🔵 Blue = Informational
🟣 Purple = Chart pattern detected
⚫ Gray = Neutral / No signal
4. CHECK PIVOT LEVELS
• Price above Pivot (P) = Bullish bias for the day
• Price below Pivot (P) = Bearish bias for the day
• Use R1/R2/R3 as resistance targets
• Use S1/S2/S3 as support targets
5. WATCH FOR DIVERGENCES
• RSI Divergence = Potential reversal signal
• Volume Divergence = Trend weakness warning
█ TABLE DISPLAY
┌────────────┬────────────────────────────────────┐
│ UTS v6 │ 85.0% BULLISH │
├────────────┼────────────────────────────────────┤
│ PATTERN: │ ACCUMULATION 88.0% │
│ S/R: │ RES BROKEN | B @ 25700 │
│ RSI: │ 42 BULL DIV ↑ │
│ PIVOT: │ ABOVE P | Target: R1 (25850) │
│ VOLUME: │ HIGH 2.1x ↑ │
│ ATR: │ 45% FILLED | 55% LEFT ($12.50) │
│ EXT: │ NEAR EMA - OK (0.2% from EMA 5) │
│ ACTION: │ STRONG BUY SIGNAL VOL │
└────────────┴────────────────────────────────────┘
█ SETTINGS
► Moving Averages
Toggle individual DMAs and EMAs on/off
Customize colors for each
► RSI Settings
• RSI Period (default: 14)
• Overbought Level (default: 70)
• Oversold Level (default: 30)
• Divergence Lookback (default: 14)
► Pivot Settings
• Enable/Disable Pivot Points
• Show/Hide Pivot Lines
• Show/Hide Pivot Labels
• Customize colors (Pivot, Resistance, Support)
► S/R Settings
• Left/Right bars for pivot detection
• Volume threshold for clean breaks
• Line colors and width
► ATR Settings
• ATR Period (default: 14)
• Currency symbol ($, ₹, €, £, ¥)
► Extension Settings
• Extension EMA (5, 9, 12, 21)
• Extension Threshold % (0.1 - 3.0)
► Display Settings
• Table position
• Enable/Disable background colors
• Alert sensitivity
█ ALERTS
UTS can send alerts for:
• Strong Buy/Sell signals (80%+ confidence)
• RSI Bullish/Bearish Divergence
• S/R Breaks with volume confirmation
• Chart pattern detection
• Volume divergence warnings
█ BEST PRACTICES
✓ Use on higher timeframes (15m+) for better signals
✓ Combine pivot levels with S/R for confluence
✓ Wait for RSI divergence + price action confirmation
✓ Check ATR before entering - avoid exhausted moves
✓ Don't chase extended prices - wait for pullback to EMA
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
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.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
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.