OPEN-SOURCE SCRIPT

Ultra Scalper Pro | ZLSMA + Chandelier Exit

84
# Ultra Scalper Pro | ZLSMA + Chandelier Exit

## 📌 Overview

**Ultra Scalper Pro** is an all-in-one scalping indicator that combines the power of **Zero Lag LSMA (ZLSMA)** and **Chandelier Exit** with multiple confirmation filters. Designed for traders who want precise entry signals with clear TP/SL levels, this indicator works on any asset and any timeframe—though it shines brightest on lower timeframes (1m-15m) for scalping.

---

## 🎯 Key Features

### 🔹 Core Indicators
| Indicator | Purpose |
|-----------|---------|
| **ZLSMA (Zero Lag LSMA)** | Minimizes lag in trend detection using double-smoothed Least Squares Moving Average |
| **Chandelier Exit** | Dynamic ATR-based trailing stop that identifies trend reversals |

### 🔹 Confirmation Filters (All Toggleable)
- **RSI Filter** — Avoid overbought/oversold entries
- **Volume Filter** — Ensure sufficient market participation
- **EMA Crossover** — Confirm short-term trend direction
- **SuperTrend** — Additional trend confirmation
- **MACD** — Momentum validation
- **Stochastic** — Short-term momentum filter
- **Session Filter** — Trade only during preferred market sessions (Asia/Europe/US)

### 🔹 TP/SL System
Choose from **4 different modes**:
1. **ATR Based** — Dynamic levels based on market volatility
2. **Fixed %** — Set your own percentage targets
3. **R:R Ratio** — Risk-to-reward based targets
4. **Chandelier Based** — Use Chandelier Exit levels for SL

Each mode provides **3 Take Profit levels (TP1, TP2, TP3)** and a **Stop Loss** level, all visualized directly on your chart.

---

## 📊 How It Works

### Entry Logic
The indicator generates a **LONG signal** when:
- Price crosses above ZLSMA (or is above ZLSMA)
- Chandelier Exit flips to bullish (or is already bullish)
- All enabled confirmation filters align bullish

The indicator generates a **SHORT signal** when:
- Price crosses below ZLSMA (or is below ZLSMA)
- Chandelier Exit flips to bearish (or is already bearish)
- All enabled confirmation filters align bearish

### Signal Strength
- **Strong Signal** (Large Triangle) — Both ZLSMA crossover AND Chandelier Exit flip occur simultaneously with high volume
- **Normal Signal** (Small Triangle) — Standard entry conditions met

---

## ⚙️ Settings Guide

### General Settings
| Setting | Description |
|---------|-------------|
| Show Entry Signals | Display buy/sell triangles on chart |
| Show Labels | Display TP/SL price labels |
| Show Background Color | Highlight chart background based on position/trend |
| Enable Long/Short Signals | Toggle which direction to trade |

### ZLSMA Settings
| Setting | Default | Description |
|---------|---------|-------------|
| ZLSMA Length | 32 | Lookback period (lower = more responsive, higher = smoother) |
| ZLSMA Offset | 0 | Shift the line left/right |

### Chandelier Exit Settings
| Setting | Default | Description |
|---------|---------|-------------|
| ATR Period | 22 | Period for ATR calculation |
| ATR Multiplier | 3.0 | Distance from high/low (higher = wider stops) |

### Filter Settings
Each filter can be **enabled/disabled** independently. When disabled, that filter is ignored in the entry logic.

**Recommended for Scalping (5m):**
- ✅ ZLSMA: ON (Length: 32)
- ✅ Chandelier Exit: ON (ATR: 22, Mult: 3.0)
- ✅ RSI: ON (Period: 14)
- ✅ Volume: ON (Period: 20)
- ✅ EMA: ON (Fast: 9, Slow: 21)
- ⬜ SuperTrend: OFF (optional)
- ⬜ MACD: OFF (optional)
- ⬜ Stochastic: OFF (optional)

### TP/SL Settings
| Mode | Best For |
|------|----------|
| ATR Based | Volatile markets, adapts to conditions |
| Fixed % | Consistent risk management |
| R:R Ratio | Traders focused on risk-reward |
| Chandelier Based | Trend-following strategies |

---

## 📈 How to Use

### Step 1: Add to Chart
Add the indicator to your chart. It works on any symbol (Crypto, Forex, Stocks, Futures).

### Step 2: Configure Filters
Enable/disable filters based on your trading style:
- **Conservative**: Enable all filters for fewer but higher-quality signals
- **Aggressive**: Use only ZLSMA + Chandelier for more frequent signals

### Step 3: Set TP/SL Mode
Choose your preferred TP/SL calculation method based on your risk management style.

### Step 4: Watch for Signals
- 🟢 **Green Triangle (Below Bar)** = Long Entry
- 🔴 **Red Triangle (Above Bar)** = Short Entry
- Larger triangles = Stronger signals

### Step 5: Manage Your Trade
- Use the displayed TP1, TP2, TP3 levels for partial profit-taking
- Use the SL level for your stop loss
- Monitor the Info Table for real-time status

---

## 📋 Info Table Explained

The indicator displays a real-time information table showing:

| Field | Description |
|-------|-------------|
| ZLSMA | Current ZLSMA trend direction |
| Chandelier | Current Chandelier Exit direction |
| RSI | Current RSI value and status |
| Volume | Whether volume is above/below average |
| EMA Cross | Fast EMA vs Slow EMA relationship |
| SuperTrend | Current SuperTrend direction |
| MACD | MACD line vs Signal line |
| Stochastic | Stochastic K vs D relationship |
| ATR | Current ATR value |
| Position | Current tracked position (if any) |
| Entry | Entry price of current position |
| P&L | Unrealized profit/loss percentage |

---

## 🔔 Alerts

The indicator includes pre-configured alerts:

| Alert | Trigger |
|-------|---------|
| Long Signal | Any long entry signal |
| Short Signal | Any short entry signal |
| Strong Long | High-confidence long signal |
| Strong Short | High-confidence short signal |
| CE Buy Signal | Chandelier Exit flips bullish |
| CE Sell Signal | Chandelier Exit flips bearish |
| ZLSMA Bullish Cross | Price crosses above ZLSMA |
| ZLSMA Bearish Cross | Price crosses below ZLSMA |
| Any Entry Signal | Either long or short signal |
| Any Strong Signal | Either strong long or short |

**To set up alerts:**
1. Right-click on the chart
2. Select "Add Alert"
3. Choose "Ultra Scalper Pro" as the condition
4. Select your preferred alert type

---

## 💡 Tips for Best Results

### Timeframe Recommendations
| Timeframe | Style | Suggested Settings |
|-----------|-------|-------------------|
| 1m - 5m | Aggressive Scalping | ZLSMA: 20-32, CE ATR: 14-22 |
| 15m - 1H | Moderate Scalping | ZLSMA: 32-50, CE ATR: 22-30 |
| 4H - 1D | Swing Trading | ZLSMA: 50-100, CE ATR: 30-50 |

### Filter Combinations
- **High Win Rate**: Enable RSI + Volume + EMA filters
- **More Signals**: Disable RSI and Stochastic filters
- **Trend Following**: Enable SuperTrend + MACD filters

### Risk Management
- Always use the SL level provided
- Consider taking partial profits at TP1 and TP2
- Let remaining position run to TP3 or use trailing stop

---

## ⚠️ Disclaimer

This indicator is a tool to assist your trading decisions, not a guarantee of profits. Always:
- Use proper risk management
- Never risk more than you can afford to lose
- Backtest on your preferred asset before live trading
- Combine with your own analysis

Past performance does not guarantee future results. Trading involves substantial risk of loss.

---

## 📝 Changelog

**v1.0** (Initial Release)
- ZLSMA + Chandelier Exit core system
- 6 confirmation filters
- 4 TP/SL modes
- Real-time info table
- Session filter
- Comprehensive alert system

---

## 🙏 Credits

- ZLSMA concept based on Zero Lag Moving Average principles
- Chandelier Exit originally developed by Charles Le Beau

---

**If you find this indicator helpful, please leave a like and follow for future updates!**

*Happy Trading! 🚀*

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。