OPEN-SOURCE SCRIPT
已更新 LBB + RSI Multi-Level + Compact Table

BB and RSI scalping script for daily or scalp zone with signals
發行說明
Вот готовое **финальное полное описание на английском** для публикации скрипта в TradingView, с учётом **всех последних улучшений (18 июля 2025)**, с акцентом на:* принцип работы,
* оптимизацию под М5–М15,
* поддержку всех таймфреймов,
* точное локальное время сигналов,
* последние изменения.
---
## 📄 **LBB + RSI Multi-Level + Compact Table**
This indicator is designed for precision scalping and intraday strategies using a combination of **logarithmic Bollinger Bands (LBB)**, **multi-level RSI triggers**, and **contextual confirmations** such as volume and pin bars.
---
### ⚙️ **Core Features & Logic**
This tool can be used across **all timeframes**, but is **specifically optimized for M5–M15**, where short-term volatility and overbought/oversold signals matter most.
On higher timeframes (H1, H4, D1), it may serve as a broader directional filter or to spot major exhaustion levels — though signals will appear less frequently.
---
### 📌 **Signal Conditions**
#### 🔽 LONG Signals:
Displayed when price is **below the lower logarithmic Bollinger Band** and RSI is:
* < 40 → orange triangle
* < 35 → yellow triangle
* < 30 → green triangle (strongest)
#### 🔼 SHORT Signals:
Displayed when price is **above the upper logarithmic Bollinger Band** and RSI is:
* > 60 → red triangle
* > 65 → purple triangle
* > 70 → blue triangle (strongest)
Each condition is shown on the chart as a visual triangle + internal flag for alerting.
---
### 📊 **Compact Signal Table**
A floating table (position customizable) displays the **most recent signal only**, with:
* 📉 or 📈 direction and entry price
* RSI value
* Volume (auto-formatted in K or M)
* Pin Bar confirmation (✔ or –)
* Local time of the signal candle
This allows fast decision-making without crowding the chart.
---
### 🔔 **Alerts Included**
The script includes **six built-in `alertcondition()` functions**, one per signal level, allowing custom alerts with:
* Sound
* Pop-up
* Push notification
* Webhook
Use them to build your own automation or real-time triggers.
---
## 🆕 **Latest Improvements (July 18, 2025)**
✅ **Local Timezone Setting**
Added a new parameter for manual `UTC offset` (from -12 to +14) — each trader can now adjust the table time display to match their local timezone.
✅ **True Signal Candle Time**
The script now shows the **actual time of the bar where the signal occurred**, not the chart refresh time. This ensures full alignment with signal appearance on chart.
✅ **Strict Type-Safe Code**
Refactored to avoid Pine Script NA assignment errors and ensure stable publication.
✅ **More Accurate Table Logic**
Signal time is shown in `dd-MM-yy HH:mm` format, updated only when a valid condition triggers.
---
## 💡 **Tip for Use**
This script pairs perfectly with:
* Price action zones (S/D, order blocks)
* Coinglass liquidation clusters
* Scalping setups with fixed RR or Fib levels
* Multi-timeframe confirmation (use with H1 trend + M5 entries)
---
If you'd like a version with optional signal filtering, auto TP/SL projection, or visual heatmaps — follow or message for extended versions.
Enjoy and trade mindfully.
July 2025 update: local time display, real signal bar time, new UTC offset setting
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。